00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef Fl_Free_H
00023 #define Fl_Free_H
00024
00025 #ifndef Fl_Widget_H
00026 #include "Fl_Widget.H"
00027 #endif
00028
00029 #define FL_NORMAL_FREE 1
00030 #define FL_SLEEPING_FREE 2
00031 #define FL_INPUT_FREE 3
00032 #define FL_CONTINUOUS_FREE 4
00033 #define FL_ALL_FREE 5
00036 typedef int (*FL_HANDLEPTR)(Fl_Widget *, int , float, float, char);
00037
00057 class FL_EXPORT Fl_Free : public Fl_Widget {
00058 FL_HANDLEPTR hfunc;
00059 static void step(void *);
00060 protected:
00061 void draw();
00062 public:
00063 int handle(int e);
00064 Fl_Free(uchar t,int X,int Y,int W,int H,const char *L,FL_HANDLEPTR hdl);
00065 ~Fl_Free();
00066 };
00067
00068
00069 #define FL_MOUSE FL_DRAG
00070 #define FL_DRAW 100
00071 #define FL_STEP 101
00072 #define FL_FREEMEM 102
00073 #define FL_FREEZE 103
00074 #define FL_THAW 104
00076 #endif
00077
00078
00079
00080