diff options
| author | Fabien Costantini <fabien@onepost.net> | 2008-09-18 19:09:34 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2008-09-18 19:09:34 +0000 |
| commit | e8478458bf96bb62158a61b39416e515767d94a7 (patch) | |
| tree | 0ba17d2b9ae36dc475c63e1d0499204208a632f7 /FL/Fl_Text_Display.H | |
| parent | d75b9717c7c1d607a83d0b9625296a0a3bce25c3 (diff) | |
Doxygen documentation: Fixed most important warnings for the Fl_Widget, Fl_Window, Fl_Valuator classes that should be now a 100% documented. For the rest I drastically reduced the undocumented APIs, but many others (less important) remains.
It looks and feels pretty good now :-)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Text_Display.H')
| -rw-r--r-- | FL/Fl_Text_Display.H | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/FL/Fl_Text_Display.H b/FL/Fl_Text_Display.H index 08286e79d..87230084d 100644 --- a/FL/Fl_Text_Display.H +++ b/FL/Fl_Text_Display.H @@ -48,6 +48,7 @@ */ class FL_EXPORT Fl_Text_Display: public Fl_Group { public: + /** text display cursor shapes enumeration */ enum { NORMAL_CURSOR, CARET_CURSOR, DIM_CURSOR, BLOCK_CURSOR, HEAVY_CURSOR @@ -57,9 +58,10 @@ class FL_EXPORT Fl_Text_Display: public Fl_Group { CURSOR_POS, CHARACTER_POS }; - // drag types- they match Fl::event_clicks() so that single clicking to - // start a collection selects by character, double clicking selects by - // word and triple clicking selects by line. + /** drag types- they match Fl::event_clicks() so that single clicking to + start a collection selects by character, double clicking selects by + word and triple clicking selects by line. + */ enum { DRAG_CHAR = 0, DRAG_WORD = 1, DRAG_LINE = 2 }; @@ -67,13 +69,14 @@ class FL_EXPORT Fl_Text_Display: public Fl_Group { typedef void (*Unfinished_Style_Cb)(int, void *); - // style attributes - currently not implemented! + /** style attributes - currently not implemented! */ enum { ATTR_NONE = 0, ATTR_UNDERLINE = 1, ATTR_HIDDEN = 2 }; - + /** This structure associates the color,font,size of a string to draw + with an attribute mask matching attr */ struct Style_Table_Entry { Fl_Color color; Fl_Font font; |
