From e3e195a09cdf86c5cb7a395a9740de1b0109fbfd Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 26 Mar 2019 13:57:41 +0100 Subject: Use \deprecated Doxygen command where necessary --- FL/Fl_Browser_.H | 12 ++++-------- FL/Fl_Text_Display.H | 12 ++++-------- 2 files changed, 8 insertions(+), 16 deletions(-) (limited to 'FL') diff --git a/FL/Fl_Browser_.H b/FL/Fl_Browser_.H index 3d4f4a03f..308f47ce6 100644 --- a/FL/Fl_Browser_.H +++ b/FL/Fl_Browser_.H @@ -349,20 +349,16 @@ public: scrollbar_size_ = newSize; } /** - This method has been deprecated, existing for backwards compatibility only. - Use scrollbar_size() instead. - This method always returns the global value Fl::scrollbar_size(). - \returns Always returns the global value Fl::scrollbar_size(). + Returns the global value Fl::scrollbar_size(). + \deprecated Use scrollbar_size() instead. \todo This method should eventually be removed in 1.4+ */ int scrollbar_width() const { return(Fl::scrollbar_size()); } /** - This method has been deprecated, existing for backwards compatibility only. - Use scrollbar_size(int) instead. - This method sets the global Fl::scrollbar_size(), and forces this - instance of the widget to use it. + Sets the global Fl::scrollbar_size(), and forces this instance of the widget to use it. + \deprecated Use scrollbar_size() instead. \todo This method should eventually be removed in 1.4+ */ void scrollbar_width(int width) { diff --git a/FL/Fl_Text_Display.H b/FL/Fl_Text_Display.H index fe84076a6..62f8b8d68 100644 --- a/FL/Fl_Text_Display.H +++ b/FL/Fl_Text_Display.H @@ -224,10 +224,8 @@ public: void cursor_color(Fl_Color n) {mCursor_color = n;} /** - This method has been deprecated, existing for backwards compatibility only. - Use scrollbar_size() instead. - This method returns the global value Fl::scrollbar_size() unless - a specific scrollbar_width_ has been set. + Returns the global value Fl::scrollbar_size() unless a specific scrollbar_width_ has been set. + \deprecated Use scrollbar_size() instead. \todo This method should eventually be removed. */ int scrollbar_width() const { @@ -235,10 +233,8 @@ public: } /** - This method has been deprecated, existing for backwards compatibility only. - Use scrollbar_size(int) instead. - This method sets the global Fl::scrollbar_size(), and forces this - instance of the widget to use it. + Sets the global Fl::scrollbar_size(), and forces this instance of the widget to use it. + \deprecated Use scrollbar_size() instead. \todo This method should eventually be removed */ void scrollbar_width(int width) { -- cgit v1.2.3