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/menubar.cxx | |
| parent | 83f6336f3b024f4a7c55a7499d036f03d946c1b9 (diff) | |
Fl_Terminal widget (#800)
Pull Fl_Terminal widget from Greg's fork
Diffstat (limited to 'test/menubar.cxx')
| -rw-r--r-- | test/menubar.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/menubar.cxx b/test/menubar.cxx index 034e716e9..e46a60be0 100644 --- a/test/menubar.cxx +++ b/test/menubar.cxx @@ -31,14 +31,14 @@ #include <stdio.h> #include <stdlib.h> #include <FL/fl_draw.H> -#include <FL/Fl_Simple_Terminal.H> +#include <FL/Fl_Terminal.H> #include <FL/fl_ask.H> #include <FL/fl_string_functions.h> #define TERMINAL_HEIGHT 120 // Globals -Fl_Simple_Terminal *G_tty = 0; +Fl_Terminal *G_tty = 0; void window_cb(Fl_Widget* w, void*) { puts("window callback called"); // end of program, so stdout instead of G_tty @@ -235,7 +235,7 @@ int main(int argc, char **argv) { Fl_Scheme_Choice scheme_choice(300, 50, 100, 25, "&scheme"); - G_tty = new Fl_Simple_Terminal(0,400,WIDTH,TERMINAL_HEIGHT); + G_tty = new Fl_Terminal(0,400,WIDTH,TERMINAL_HEIGHT); window.callback(window_cb); Fl_Menu_Bar menubar(0,0,WIDTH,30); menubar.menu(menutable); |
