summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl E. Thompson <devel-fltk@carlthompson.net>1999-03-10 00:13:52 +0000
committerCarl E. Thompson <devel-fltk@carlthompson.net>1999-03-10 00:13:52 +0000
commitf7e1ff774270fc053f208a11e1a841d60f1c891d (patch)
tree22dbac7b7784459b2704af01d63877eb91cb8f0b /test
parent72d1391dbb92a183286a4710f035bb79e00b3aea (diff)
Changes Fl_Dial to use XForms defaults for angles
-Carl git-svn-id: file:///fltk/svn/fltk/trunk@397 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-rw-r--r--test/valuators.fl6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/valuators.fl b/test/valuators.fl
index 582a7d6f4..70dc3ea13 100644
--- a/test/valuators.fl
+++ b/test/valuators.fl
@@ -133,20 +133,22 @@ fflush(stdout);}
callback {printf("%g \\r",o->value());
fflush(stdout);} selected
xywh {315 280 65 65} color 10 selection_color 1 labelsize 8
- code0 {o->angles(180,135);}
+ 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
- code0 {o->angles(0,360);}
+ code1 {o->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
+ code0 {o->angles(45,315);}
+ code1 {o->value(1.0);}
}
Fl_Box {} {
label Fl_Roller