From 87dd7f0d23eba5c09e71ec6efeb34c6844f5e95f Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 29 Dec 1998 14:21:17 +0000 Subject: Revised documentation files. git-svn-id: file:///fltk/svn/fltk/trunk@177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Value_Output.html | 80 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 documentation/Fl_Value_Output.html (limited to 'documentation/Fl_Value_Output.html') diff --git a/documentation/Fl_Value_Output.html b/documentation/Fl_Value_Output.html new file mode 100644 index 000000000..254f7ded0 --- /dev/null +++ b/documentation/Fl_Value_Output.html @@ -0,0 +1,80 @@ + + + +
+ +

class Fl_Value_Output

+ +
+ +

Class Hierarchy

+ + + +

Include Files

+ + + +

Description

+ +The Fl_Value_Output widget displays a floating point value. If +step() is not zero, the user can adjust the value by dragging +the mouse left and right. The left button moves one step() +per pixel, the middle by 10 * step(), and the right button by +100 * step(). + +

This is much lighter-weight than Fl_Value_Input because it contains no +text editing code or character buffer. + +

Methods

+ + + +

Fl_Value_Output::Fl_Value_Output(int x, int y, int w, int h, const char *label = 0)

+ +Creates a new Fl_Value_Output widget using the given position, size, and +label string. The default boxtype is FL_NO_BOX. + +

virtual Fl_Value_Output::~Fl_Value_Output()

+ +Destroys the valuator. + +

uchar Fl_Value_Output::soft() const
+void Fl_Value_Output::soft(uchar)

+ +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. + +

Fl_Color Fl_Value_Output::textcolor() const
+void Fl_Value_Output::textcolor(Fl_Color)

+ +Gets or sets the color of the text in the value box. + +

Fl_Font Fl_Value_Output::textfont() const
+
void Fl_Value_Output::textfont(Fl_Font)

+ +Gets or sets the typeface of the text in the value box. + +

uchar Fl_Value_Output::textsize() const
+void Fl_Value_Output::textsize(uchar)

+ +Gets or sets the size of the text in the value box. + + + -- cgit v1.2.3