diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/boxtype.cxx | 5 | ||||
| -rw-r--r-- | test/valuators.fl | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/test/boxtype.cxx b/test/boxtype.cxx index 24d176eb1..a2a92d3a7 100644 --- a/test/boxtype.cxx +++ b/test/boxtype.cxx @@ -18,7 +18,7 @@ #include <stdio.h> #include <FL/Fl.H> #include <FL/Fl_Double_Window.H> -#include <FL/Fl_Box.H> +#include <FL/Fl_Button.H> #include <FL/Fl_Scheme_Choice.H> #include <FL/fl_draw.H> @@ -82,7 +82,8 @@ void bt(const char *name, Fl_Boxtype type, int square=0) { N++; x = x*W+10; y = y*H+10; - Fl_Box *b = new Fl_Box(type,x,y,square ? H-20 : W-20,H-20,name); + Fl_Button *b = new Fl_Button(x,y,square ? H-20 : W-20,H-20,name); + b->box(type); b->labelsize(11); if (inactive) { b->color(FL_GREEN); diff --git a/test/valuators.fl b/test/valuators.fl index 1db808304..488350705 100644 --- a/test/valuators.fl +++ b/test/valuators.fl @@ -37,7 +37,7 @@ Function {} {open Fl_Slider {} { label FL_HORIZONTAL user_data {"Fl_Slider FL_HORIZONTAL"} - callback callback + callback callback selected xywh {140 80 130 20} type Horizontal selection_color 1 labelsize 8 } Fl_Slider {} { @@ -125,7 +125,7 @@ Function {} {open Fl_Scrollbar {} { label {FL_VERTICAL (0) ->} user_data {"Fl_Scrollbar FL_VERTICAL"} - callback callback selected + callback callback tooltip {Vertical Scrollbar} xywh {405 30 20 90} labelsize 8 align 13 maximum 100 value 20 } Fl_Box {} { |
