diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-02-10 16:14:30 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-02-10 16:29:14 +0100 |
| commit | fc9d0a23af137aa23a906196c925ba92249e0d50 (patch) | |
| tree | cf6c2bb425c64b085fbf74e368098ebe2eaed090 | |
| parent | d7f21d95684754230b9f35b088ba3701b5621d7c (diff) | |
Fixes FL_DEPRECATED for Fl_Text_Buffer.h
| -rw-r--r-- | FL/Fl_Browser_.H | 4 | ||||
| -rw-r--r-- | FL/Fl_Input_.H | 6 | ||||
| -rw-r--r-- | FL/Fl_Text_Buffer.H | 4 | ||||
| -rw-r--r-- | FL/Fl_Tile.H | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/FL/Fl_Browser_.H b/FL/Fl_Browser_.H index d9db95241..b373fd966 100644 --- a/FL/Fl_Browser_.H +++ b/FL/Fl_Browser_.H @@ -245,11 +245,11 @@ public: \see position(), hposition() */ int vposition() const { return position_; } - FL_DEPRECATED("Please use vposition() instead.", + FL_DEPRECATED("Please use vposition() instead (since 1.4.0).", int position() const) { return vposition(); } void vposition(int pos); // scroll to here - FL_DEPRECATED("Please use vposition(pos) instead.", + FL_DEPRECATED("Please use vposition(pos) instead (since 1.4.0).", void position(int pos)) { return vposition(pos); } void position(int x, int y) { Fl_Group::position(x, y); } diff --git a/FL/Fl_Input_.H b/FL/Fl_Input_.H index 6c1a3eea4..e1748e3b0 100644 --- a/FL/Fl_Input_.H +++ b/FL/Fl_Input_.H @@ -285,7 +285,7 @@ public: \see insert_position(int, int) */ int insert_position() const { return position_; } - FL_DEPRECATED("Please use insert_position() instead.", + FL_DEPRECATED("Please use insert_position() instead (since 1.4.0).", int position() const ) { return insert_position(); } /** Gets the current selection mark. @@ -294,7 +294,7 @@ public: /* Sets the index for the cursor and mark. */ int insert_position(int p, int m); - FL_DEPRECATED("Please use insert_position(p, m) or Fl_Widget::position(x, y) instead.", + FL_DEPRECATED("Please use insert_position(p, m) or Fl_Widget::position(x, y) instead (since 1.4.0).", int position(int p, int m)) { return insert_position(p, m); } /** Sets the cursor position and mark. @@ -304,7 +304,7 @@ public: \see insert_position(int, int), insert_position(), mark(int) */ int insert_position(int p) { return insert_position(p, p); } - FL_DEPRECATED("Please use insert_position(p) instead.", + FL_DEPRECATED("Please use insert_position(p) instead (since 1.4.0).", int position(int p)) { return insert_position(p); } /** Sets the current selection mark. diff --git a/FL/Fl_Text_Buffer.H b/FL/Fl_Text_Buffer.H index 26eece34c..28fbb0f44 100644 --- a/FL/Fl_Text_Buffer.H +++ b/FL/Fl_Text_Buffer.H @@ -23,7 +23,7 @@ #define FL_TEXT_BUFFER_H #include <stdarg.h> /* va_list */ -#include <FL/fl_attr.h> +#include "fl_attr.h" /* Doxygen can't find <FL/fl_attr.h> */ #undef ASSERT_UTF8 @@ -166,7 +166,7 @@ public: // Returns true if selected() and the positions of this selection. int selected(int *startpos, int *endpos) const; - FL_DEPRECATED("Please use selected(startpos, endpos) instead.", + FL_DEPRECATED("Please use selected(startpos, endpos) instead (since 1.4.0).", int position(int *startpos, int *endpos) const) { return selected(startpos, endpos); } protected: diff --git a/FL/Fl_Tile.H b/FL/Fl_Tile.H index d6003c286..77c035ddd 100644 --- a/FL/Fl_Tile.H +++ b/FL/Fl_Tile.H @@ -30,7 +30,7 @@ public: Fl_Tile(int X, int Y, int W, int H, const char *L=0); void resize(int X, int Y, int W, int H) FL_OVERRIDE; void move_intersection(int oldx, int oldy, int newx, int newy); - FL_DEPRECATED("Please use move_intersection(p) instead.", + FL_DEPRECATED("Please use move_intersection(p) instead (since 1.4.0).", void position(int oldx, int oldy, int newx, int newy)) { return move_intersection(oldx, oldy, newx, newy); } void position(int x, int y) { Fl_Group::position(x, y); } }; |
