diff options
| author | Greg Ercolano <erco@seriss.com> | 2024-06-26 15:40:41 -0700 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2024-06-26 15:40:41 -0700 |
| commit | 5c7ba51be39a73d9d61522d99c7d50a29e95277c (patch) | |
| tree | 7b7405ad7580c6bdb50e5f8003812d6b3ae250e0 /test/input_choice.cxx | |
| parent | fe4c94b4dc5d3ddcd396748816f37efb1913ce42 (diff) | |
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
Diffstat (limited to 'test/input_choice.cxx')
| -rw-r--r-- | test/input_choice.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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 <FL/Fl_Button.H> #include <FL/Fl_Double_Window.H> #include <FL/Fl_Input_Choice.H> +#include <FL/Fl_Scheme_Choice.H> #include <FL/Fl_Terminal.H> #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); |
