summaryrefslogtreecommitdiff
path: root/src/Fl_Choice.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2022-11-24 19:00:00 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-11-25 00:00:48 +0100
commitb1ba37c5ba1df543baa87d328805af34da4bd2b1 (patch)
tree01d6ff63843cd9ed1f58fd2ab201f462bf11a385 /src/Fl_Choice.cxx
parent40f376a6f707e6c5ae69c0f73300575bd79e28e3 (diff)
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.
Diffstat (limited to 'src/Fl_Choice.cxx')
-rw-r--r--src/Fl_Choice.cxx11
1 files changed, 6 insertions, 5 deletions
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;