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.cxx | |
| parent | 83f6336f3b024f4a7c55a7499d036f03d946c1b9 (diff) | |
Fl_Terminal widget (#800)
Pull Fl_Terminal widget from Greg's fork
Diffstat (limited to 'test/input.cxx')
| -rw-r--r-- | test/input.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/input.cxx b/test/input.cxx index 70c47c852..685bd6a2f 100644 --- a/test/input.cxx +++ b/test/input.cxx @@ -26,12 +26,12 @@ #include <FL/Fl_Toggle_Button.H> #include <FL/Fl_Light_Button.H> #include <FL/Fl_Color_Chooser.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 cb(Fl_Widget *ob) { G_tty->printf("Callback for %s '%s'\n",ob->label(),((Fl_Input*)ob)->value()); @@ -91,7 +91,7 @@ int main(int argc, char **argv) { Fl::args(argc, argv); Fl::get_system_colors(); Fl_Window *window = new Fl_Window(400,420+TERMINAL_HEIGHT); - G_tty = new Fl_Simple_Terminal(0,420,window->w(),TERMINAL_HEIGHT); + G_tty = new Fl_Terminal(0,420,window->w(),TERMINAL_HEIGHT); int y = 10; input[0] = new Fl_Input(70,y,300,30,"Normal:"); y += 35; |
