diff options
| author | Fabien Costantini <fabien@onepost.net> | 2008-09-15 19:21:20 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2008-09-15 19:21:20 +0000 |
| commit | a99524ef2d24ce14334a171b9de29dfdf93928cd (patch) | |
| tree | 7ba7def7dff3d6169377f187779de7c6369bea1c /src/forms_free.cxx | |
| parent | 527351b70232f2195c3e105d0fe4daa2860611af (diff) | |
Doxygen documentation. Completed Fl class, added a todo related to recent Fl API to document. Matt?. More cosmetics have been done, replaced *all* <pre> </pre> tags by \code \endcode sequences.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6260 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/forms_free.cxx')
| -rw-r--r-- | src/forms_free.cxx | 18 |
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) : |
