diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-29 19:24:00 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-29 19:24:00 +0000 |
| commit | 09daf20b81cdae78772f07c0af22a571d7cc73eb (patch) | |
| tree | 1641f788cafe20b505355b0479ba0d528297eb30 /documentation/Fl_Value_Input.html | |
| parent | b105ab8b7fb6281635076559aae96f2b3b12fc51 (diff) | |
Documentation updates galore (up to chapter 7, still need to do chapter
8 and 9, tweek the appendices, and recapture the screenshots...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl_Value_Input.html')
| -rw-r--r-- | documentation/Fl_Value_Input.html | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/documentation/Fl_Value_Input.html b/documentation/Fl_Value_Input.html index e4fad9208..70766872f 100644 --- a/documentation/Fl_Value_Input.html +++ b/documentation/Fl_Value_Input.html @@ -17,16 +17,16 @@ </PRE> </UL> <H3>Description</H3> - The <TT>Fl_Value_Input</TT> widget displays a floating point value. -The user can click in the text field and edit it (there is in fact a + The <TT>Fl_Value_Input</TT> widget displays a floating point value. +The user can click in the text field and edit it (there is in fact a hidden <A href=Fl_Input.html#Fl_Input><TT>Fl_Input</TT></A> widget with <TT> -type(FL_FLOAT_INPUT)</TT> in there), and when they hit return or tab -the value updates to what they typed and the callback is done. -<P>If <TT>step()</TT> is not zero, the user can also drag the mouse +type(FL_FLOAT_INPUT)</TT> in there), and when they hit return or tab +the value updates to what they typed and the callback is done. +<P>If <TT>step()</TT> is not zero, the user can also drag the mouse across the object and thus slide the value. The left button moves one <TT> -step()</TT> per pixel, the middle by <TT>10 * step()</TT>, and the left -button by <TT>100 * step()</TT>. It is then impossible to select text -by dragging across it, although clicking can still move the insertion +step()</TT> per pixel, the middle by <TT>10 * step()</TT>, and the left +button by <TT>100 * step()</TT>. It is then impossible to select text +by dragging across it, although clicking can still move the insertion cursor. </P> <P ALIGN=CENTER><IMG src="Fl_Value_Input.gif" ALT="Fl_Value_Input widget."></P> <H3>Methods</H3> @@ -40,33 +40,33 @@ cursor. </P> <LI><A href=#Fl_Value_Input.textsize>textsize</A></LI> </UL> <H4><A name=Fl_Value_Input.Fl_Value_Input> -Fl_Value_Input::Fl_Value_Input(int x, int y, int w, int h, const char +Fl_Value_Input::Fl_Value_Input(int x, int y, int w, int h, const char *label = 0)</A></H4> - Creates a new <TT>Fl_Value_Input</TT> widget using the given position, -size, and label string. The default boxtype is <TT>FL_DOWN_BOX</TT>. -<H4><A name=Fl_Value_Input.~Fl_Value_Input>virtual + Creates a new <TT>Fl_Value_Input</TT> widget using the given position, +size, and label string. The default boxtype is <TT>FL_DOWN_BOX</TT>. +<H4><A name=Fl_Value_Input.~Fl_Value_Input>virtual Fl_Value_Input::~Fl_Value_Input()</A></H4> - Destroys the valuator. -<H4><A name=Fl_Value_Input.cursor_color>Fl_Color + Destroys the valuator. +<H4><A name=Fl_Value_Input.cursor_color>Fl_Color Fl_Value_Input::cursor_color() const <BR> void Fl_Value_Input::cursor_color(Fl_Color)</A></H4> - Get or set the color of the cursor. This is black by default. + Get or set the color of the cursor. This is black by default. <H4><A name=Fl_Value_Input.soft>uchar Fl_Value_Input::soft() const <BR> void Fl_Value_Input::soft(uchar)</A></H4> - If "soft" is turned on, the user is allowed to drag the value outside -the range. If they drag the value to one of the ends, let go, then -grab again and continue to drag, they can get to any value. Default is -true. -<H4><A name=Fl_Value_Input.textcolor>Fl_Color + If "soft" is turned on, the user is allowed to drag the value outside +the range. If they drag the value to one of the ends, let go, then +grab again and continue to drag, they can get to any value. Default is +true. +<H4><A name=Fl_Value_Input.textcolor>Fl_Color Fl_Value_Input::textcolor() const <BR> void Fl_Value_Input::textcolor(Fl_Color)</A></H4> - Gets or sets the color of the text in the value box. -<H4><A name=Fl_Value_Input.textfont>Fl_Font Fl_Value_Input::textfont() + Gets or sets the color of the text in the value box. +<H4><A name=Fl_Value_Input.textfont>Fl_Font Fl_Value_Input::textfont() const <BR> <BR>void Fl_Value_Input::textfont(Fl_Font)</A></H4> - Gets or sets the typeface of the text in the value box. -<H4><A name=Fl_Value_Input.textsize>uchar Fl_Value_Input::textsize() + Gets or sets the typeface of the text in the value box. +<H4><A name=Fl_Value_Input.textsize>uchar Fl_Value_Input::textsize() const <BR> void Fl_Value_Input::textsize(uchar)</A></H4> Gets or sets the size of the text in the value box. </BODY></HTML> |
