diff options
Diffstat (limited to 'documentation/Fl_Dial.html')
| -rw-r--r-- | documentation/Fl_Dial.html | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/documentation/Fl_Dial.html b/documentation/Fl_Dial.html index db0659f8e..395f4ce9e 100644 --- a/documentation/Fl_Dial.html +++ b/documentation/Fl_Dial.html @@ -23,6 +23,8 @@ single floating point value. <UL> <LI><A href=#Fl_Dial.Fl_Dial>Fl_Dial</A></LI> <LI><A href=#Fl_Dial.~Fl_Dial>~Fl_Dial</A></LI> +<LI><A href=#Fl_Dial.angles>angle1</A></LI> +<LI><A href=#Fl_Dial.angles>angle2</A></LI> <LI><A href=#Fl_Dial.angles>angles</A></LI> <LI><A href=#Fl_Dial.type>type</A></LI> </UL> @@ -32,14 +34,22 @@ h, const char *label = 0)</A></H4> and label string. The default type is <TT>FL_NORMAL_DIAL</TT>. <H4><A name=Fl_Dial.~Fl_Dial>virtual Fl_Dial::~Fl_Dial()</A></H4> Destroys the valuator. -<H4><A name=Fl_Dial.angles>void Fl_Dial::angles(short a, short b)</A></H4> - Sets the angles used for the minimum and maximum values. By default -these are 0 and 360, respectively. (0 degrees is straight down and the -angles progress clockwise.) The angles specified should be greater than -or equal to 0 and less than or equal to 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()). + +<H4> +<A name=Fl_Dial.angles> +short Fl_Dial::angle1() const;<br> +void Fl_Dial::angle1(short);<br> +short Fl_Dial::angle2() const;<br> +void Fl_Dial::angle2(short);<br> +void Fl_Dial::angles(short a, short b); +</A> +</H4> + +Sets the angles used for the minimum and maximum values. The default +values are 45 and 315 (0 degrees is straight down and the angles +progress clockwise). Normally angle1 is less than angle2, but if you +reverse them the dial moves counter-clockwise. + <H4><A name=Fl_Dial.type>type(uchar)</A></H4> Sets the type of the dial to: <UL> |
