summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-03-26 13:57:41 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-03-26 13:57:41 +0100
commite3e195a09cdf86c5cb7a395a9740de1b0109fbfd (patch)
tree759021bc56af6bc37e87e47c0906b7cb0c20d6bd /FL
parenta67a9b0f589d41e281a5c6e5a860d761bf365217 (diff)
Use \deprecated Doxygen command where necessary
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Browser_.H12
-rw-r--r--FL/Fl_Text_Display.H12
2 files changed, 8 insertions, 16 deletions
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) {