summaryrefslogtreecommitdiff
path: root/test/valuators.fl
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2006-06-19 08:34:19 +0000
committerMatthias Melcher <fltk@matthiasm.com>2006-06-19 08:34:19 +0000
commit11de032d6da7fa057b48f95beac7fea9bccdb455 (patch)
treeb6c949bada9a13797f7dfc5e01eaf47bddff06b7 /test/valuators.fl
parent0148f1cfd00199dfb5571dbf2705a895dc773e15 (diff)
If the value field for scrollbars was not zero, Fluid would generate code that accesses the hidden function Fl_Scrollbar::value(double), causing a compile time error. The fix circumevents the hidden function by calling Fl_Slider::value. It would be better to change the entire Fluid interface to reflect the Scrollbar interface.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/valuators.fl')
-rw-r--r--test/valuators.fl12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/valuators.fl b/test/valuators.fl
index 5254d05b7..c1f735c48 100644
--- a/test/valuators.fl
+++ b/test/valuators.fl
@@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
-version 1.0100
+version 1.0107
header_name {.h}
code_name {.cxx}
Function {callback(Fl_Widget* o, void*)} {open private return_type void
@@ -12,7 +12,7 @@ Function {} {open
} {
Fl_Window {} {
label {Valuator classes, showing values for type()} open
- xywh {635 288 565 505} color 43 selection_color 43
+ xywh {204 225 565 505} type Double color 43 selection_color 43
code0 {\#include <stdio.h>} visible
} {
Fl_Box {} {
@@ -165,7 +165,7 @@ Function {} {open
}
Fl_Value_Output {} {
label 0
- callback callback selected
+ callback callback
tooltip {Value Output} xywh {170 460 110 30} labelsize 8 maximum 100 step 0.1
}
Fl_Box {} {
@@ -175,12 +175,12 @@ Function {} {open
Fl_Scrollbar {} {
label 0
callback callback
- tooltip {Vertical Scrollbar} xywh {395 20 20 105} labelsize 8 align 1 maximum 100 slider_size 0.3
+ tooltip {Vertical Scrollbar} xywh {395 20 20 105} labelsize 8 align 1 maximum 100
}
Fl_Scrollbar {} {
label FL_HORIZONTAL
- callback callback
- tooltip {Horizontal Scrollbar} xywh {300 65 95 20} type Horizontal labelsize 8 maximum 100 slider_size 0.3
+ callback callback selected
+ tooltip {Horizontal Scrollbar} xywh {300 65 95 20} type Horizontal labelsize 8 maximum 100 value 20
}
}
}