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_Output.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_Output.html')
| -rw-r--r-- | documentation/Fl_Value_Output.html | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/documentation/Fl_Value_Output.html b/documentation/Fl_Value_Output.html index ca284f3b3..0f03ce632 100644 --- a/documentation/Fl_Value_Output.html +++ b/documentation/Fl_Value_Output.html @@ -17,13 +17,13 @@ </PRE> </UL> <H3>Description</H3> - The <TT>Fl_Value_Output</TT> widget displays a floating point value. -If <TT>step()</TT> is not zero, the user can adjust the value by + The <TT>Fl_Value_Output</TT> widget displays a floating point value. +If <TT>step()</TT> is not zero, the user can adjust the value by dragging the mouse left and right. The left button moves one <TT>step()</TT> per pixel, the middle by <TT>10 * step()</TT>, and the right button by <TT> -100 * step()</TT>. +100 * step()</TT>. <P>This is much lighter-weight than <A href=Fl_Value_Input.html#Fl_Value_Input> -<TT>Fl_Value_Input</TT></A> because it contains no text editing code or +<TT>Fl_Value_Input</TT></A> because it contains no text editing code or character buffer. </P> <P ALIGN=CENTER><IMG src="Fl_Value_Output.gif" ALT="Fl_Value_Output widget."></P> <H3>Methods</H3> @@ -36,30 +36,30 @@ character buffer. </P> <LI><A href=#Fl_Value_Output.textsize>textsize</A></LI> </UL> <H4><A name=Fl_Value_Output.Fl_Value_Output> -Fl_Value_Output::Fl_Value_Output(int x, int y, int w, int h, const char +Fl_Value_Output::Fl_Value_Output(int x, int y, int w, int h, const char *label = 0)</A></H4> - Creates a new <TT>Fl_Value_Output</TT> widget using the given + Creates a new <TT>Fl_Value_Output</TT> widget using the given position, size, and label string. The default boxtype is <TT>FL_NO_BOX</TT> -. -<H4><A name=Fl_Value_Output.~Fl_Value_Output>virtual +. +<H4><A name=Fl_Value_Output.~Fl_Value_Output>virtual Fl_Value_Output::~Fl_Value_Output()</A></H4> - Destroys the valuator. + Destroys the valuator. <H4><A name=Fl_Value_Output.soft>uchar Fl_Value_Output::soft() const <BR> void Fl_Value_Output::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 -one. -<H4><A name=Fl_Value_Output.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 +one. +<H4><A name=Fl_Value_Output.textcolor>Fl_Color Fl_Value_Output::textcolor() const <BR> void Fl_Value_Output::textcolor(Fl_Color)</A></H4> - Gets or sets the color of the text in the value box. -<H4><A name=Fl_Value_Output.textfont>Fl_Font + Gets or sets the color of the text in the value box. +<H4><A name=Fl_Value_Output.textfont>Fl_Font Fl_Value_Output::textfont() const <BR> <BR>void Fl_Value_Output::textfont(Fl_Font)</A></H4> - Gets or sets the typeface of the text in the value box. -<H4><A name=Fl_Value_Output.textsize>uchar Fl_Value_Output::textsize() + Gets or sets the typeface of the text in the value box. +<H4><A name=Fl_Value_Output.textsize>uchar Fl_Value_Output::textsize() const <BR> void Fl_Value_Output::textsize(uchar)</A></H4> Gets or sets the size of the text in the value box. </BODY></HTML> |
