summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-03-25 02:39:25 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-03-25 02:39:25 +0000
commit6d65dcba88092bbff9979399a7d204bb0c88dd59 (patch)
tree1bd747547b0005c4c75d27e886ff3ab8565280c6 /documentation
parent60b5a637f3bf33f1c3abd1eecbf67008e40b62d9 (diff)
Change Fl_Spinner to use double values instead of ints.
Update FLUID dependencies. The # copies spinner was just a bit too small for 100 copies. Didn't set the menu divider if there were exactly 10 files in the history. Add documentation for Fl_Spinner. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4186 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation')
-rw-r--r--documentation/Fl_Spinner.html107
-rw-r--r--documentation/Makefile1
-rw-r--r--documentation/fltk.book1
-rw-r--r--documentation/widgets.html2
4 files changed, 111 insertions, 0 deletions
diff --git a/documentation/Fl_Spinner.html b/documentation/Fl_Spinner.html
new file mode 100644
index 000000000..ab6383c77
--- /dev/null
+++ b/documentation/Fl_Spinner.html
@@ -0,0 +1,107 @@
+<html>
+<body>
+
+<!-- NEW PAGE -->
+
+<h2><a name=Fl_Spinner>class Fl_Spinner</a></h2>
+
+<hr>
+
+<h3>Class Hierarchy</h3>
+
+<ul><pre>
+<a href=Fl_Group.html#Fl_Group>Fl_Group</a>
+ |
+ +----<b>Fl_Spinner</b>
+ |
+ +----<a href=Fl_Input.html#Fl_Input>Fl_Input</a>
+ <a href=Fl_Repeat_Button.html#Fl_Repeat_Button>Fl_Repeat_Button</a>
+</pre></ul>
+
+<h3>Include Files</h3>
+
+<ul><pre>
+#include &lt;FL/Fl_Spinner.H&gt;
+</pre></ul>
+
+<h3>Description</h3>
+
+<p>The <tt>Fl_Spinner</tt> widget is a combination of the input
+widget and repeat buttons. The user can either type into the
+input area or use the buttons to change the value.
+
+<h3>Methods</h3>
+
+<ul>
+
+ <li><a href='#Fl_Spinner.Fl_Spinner'>Fl_Spinner</a></li>
+ <li><a href='#Fl_Spinner.~Fl_Spinner'>~Fl_Spinner</a></li>
+ <li><a href='#Fl_Spinner.format'>format</a></li>
+ <li><a href='#Fl_Spinner.maximum'>maximum</a></li>
+ <li><a href='#Fl_Spinner.minimum'>minimum</a></li>
+ <li><a href='#Fl_Spinner.range'>range</a></li>
+ <li><a href='#Fl_Spinner.step'>step</a></li>
+ <li><a href='#Fl_Spinner.textcolor'>textcolor</a></li>
+ <li><a href='#Fl_Spinner.textfont'>textfont</a></li>
+ <li><a href='#Fl_Spinner.textsize'>textsize</a></li>
+ <li><a href='#Fl_Spinner.value'>value</a></li>
+
+</ul>
+
+<h4><a name="Fl_Spinner.Fl_Spinner">Fl_Spinner::Fl_Spinner(int x, int y, int w,
+int h, const char *label = 0)</a></h4>
+
+<p>Creates a new <TT>Fl_Spinner</TT> widget using the given position, size,
+and label string.
+
+<h4><a name="Fl_Spinner.~Fl_Spinner">virtual Fl_Spinner::~Fl_Spinner()</a></h4>
+
+<p>Destroys the widget and any value associated with it.
+
+<h4><a name='Fl_Spinner.format'>void format(const char *f)<br />
+const char *format()</a></h4>
+
+<p>Sets or returns the format string for the value.</p>
+
+<h4><a name='Fl_Spinner.maximum'>void maximum(double m)<br />
+double maximum() const</a></h4>
+
+<p>Sets or returns the maximum value of the widget.</p>
+
+<h4><a name='Fl_Spinner.minimum'>void minimum(double m)<br />
+double minimum() const</a></h4>
+
+<p>Sets or returns the minimum value of the widget.</p>
+
+<h4><a name='Fl_Spinner.range'>void range(double minval, double maxval)</a></h4>
+
+<p>Sets the minimum and maximum values for the widget.</p>
+
+<h4><a name='Fl_Spinner.step'>void step(double s)<br />
+double step() const</a></h4>
+
+<p>Sets or returns the amount to change the value when the user
+clicks a button.</p>
+
+<h4><a name='Fl_Spinner.textcolor'>void textcolor(Fl_Color c)<br />
+Fl_Color textcolor() const</a></h4>
+
+<p>Sets or returns the color of the text in the input field.</p>
+
+<h4><a name='Fl_Spinner.textfont'>void textfont(uchar f)<br />
+uchar textfont() const</a></h4>
+
+<p>Sets or returns the font of the text in the input field.</p>
+
+<h4><a name='Fl_Spinner.textsize'>void textsize(uchar s)<br />
+uchar textsize() const</a></h4>
+
+<p>Sets or returns the size of the text in the input field.</p>
+
+<h4><a name="Fl_Spinner.value">void Fl_Spinner::value(double v)<br />
+double Fl_Spinner::value() const</a></h4>
+
+<p>Sets or returns the current value of the widget.</p>
+
+</body>
+</html>
diff --git a/documentation/Makefile b/documentation/Makefile
index a8434510a..a648c6304 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -119,6 +119,7 @@ HTMLFILES = \
Fl_Shared_Image.html \
Fl_Single_Window.html \
Fl_Slider.html \
+ Fl_Spinner.html \
Fl_Tabs.html \
Fl_Text_Buffer.html \
Fl_Text_Display.html \
diff --git a/documentation/fltk.book b/documentation/fltk.book
index cc71dc505..436ffe97d 100644
--- a/documentation/fltk.book
+++ b/documentation/fltk.book
@@ -76,6 +76,7 @@ Fl_Secret_Input.html
Fl_Select_Browser.html
Fl_Single_Window.html
Fl_Slider.html
+Fl_Spinner.html
Fl_Tabs.html
Fl_Text_Buffer.html
Fl_Text_Display.html
diff --git a/documentation/widgets.html b/documentation/widgets.html
index d101330c6..393b8af65 100644
--- a/documentation/widgets.html
+++ b/documentation/widgets.html
@@ -79,6 +79,7 @@ description of the <TT>fl_</TT> functions, see
<A HREF="Fl_Shared_Image.html">Fl_Shared_Image</A><BR>
<A HREF="Fl_Single_Window.html">Fl_Single_Window</A><BR>
<A HREF="Fl_Slider.html">Fl_Slider</A><BR>
+<A HREF="Fl_Spinner.html">Fl_Spinner</A><BR>
<A HREF="Fl_Tabs.html">Fl_Tabs</A><BR>
<A HREF="Fl_Text_Buffer.html">Fl_Text_Buffer</A><BR>
<A HREF="Fl_Text_Display.html">Fl_Text_Display</A><BR>
@@ -165,6 +166,7 @@ description of the <TT>fl_</TT> functions, see
<LI><A HREF="Fl_Input_Choice.html">Fl_Input_Choice</A>
<LI><A HREF="Fl_Pack.html#Fl_Pack">Fl_Pack</A>
<LI><A HREF="Fl_Scroll.html#Fl_Scroll">Fl_Scroll</A>
+ <LI><A HREF="Fl_Slider.html#Fl_Slider">Fl_Slider</A>
<LI><A HREF="Fl_Tabs.html#Fl_Tabs">Fl_Tabs</A>
<LI><A HREF="Fl_Text_Display.html">Fl_Text_Display</A>
<UL>