diff options
| author | Fabien Costantini <fabien@onepost.net> | 2008-09-14 15:45:27 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2008-09-14 15:45:27 +0000 |
| commit | ce4d0fd5d86a1f725aba6093d9674b993d437d6c (patch) | |
| tree | 4839ae652332f4ec80de23a21fb0ddd702a20330 /FL/Fl_Group.H | |
| parent | 7f4e2867e84826d237e48f01f25de168cfdb986b (diff) | |
Doxygen Documentation WP4 Done. Has all documentation content but should be completed in increment 2. Registered for WP5.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6239 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Group.H')
| -rw-r--r-- | FL/Fl_Group.H | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/FL/Fl_Group.H b/FL/Fl_Group.H index 8e8626dce..8356d7a8e 100644 --- a/FL/Fl_Group.H +++ b/FL/Fl_Group.H @@ -167,8 +167,28 @@ public: // dummy class used to end child groups in constructors for complex // subclasses of Fl_Group: +/** + This is a dummy class that allows you to end a Fl_Group in a constructor list of a + class: + <UL> + <PRE>class MyClass { + Fl_Group group; + Fl_Button button_in_group; + Fl_End end; + Fl_Button button_outside_group; + MyClass(); + }; + MyClass::MyClass() : + group(10,10,100,100), + button_in_group(20,20,60,30), + end(), + button_outside_group(10,120,60,30) + {}</PRE> + </UL> +*/ class FL_EXPORT Fl_End { public: + /** All it does is calling Fl_Group::current()->end() */ Fl_End() {Fl_Group::current()->end();} }; |
