summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-08-03 15:25:59 +0200
committerMatthias Melcher <github@matthiasm.com>2024-08-03 15:26:03 +0200
commit68f437b63e9e54769b1854097f2c95dd1cce12b7 (patch)
tree0cb42312ade154cc42fd3a5679f37231b086b195 /FL
parent0654da9d4ad47b20a2afe7cf14c971125f60e559 (diff)
Improve visibility of selected tab in Fl_Tabs (#1032).
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Tabs.H6
1 files changed, 4 insertions, 2 deletions
diff --git a/FL/Fl_Tabs.H b/FL/Fl_Tabs.H
index 6fd0dcbbb..8fe21daa5 100644
--- a/FL/Fl_Tabs.H
+++ b/FL/Fl_Tabs.H
@@ -260,7 +260,6 @@ protected:
int on_insert(Fl_Widget*, int) FL_OVERRIDE;
int on_move(int, int) FL_OVERRIDE;
void on_remove(int) FL_OVERRIDE;
- void resize(int, int, int, int) FL_OVERRIDE;
virtual void redraw_tabs();
virtual int tab_positions(); // allocate and calculate tab positions
@@ -276,7 +275,10 @@ protected:
public:
Fl_Tabs(int X, int Y, int W, int H, const char *L = 0);
- virtual ~Fl_Tabs();
+ ~Fl_Tabs() FL_OVERRIDE;
+
+ void resize(int, int, int, int) FL_OVERRIDE;
+ void show() FL_OVERRIDE;
int handle(int) FL_OVERRIDE;
Fl_Widget *value();