diff options
| author | erco77 <erco@seriss.com> | 2023-11-14 07:01:52 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-14 07:01:52 -0800 |
| commit | 6842a43a3170c6f7a852186d5688baebdac16e2c (patch) | |
| tree | 04493580bf8fc798858720c7ab7ffecedeb9ee3e /test/input_choice.cxx | |
| parent | 83f6336f3b024f4a7c55a7499d036f03d946c1b9 (diff) | |
Fl_Terminal widget (#800)
Pull Fl_Terminal widget from Greg's fork
Diffstat (limited to 'test/input_choice.cxx')
| -rw-r--r-- | test/input_choice.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/input_choice.cxx b/test/input_choice.cxx index b9598d52c..853c79c3a 100644 --- a/test/input_choice.cxx +++ b/test/input_choice.cxx @@ -18,12 +18,12 @@ #include <FL/Fl_Button.H> #include <FL/Fl_Double_Window.H> #include <FL/Fl_Input_Choice.H> -#include <FL/Fl_Simple_Terminal.H> +#include <FL/Fl_Terminal.H> #define TERMINAL_HEIGHT 120 // Globals -Fl_Simple_Terminal *G_tty = 0; +Fl_Terminal *G_tty = 0; void buttcb(Fl_Widget*,void*data) { Fl_Input_Choice *in=(Fl_Input_Choice *)data; @@ -44,7 +44,7 @@ void input_choice_cb(Fl_Widget*,void*data) { int main(int argc, char **argv) { Fl_Double_Window win(300, 200+TERMINAL_HEIGHT); - G_tty = new Fl_Simple_Terminal(0,200,win.w(),TERMINAL_HEIGHT); + G_tty = new Fl_Terminal(0,200,win.w(),TERMINAL_HEIGHT); Fl_Input_Choice in(40,40,100,28,"Test"); in.callback(input_choice_cb, (void*)&in); |
