diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-10-11 22:25:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-11 23:25:52 +0200 |
| commit | 33b601e57404fcef058a992ba7767f2c4f16a81b (patch) | |
| tree | 15747e586b76618734442db6054e219b1af4511b /src/Fl_Tabs.cxx | |
| parent | e2c2ba777362f9d231e8b7281c764132038b8d61 (diff) | |
Synchronize all arrow colors and inactive drawing (#791)
Diffstat (limited to 'src/Fl_Tabs.cxx')
| -rw-r--r-- | src/Fl_Tabs.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Fl_Tabs.cxx b/src/Fl_Tabs.cxx index f984f6e2e..ed6b45a5c 100644 --- a/src/Fl_Tabs.cxx +++ b/src/Fl_Tabs.cxx @@ -438,9 +438,10 @@ void Fl_Tabs::draw_overflow_menu_button() { X = x() + w() - H; Y = y() + h() - H - 1; } - fl_draw_box(box(), X, Y, H, H, color()); + draw_box(box(), X, Y, H, H, color()); Fl_Rect r(X, Y, H, H); - fl_draw_arrow(r, FL_ARROW_CHOICE, FL_ORIENT_NONE, fl_contrast(FL_BLACK, color())); + Fl_Color arrow_color = active_r() ? labelcolor() : fl_inactive(labelcolor()); + fl_draw_arrow(r, FL_ARROW_CHOICE, FL_ORIENT_NONE, arrow_color); } /** |
