diff options
| -rw-r--r-- | FL/Fl_Gl_Window.H | 6 | ||||
| -rw-r--r-- | FL/Fl_Group.H | 7 | ||||
| -rw-r--r-- | FL/Fl_Window.H | 8 |
3 files changed, 3 insertions, 18 deletions
diff --git a/FL/Fl_Gl_Window.H b/FL/Fl_Gl_Window.H index 6683546d4..53cdbd51c 100644 --- a/FL/Fl_Gl_Window.H +++ b/FL/Fl_Gl_Window.H @@ -206,11 +206,7 @@ public: */ void make_overlay_current(); - /** Returns an Fl_Gl_Window pointer if this widget is an Fl_Gl_Window. - \retval NULL if this widget is not derived from Fl_Gl_Window. - \note This method is provided to avoid dynamic_cast. - \todo More documentation ... - */ + // Note: Doxygen docs in Fl_Widget.H to avoid redundancy. virtual Fl_Gl_Window* as_gl_window() {return this;} ~Fl_Gl_Window(); diff --git a/FL/Fl_Group.H b/FL/Fl_Group.H index 29752b098..12cef6c44 100644 --- a/FL/Fl_Group.H +++ b/FL/Fl_Group.H @@ -177,12 +177,7 @@ public: */ unsigned int clip_children() { return (flags() & CLIP_CHILDREN) != 0; } - /** Returns an Fl_Group pointer if this widget is an Fl_Group. - - \retval NULL if this widget is not derived from Fl_Group. - \note This method is provided to avoid dynamic_cast. - \todo More documentation ... - */ + // Note: Doxygen docs in Fl_Widget.H to avoid redundancy. virtual Fl_Group* as_group() { return this; } // back compatibility functions: diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H index 23efed0ee..6905dce3c 100644 --- a/FL/Fl_Window.H +++ b/FL/Fl_Window.H @@ -426,15 +426,9 @@ public: */ void make_current(); - /** Returns an Fl_Window pointer if this widget is an Fl_Window. - - \retval NULL if this widget is not derived from Fl_Window. - \note This method is provided to avoid dynamic_cast. - \todo More documentation ... - */ + // Note: Doxygen docs in Fl_Widget.H to avoid redundancy. virtual Fl_Window* as_window() { return this; } - // for back-compatibility only: /** Changes the cursor for this window. This always calls the system, if you are changing the cursor a lot you may want to keep track of how |
