diff --git a/FL/Fl_Dial.H b/FL/Fl_Dial.H index c6a5d5622..438f2abb2 100644 --- a/FL/Fl_Dial.H +++ b/FL/Fl_Dial.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Dial.H,v 1.5 1999/02/16 21:59:37 mike Exp $" +// "$Id: Fl_Dial.H,v 1.6 1999/03/08 21:44:28 carl Exp $" // // Dial header file for the Fast Light Tool Kit (FLTK). // @@ -54,7 +54,7 @@ public: FL_EXPORT int handle(int); FL_EXPORT Fl_Dial(int x,int y,int w,int h, const char *l = 0); - void angles(short a, short b) {a1=a; a2=b;} + void angles(short a, short b); void direction(uchar d) {direction_ = d;} uchar direction() const {return direction_;} @@ -63,5 +63,5 @@ public: #endif // -// End of "$Id: Fl_Dial.H,v 1.5 1999/02/16 21:59:37 mike Exp $". +// End of "$Id: Fl_Dial.H,v 1.6 1999/03/08 21:44:28 carl Exp $". // diff --git a/documentation/Fl_Dial.html b/documentation/Fl_Dial.html index ff70b6db1..a320d7df5 100644 --- a/documentation/Fl_Dial.html +++ b/documentation/Fl_Dial.html @@ -34,7 +34,12 @@ and label string. The default type is FL_NORMAL_DIAL. Destroys the valuator.

void Fl_Dial::angles(short a, short b)

Sets the angles used for the minimum and maximum values. By default -these are 0 and 360, respectively. +these are 225 and 135, respectively. (0 degrees is straight up and the +angles progress clockwise.) The angles specified should be greater than +or equal to 0 and less than 360. The progress of the dial always starts at +the minimum angle and progresses clockwise to the maximum angle. Currently, +counter-clockwise progression is not supported (but user code can always +use 1/value()).

type(uchar)

Sets the type of the dial to: