summaryrefslogtreecommitdiff
path: root/test/tree.fl
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-11-15 15:48:22 +0100
committerMatthias Melcher <github@matthiasm.com>2023-11-15 15:48:22 +0100
commitfc03d304e787936fa6bdd619a79c1b3fef51484d (patch)
treeed80120ead8a8d4b2a5396d4414821d62baa2bed /test/tree.fl
parent4cf758f9c4edf33acb62a320ac4a37ed8f4cf595 (diff)
FLUID: fixing test/valuator.fl and test/tree.fl
Using Fl_Terminal widget instead of subclassing from Fl_Group
Diffstat (limited to 'test/tree.fl')
-rw-r--r--test/tree.fl11
1 files changed, 3 insertions, 8 deletions
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 <FL/Fl_Color_Chooser.H>} {public global
decl {\#include <FL/Fl_Text_Display.H>} {public global
}
-decl {\#include <FL/Fl_Terminal.H>} {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