diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-07-08 14:59:37 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-07-08 15:25:14 +0200 |
| commit | 3cf5a302fd2225b8d2622eb40e91262f4e7557c1 (patch) | |
| tree | 2bd4ad8207dc22a819518719a9e00a1ae492fd03 /FL/Fl_Browser.H | |
| parent | 2803f70f584f3a3d88d02b122f44b90d15cc22c1 (diff) | |
Replace 'FL_OVERRIDE' with 'override' in public headers
... except FL/fl_attr.h where FL_OVERRIDE is #define'd
Diffstat (limited to 'FL/Fl_Browser.H')
| -rw-r--r-- | FL/Fl_Browser.H | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/FL/Fl_Browser.H b/FL/Fl_Browser.H index f1e1009a9..182adb871 100644 --- a/FL/Fl_Browser.H +++ b/FL/Fl_Browser.H @@ -98,30 +98,30 @@ class FL_EXPORT Fl_Browser : public Fl_Browser_ { protected: // required routines for Fl_Browser_ subclass: - void* item_first() const FL_OVERRIDE; - void* item_next(void* item) const FL_OVERRIDE; - void* item_prev(void* item) const FL_OVERRIDE; - void* item_last()const FL_OVERRIDE; - int item_selected(void* item) const FL_OVERRIDE; - void item_select(void* item, int val) FL_OVERRIDE; - int item_height(void* item) const FL_OVERRIDE; - int item_width(void* item) const FL_OVERRIDE; - void item_draw(void* item, int X, int Y, int W, int H) const FL_OVERRIDE; - int full_height() const FL_OVERRIDE; - int incr_height() const FL_OVERRIDE; - const char *item_text(void *item) const FL_OVERRIDE; + void* item_first() const override; + void* item_next(void* item) const override; + void* item_prev(void* item) const override; + void* item_last()const override; + int item_selected(void* item) const override; + void item_select(void* item, int val) override; + int item_height(void* item) const override; + int item_width(void* item) const override; + void item_draw(void* item, int X, int Y, int W, int H) const override; + int full_height() const override; + int incr_height() const override; + const char *item_text(void *item) const override; /** Swap the items \p a and \p b. You must call redraw() to make any changes visible. \param[in] a,b the items to be swapped. \see swap(int,int), item_swap() */ - void item_swap(void *a, void *b) FL_OVERRIDE { swap((FL_BLINE*)a, (FL_BLINE*)b); } + void item_swap(void *a, void *b) override { swap((FL_BLINE*)a, (FL_BLINE*)b); } /** Return the item at specified \p line. \param[in] line The line of the item to return. (1 based) \returns The item, or NULL if line out of range. \see item_at(), find_line(), lineno() */ - void *item_at(int line) const FL_OVERRIDE { return (void*)find_line(line); } + void *item_at(int line) const override { return (void*)find_line(line); } FL_BLINE* find_line(int line) const ; FL_BLINE* _remove(int line) ; @@ -188,10 +188,10 @@ public: int selected(int line) const ; void show(int line); /** Shows the entire Fl_Browser widget -- opposite of hide(). */ - void show() FL_OVERRIDE { Fl_Widget::show(); } + void show() override { Fl_Widget::show(); } void hide(int line); /** Hides the entire Fl_Browser widget -- opposite of show(). */ - void hide() FL_OVERRIDE { Fl_Widget::hide(); } + void hide() override { Fl_Widget::hide(); } int visible(int line) const ; int value() const ; |
