From fc03d304e787936fa6bdd619a79c1b3fef51484d Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 15 Nov 2023 15:48:22 +0100 Subject: FLUID: fixing test/valuator.fl and test/tree.fl Using Fl_Terminal widget instead of subclassing from Fl_Group --- test/tree.fl | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'test/tree.fl') diff --git a/test/tree.fl b/test/tree.fl index 573641535..d96e3141d 100644 --- a/test/tree.fl +++ b/test/tree.fl @@ -38,9 +38,6 @@ decl {\#include } {public global decl {\#include } {public global } -decl {\#include } {public global -} - decl {int G_cb_counter = 0;} { comment {// Global callback event counter} private local } @@ -780,7 +777,7 @@ Fl::visible_focus(onoff);} } } Fl_Group {} { - label {Test Operations} open selected + label {Test Operations} open tooltip {These controls only affect the defaults for new items that are created. These test the Fl_Tree_Prefs methods.} xywh {350 435 330 125} box GTK_DOWN_BOX color 47 labelsize 12 } { Fl_Group showitem_box { @@ -1746,10 +1743,8 @@ helpwin->show();} Fl_Box resizer_box { xywh {0 263 15 14} } - Fl_Box tty { - label label - xywh {16 571 1014 149} box DOWN_BOX color 0 - class Fl_Terminal + Fl_Terminal tty {selected + xywh {16 571 1014 149} box DOWN_BOX } } code {// Initialize Tree -- cgit v1.2.3