summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorCarl E. Thompson <devel-fltk@carlthompson.net>1999-03-08 21:44:32 +0000
committerCarl E. Thompson <devel-fltk@carlthompson.net>1999-03-08 21:44:32 +0000
commite42ff9a65ca9d5fa617c74e8b86bc212544d40ef (patch)
tree87dd16df7f77595eb56894927ffce610fccbf71e /documentation
parent1f2b1e5470ed526202b938e6d796f4cd232704c2 (diff)
This adds support for the Fl_Dial::angles() method. This seems to work
correctly, but it is likely that someone who remembers their high school math could make it _much_ more efficient (I just hacked away 'till it worked). -Carl git-svn-id: file:///fltk/svn/fltk/trunk@376 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation')
-rw-r--r--documentation/Fl_Dial.html7
1 files changed, 6 insertions, 1 deletions
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 <TT>FL_NORMAL_DIAL</TT>.
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.
+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()).
<H4><A name=Fl_Dial.type>type(uchar)</A></H4>
Sets the type of the dial to:
<UL>