fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
  SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation)  

Fl.cxx File Reference

#include <config.h>
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Tooltip.H>
#include <FL/x.H>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include "flstring.h"
#include <sys/time.h>
#include <FL/fl_draw.H>
Include dependency graph for Fl.cxx:

Go to the source code of this file.

Classes

struct  Timeout
struct  Check
struct  handler_link

Defines

#define FOREVER   1e20

Functions

int fl_ready ()
int fl_wait (double time)
Fl_Windowfl_find (Window xid)
void fl_fix_focus ()
void fl_throw_focus (Fl_Widget *o)

Variables

Fl_Windowfl_xfocus
Fl_Windowfl_xmousewin
static Timeoutfree_timeout
static int free_timeout_count
static Checknext_check
static Checkfree_check
int(* fl_local_grab )(int)
Fl_Widgetfl_oldfocus
Fl_Widgetfl_selection_requestor
static int alloc_dwidgets = 0

Define Documentation

#define FOREVER   1e20

Definition at line 474 of file Fl.cxx.

Referenced by Fl::run(), and Fl::wait().


Function Documentation

int fl_ready ( )

Check if there is actually a message pending!

Definition at line 480 of file Fl_mac.cxx.

References fl_display, NULL, and select().

Referenced by Fl::ready().

int fl_wait ( double  time)

This public function handles all events. It wait a maximum of 'time' secods for an event. This version returns 1 if events other than the timeout timer were processed.

Todo:
there is no socket handling in this code whatsoever

Definition at line 793 of file Fl_mac.cxx.

References Fl::damage(), data, f, FALSE, Fl::first_window(), fl_display, FL_EXCEPT, fl_lock_function, FL_READ, fl_unlock_function, fl_wake_msg, FL_WRITE, Fl::flush(), func, Fl::get_awake_handler_(), i, Fl::idle, int, NULL, POLLERR, POLLIN, POLLOUT, and select().

Referenced by Fl::wait().


Variable Documentation

int alloc_dwidgets = 0

Definition at line 1559 of file Fl.cxx.

Referenced by Fl::delete_widget().

int(* fl_local_grab)(int)

Definition at line 765 of file Fl.cxx.

Referenced by Fl::handle().

Definition at line 775 of file Fl.cxx.

Referenced by Fl_Group::handle().

Definition at line 2583 of file Fl_mac.cxx.

Definition at line 96 of file Fl.cxx.

Referenced by fl_fix_focus().

Definition at line 97 of file Fl.cxx.

Referenced by fl_fix_focus().

Definition at line 295 of file Fl.cxx.

Referenced by Fl::add_check(), and Fl::remove_check().

Definition at line 196 of file Fl.cxx.

Referenced by Fl::remove_timeout(), and Fl::repeat_timeout().

Definition at line 197 of file Fl.cxx.

Referenced by Fl::repeat_timeout(), and Fl::wait().

Definition at line 295 of file Fl.cxx.