summaryrefslogtreecommitdiff
path: root/FL/forms.H
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>1999-03-10 08:17:43 +0000
committerBill Spitzak <spitzak@gmail.com>1999-03-10 08:17:43 +0000
commitb6115887c86b6f3fa9591becb23a77af19fc2b95 (patch)
tree6d7d47819b1dfa77f7641d70fc7b7d27b37d0eae /FL/forms.H
parent170c31cada99660d123aa81993da0b995778be83 (diff)
Changes to dial so that counter-clockwise motion is supported if you
set angle2 < angle1. Deleted the unimplemented direction() control. Fixed the documentation, this new code allows any 2 values for the angles as long as abs(a-b)<=360. git-svn-id: file:///fltk/svn/fltk/trunk@399 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/forms.H')
-rw-r--r--FL/forms.H10
1 files changed, 5 insertions, 5 deletions
diff --git a/FL/forms.H b/FL/forms.H
index 635d75fb5..ac84dc421 100644
--- a/FL/forms.H
+++ b/FL/forms.H
@@ -1,5 +1,5 @@
//
-// "$Id: forms.H,v 1.6 1999/02/16 21:59:48 mike Exp $"
+// "$Id: forms.H,v 1.7 1999/03/10 08:17:40 bill Exp $"
//
// Forms emulation header file for the Fast Light Tool Kit (FLTK).
//
@@ -618,10 +618,10 @@ inline void fl_get_dial_bounds(Fl_Widget* o, float* a, float* b) {
inline void fl_set_dial_return(Fl_Widget* o, int i) {
((Fl_Dial*)o)->when((Fl_When)(i|FL_WHEN_RELEASE));}
inline void fl_set_dial_angles(Fl_Widget* o, int a, int b) {
- ((Fl_Dial*)o)->angles(a,b);}
+ ((Fl_Dial*)o)->angles(a, b);}
//inline void fl_set_dial_cross(Fl_Widget* o, int);
-inline void fl_set_dial_direction(Fl_Widget* o, uchar d) {
- ((Fl_Dial*)o)->direction(d);}
+// inline void fl_set_dial_direction(Fl_Widget* o, uchar d) {
+// ((Fl_Dial*)o)->direction(d);}
inline void fl_set_dial_step(Fl_Widget* o, double v) {
((Fl_Dial*)o)->step(v);}
@@ -841,5 +841,5 @@ inline void fl_draw() {Fl::flush();}
#endif /* define __FORMS_H__ */
//
-// End of "$Id: forms.H,v 1.6 1999/02/16 21:59:48 mike Exp $".
+// End of "$Id: forms.H,v 1.7 1999/03/10 08:17:40 bill Exp $".
//