summaryrefslogtreecommitdiff
path: root/src/forms_free.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/forms_free.cxx')
-rw-r--r--src/forms_free.cxx18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/forms_free.cxx b/src/forms_free.cxx
index ec5346299..950fe4730 100644
--- a/src/forms_free.cxx
+++ b/src/forms_free.cxx
@@ -44,30 +44,26 @@ void Fl_Free::step(void *v) {
/**
The constructor takes both the type and the handle
function. The handle function should be declared as follows:
- <UL>
- <PRE>
+ \code
int
handle_function(Fl_Widget *w,
int event,
float event_x,
float event_y,
char key)
- </PRE>
- </UL>
+ \endcode
This function is called from the the handle() method in
response to most events, and is called by the draw() method.
The event argument contains the event type:
- <UL>
- <PRE>
+ \code
// old event names for compatibility:
#define FL_MOUSE FL_DRAG
- #define FL_DRAW 0
- #define FL_STEP 9
+ #define FL_DRAW 0
+ #define FL_STEP 9
#define FL_FREEMEM 12
#define FL_FREEZE FL_UNMAP
- #define FL_THAW FL_MAP
- </PRE>
- </UL>
+ #define FL_THAW FL_MAP
+ \endcode
*/
Fl_Free::Fl_Free(uchar t,int X, int Y, int W, int H,const char *l,
FL_HANDLEPTR hdl) :