From 497afccb07164373e0de6639e754d7d691f1926f Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Tue, 14 Oct 2008 22:12:25 +0000 Subject: Doxygen pdf man: First version added in documentation/fltk.pdf, old doc removed, images, dox files moved to a new src directory. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6431 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Value_Input.html | 133 -------------------------------------- 1 file changed, 133 deletions(-) delete mode 100644 documentation/Fl_Value_Input.html (limited to 'documentation/Fl_Value_Input.html') diff --git a/documentation/Fl_Value_Input.html b/documentation/Fl_Value_Input.html deleted file mode 100644 index aeecc89fe..000000000 --- a/documentation/Fl_Value_Input.html +++ /dev/null @@ -1,133 +0,0 @@ - - - Fl_Value_Input - - - - - -

class Fl_Value_Input

- -
- -

Class Hierarchy

- - - -

Include Files

- - - -

Description

- -

The Fl_Value_Input widget displays a numeric value. -The user can click in the text field and edit it - there is in -fact a hidden Fl_Input widget with -type(FL_FLOAT_INPUT) or type(FL_INT_INPUT) in -there - and when they hit return or tab the value updates to -what they typed and the callback is done. - -

If step() is non-zero and integral, then the range of numbers -is limited to integers instead of floating point numbers. As -well as displaying the value as an integer, typed input is also -limited to integer values, even if the hidden Fl_Input widget -is of type(FL_FLOAT_INPUT).

- -

If step() is non-zero, the user can also drag the -mouse across the object and thus slide the value. The left -button moves one step() per pixel, the middle by 10 -* step(), and the right button by 100 * step(). It -is therefore impossible to select text by dragging across it, -although clicking can still move the insertion cursor.

- -

If step() is non-zero and integral, then the range -of numbers are limited to integers instead of floating point -values. - -

- -

Methods

- - -

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

- -

Creates a new Fl_Value_Input widget using the given -position, size, and label string. The default boxtype is -FL_DOWN_BOX. - -

virtual -Fl_Value_Input::~Fl_Value_Input()

- -

Destroys the valuator. - -

Fl_Color -Fl_Value_Input::cursor_color() const
-void Fl_Value_Input::cursor_color(Fl_Color)

- -

Get or set the color of the text cursor. The text cursor is -black by default. - -

ulong Fl_Value_Input::shortcut() const -
void Fl_Value_Input::shortcut(ulong key)

- The first form returns the current shortcut key for the Input. -

The second form sets the shortcut key to key. Setting this -overrides the use of '&' in the label(). The value is a bitwise -OR of a key and a set of shift flags, for example FL_ALT | 'a' -, FL_ALT | (FL_F + 10), or just 'a'. A value -of 0 disables the shortcut.

-

The key can be any value returned by -Fl::event_key(), but will usually be an ASCII letter. Use -a lower-case letter unless you require the shift key to be held down.

-

The shift flags can be any set of values accepted by -Fl::event_state(). If the bit is on that shift key must -be pushed. Meta, Alt, Ctrl, and Shift must be off if they are not in -the shift flags (zero for the other bits indicates a "don't care" -setting).

- -

uchar Fl_Value_Input::soft() const
-void Fl_Value_Input::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. The default is true. - -

Fl_Color -Fl_Value_Input::textcolor() const
-void Fl_Value_Input::textcolor(Fl_Color)

- -

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

Fl_Font -Fl_Value_Input::textfont() const
-void Fl_Value_Input::textfont(Fl_Font)

- -

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

uchar -Fl_Value_Input::textsize() const
-void Fl_Value_Input::textsize(uchar)

- -

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