diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-11-15 15:59:23 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-11-15 15:59:34 +0100 |
| commit | d5a9be6b5e250a4af4d10cdc1ab1b90d1a7a7f84 (patch) | |
| tree | bb5d1aaeef61c6f7b3eded850dc85ffa317d83e4 /test | |
| parent | fe0298e9e612ca7875e9fa956eca2433ec1e1761 (diff) | |
Uses the correct Fl_Terminal type in terminal.fl as well
Diffstat (limited to 'test')
| -rw-r--r-- | test/terminal.fl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/terminal.fl b/test/terminal.fl index 789e5ba8a..ea07e877d 100644 --- a/test/terminal.fl +++ b/test/terminal.fl @@ -246,7 +246,7 @@ Fl::repeat_timeout(.10, ring_debug_timer_callback, (void*)this);} {} o->ring_debug_timer_callback2();} {} } Function {handle(int e) FL_OVERRIDE} { - comment {Event handler} selected return_type int + comment {Event handler} return_type int } { code {switch (e) { case FL_KEYBOARD: { @@ -1748,7 +1748,7 @@ if (parse_color(textbgcolor_default_input->value(), c) == -1 ) return; G_tty->textbgcolor_default(c); update_inputs(); //DEBUG ::printf("IVAL is %08lx\\n",ival); -G_tty->redraw();} selected +G_tty->redraw();} tooltip {The text background default color. Refer to the docs for the special value 0xffffffff. Can be decimal (e.g. 12) or hex (e.g. \#0c, \#0000000c, etc)} xywh {521 103 77 20} labelsize 9 when 28 textfont 4 textsize 9 @@ -1947,10 +1947,10 @@ win->redraw();} Hit ENTER to run command. The command's stdout will appear in terminal.} xywh {109 269 737 25} labelsize 12 when 12 textfont 4 } - Fl_Group tty {open - xywh {10 302 836 524} box DOWN_FRAME color 0 + Fl_Terminal tty {selected + xywh {10 302 836 524} class MyTerminal - } {} + } } code {// CTOR G_tty = tty; // global access |
