From 5c7ba51be39a73d9d61522d99c7d50a29e95277c Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Wed, 26 Jun 2024 15:40:41 -0700 Subject: Fix Fl_Input_Choice vs Fl_Choice drawing issues (#978) Differences in size of arrows and overall look varies with different schemes applied for issue raised by Philip Rose first on fltk.general: Subject: Discrepancy between Fl_Choice and Fl_Input_Choice --- test/input_choice.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/input_choice.cxx b/test/input_choice.cxx index 853c79c3a..c5bb1dcd6 100644 --- a/test/input_choice.cxx +++ b/test/input_choice.cxx @@ -18,6 +18,7 @@ #include #include #include +#include #include #define TERMINAL_HEIGHT 120 @@ -53,6 +54,9 @@ int main(int argc, char **argv) { in.add("three"); in.value(1); + // Interactive control of scheme + Fl_Scheme_Choice sch(100, 120, 140, 25, "Scheme"); + Fl_Button onoff(40,150,200,28,"Activate/Deactivate"); onoff.callback(buttcb, (void*)&in); -- cgit v1.2.3