summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>1999-03-13 20:07:21 +0000
committerBill Spitzak <spitzak@gmail.com>1999-03-13 20:07:21 +0000
commit2316172e5f79f129b7f5369b8c99f03e101aa7f9 (patch)
tree28cf29cb979565796255a9a29dd429b9dfc2d3bf /test
parentfcaa42485f4ffaebc1b881934b2407e1c1115955 (diff)
Fixed fluid bug that caused styles patch to crash when you delete menu item.
Changed a comment in Fl.cxx Changed valuators demo to remove code to set value() on some widgets and put the value into the gui box instead. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@421 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-rw-r--r--test/valuators.fl14
1 files changed, 6 insertions, 8 deletions
diff --git a/test/valuators.fl b/test/valuators.fl
index bd75c772b..4d955c337 100644
--- a/test/valuators.fl
+++ b/test/valuators.fl
@@ -9,7 +9,7 @@ Function {} {open
} {
Fl_Window {} {
label {Valuator classes, showing values for type()} open
- xywh {414 83 567 506} color 43 selection_color 43
+ xywh {370 393 567 506} color 43 selection_color 43
code0 {\#include <stdio.h>} visible
} {
Fl_Box {} {
@@ -131,24 +131,22 @@ fflush(stdout);}
Fl_Dial {} {
label 0
callback {printf("%g \\r",o->value());
-fflush(stdout);} selected
- xywh {315 280 65 65} color 10 selection_color 1 labelsize 8
+fflush(stdout);}
+ xywh {315 280 65 65} color 10 selection_color 1 labelsize 8 value 0.5
code0 {o->angles(0,315);}
}
Fl_Dial {} {
label FL_LINE_DIAL
callback {printf("%g \\r",o->value());
fflush(stdout);}
- xywh {395 280 65 65} type Line color 10 selection_color 1 labelsize 8
- code1 {o->value(0.5);}
+ xywh {395 280 65 65} type Line color 10 selection_color 1 labelsize 8 value 0.5
}
Fl_Dial {} {
label FL_FILL_DIAL
callback {printf("%g \\r",o->value());
-fflush(stdout);}
- xywh {475 280 65 65} type Fill color 10 selection_color 1 labelsize 8
+fflush(stdout);} selected
+ xywh {475 280 65 65} type Fill color 10 selection_color 1 labelsize 8 value 1
code0 {o->angles(0,360);}
- code1 {o->value(1.0);}
}
Fl_Box {} {
label Fl_Roller