diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-02-10 16:27:42 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-02-10 16:29:14 +0100 |
| commit | 4440e356934dad02e6f632e7bf68c916b4f2f1dc (patch) | |
| tree | fa4735d0880b5c064e32dc337c058def91c845b9 | |
| parent | fc9d0a23af137aa23a906196c925ba92249e0d50 (diff) | |
Deprecated warnings wording adapted
| -rw-r--r-- | FL/Fl_Browser_.H | 4 | ||||
| -rw-r--r-- | FL/Fl_Input_.H | 6 | ||||
| -rw-r--r-- | FL/Fl_Text_Buffer.H | 2 | ||||
| -rw-r--r-- | FL/Fl_Tile.H | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/FL/Fl_Browser_.H b/FL/Fl_Browser_.H index b373fd966..e75973222 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 (since 1.4.0).", + FL_DEPRECATED("in 1.4.0 - use vposition() instead", int position() const) { return vposition(); } void vposition(int pos); // scroll to here - FL_DEPRECATED("Please use vposition(pos) instead (since 1.4.0).", + FL_DEPRECATED("in 1.4.0 - use vposition(pos) instead", 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 e1748e3b0..d89a341bc 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 (since 1.4.0).", + FL_DEPRECATED("in 1.4.0 - use insert_position() instead", 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 (since 1.4.0).", + FL_DEPRECATED("in 1.4.0 - use insert_position(p, m) or Fl_Widget::position(x, y) instead", 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 (since 1.4.0).", + FL_DEPRECATED("in 1.4.0 - use insert_position(p) instead", 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 28fbb0f44..e3e131ef1 100644 --- a/FL/Fl_Text_Buffer.H +++ b/FL/Fl_Text_Buffer.H @@ -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 (since 1.4.0).", + FL_DEPRECATED("in 1.4.0 - use selected(startpos, endpos) instead", 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 77c035ddd..af104a4eb 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 (since 1.4.0).", + FL_DEPRECATED("in 1.4.0 - use move_intersection(p) instead", 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); } }; |
