From b1ba37c5ba1df543baa87d328805af34da4bd2b1 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 24 Nov 2022 19:00:00 +0100 Subject: Add "Oxy" scheme (STR 2675, STR 3477) This commit is similar to the patch given in STR 3477, oxy_v5.diff: https://www.fltk.org/strfiles/3477/oxy_v5.diff ... with modifications, and updated to current FLTK code. --- src/Fl_Choice.cxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/Fl_Choice.cxx') diff --git a/src/Fl_Choice.cxx b/src/Fl_Choice.cxx index c23010c07..8646368d3 100644 --- a/src/Fl_Choice.cxx +++ b/src/Fl_Choice.cxx @@ -65,15 +65,16 @@ void Fl_Choice::draw() { // Arrow box or horizontal divider line, depending on the current scheme - // Scheme: Box or divider line + // Scheme: Box or divider line // ---------------------------------------- - // Default (None): Arrow box (FL_UP_BOX) - // gtk+, gleam: Divider line - // else: Nothing (!) + // Default (None): Arrow box (FL_UP_BOX) + // gtk+, gleam, oxy: Divider line + // else: Nothing (!) if (Fl::scheme()) { if (Fl::is_scheme("gtk+") || - Fl::is_scheme("gleam")) { + Fl::is_scheme("gleam") || + Fl::is_scheme("oxy")) { // draw the divider int x1 = x() + w() - 20 - dx; int y1 = y() + h() / 2; -- cgit v1.2.3