diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2014-08-08 14:42:07 +0300 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2014-08-08 14:42:07 +0300 |
| commit | a6163888f3c56123b1db313743c6147ba498732c (patch) | |
| tree | ff7d15d991d1d09ba6cbc0cec80924f57445bfdd /third_party/windows/fltk-1.1.10/documentation/Fl_Free.html | |
| parent | c3e4c9a25c2910d2d66d52215b3406b13d5b23d5 (diff) | |
Add third_party libs
Diffstat (limited to 'third_party/windows/fltk-1.1.10/documentation/Fl_Free.html')
| -rw-r--r-- | third_party/windows/fltk-1.1.10/documentation/Fl_Free.html | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/third_party/windows/fltk-1.1.10/documentation/Fl_Free.html b/third_party/windows/fltk-1.1.10/documentation/Fl_Free.html new file mode 100644 index 0000000..11585a3 --- /dev/null +++ b/third_party/windows/fltk-1.1.10/documentation/Fl_Free.html @@ -0,0 +1,78 @@ +<HTML>
+<HEAD>
+ <TITLE>Fl_Free</TITLE>
+</HEAD>
+<BODY>
+<!-- NEW PAGE -->
+<H2><A name=Fl_Free>class Fl_Free</A></H2>
+<HR>
+<H3>Class Hierarchy</H3>
+<UL>
+<PRE>
+<A href=Fl_Widget.html#Fl_Widget>Fl_Widget</A>
+ |
+ +----<B>Fl_Free</B>
+</PRE>
+</UL>
+<H3>Include Files</H3>
+<UL>
+<PRE>
+#include <FL/Fl_Free.H>
+</PRE>
+</UL>
+<H3>Description</H3>
+ Emulation of the Forms "free" widget. This emulation allows the free
+demo to run, and appears to be useful for porting programs written in
+Forms which use the free widget or make subclasses of the Forms
+widgets.
+<P>There are five types of free, which determine when the handle
+function is called: </P>
+<UL>
+<PRE>
+#define FL_NORMAL_FREE 1
+#define FL_SLEEPING_FREE 2
+#define FL_INPUT_FREE 3
+#define FL_CONTINUOUS_FREE 4
+#define FL_ALL_FREE 5
+</PRE>
+</UL>
+<P>An FL_INPUT_FREE accepts FL_FOCUS events. A FL_CONTINUOUS_FREE sets
+a timeout callback 100 times a second and provides a FL_STEP event,
+this has obvious detrimental effects on machine performance.
+FL_ALL_FREE does both. FL_SLEEPING_FREE are deactivated. </P>
+<H3>Methods</H3>
+<UL>
+<LI><A href=#Fl_Free.Fl_Free>Fl_Free</A></LI>
+<LI><A href=#Fl_Free.~Fl_Free>~Fl_Free</A></LI>
+</UL>
+<H4><A name=Fl_Free.Fl_Free>Fl_Free(uchar type, int, int, int, int,
+const char*l, FL_HANDLEPTR hdl)</A></H4>
+ The constructor takes both the <TT>type</TT> and the <TT>handle</TT>
+ function. The handle function should be declared as follows:
+<UL>
+<PRE>
+int
+handle_function(Fl_Widget *w,
+ int event,
+ float event_x,
+ float event_y,
+ char key)
+</PRE>
+</UL>
+ This function is called from the the <TT>handle()</TT> method in
+response to most events, and is called by the <TT>draw()</TT> method.
+The <TT>event</TT> argument contains the event type:
+<UL>
+<PRE>
+// old event names for compatability:
+#define FL_MOUSE FL_DRAG
+#define FL_DRAW 0
+#define FL_STEP 9
+#define FL_FREEMEM 12
+#define FL_FREEZE FL_UNMAP
+#define FL_THAW FL_MAP
+</PRE>
+</UL>
+<H4><A name=Fl_Free.~Fl_Free>virtual Fl_Free::~Fl_Free()</A></H4>
+ The destructor will call the handle function with the event <TT>
+FL_FREE_MEM</TT>. </BODY></HTML>
|
