#include <Flu_Spinner.h>
Public Member Functions | |
| Flu_Spinner (int x, int y, int w, int h, const char *l=0) | |
| Normal FLTK widget constructor. | |
| ~Flu_Spinner () | |
| Default destructor. | |
| bool | enable_repeating () const |
| Get whether the spinner automatically changes when you hold the button down. | |
| void | enable_repeating (bool b) |
| Set whether the spinner automatically changes when you hold the button down. | |
| void | repeat (float initialDelay, float initialTime, float rapidDelay, float rapidTime) |
| Set the auto repeating parameters. | |
| int | input_when () const |
| Get when the input calls the callback. | |
| void | input_when (int w) |
| Set when the input calls the callback. | |
| bool | editable () const |
Get whether the input field can be edited. Default is true. | |
| void | editable (bool b) |
| Set whether the input field can be edited. | |
| int | handle (int) |
| Override of Fl_Widget::handle(). | |
| void | resize (int X, int Y, int W, int H) |
| Override of Fl_Widget::resize(). | |
| void | precision (int p) |
| Override of Fl_Valuator::precision(). | |
| void | value_damage () |
| Override of Fl_Valuator::value_damage(). | |
| void | hide () |
| Override of Fl_Valuator::hide(). | |
| void | show () |
| Override of Fl_Valuator::show(). | |
| Fl_Font | valuefont () const |
| Get the font for the widget value. | |
| void | valuefont (uchar s) |
| Set the font for the widget value. | |
| uchar | valuesize () const |
| Get the size of the font for the widget value. | |
| void | valuesize (uchar s) |
| Set the size of the font for the widget value. | |
| Fl_Color | valuecolor () const |
| Get the background color of the widget value. | |
| void | valuecolor (unsigned s) |
| Set the background color for the widget value. | |
| void | valuecolor (unsigned s, unsigned s1) |
| Set the background and selection color for the widget value. | |
| Fl_Color | valuefontcolor () const |
| Get the color of the font for the widget value. | |
| void | valuefontcolor (unsigned s) |
| Set the color of the font for the widget value. | |
Protected Member Functions | |
| void | increment_cb () |
| void | draw () |
Static Protected Member Functions | |
| void | input_cb (Fl_Widget *, void *v) |
| void | repeat_callback (void *) |
Protected Attributes | |
| NoTabInput | _input |
| uchar | _valbox [2] |
| bool | _up |
| bool | _pushed |
| bool | _editable |
| bool | _dragging |
| float | _totalTime |
| double | _lastValue |
| int | _lastY |
| float | _initialDelay |
| float | _repeatTime [2] |
| float | _rapidDelay |
| bool | _doRepeat |
Friends | |
| class | NoTabInput |
|
||||||||||||||||||||
|
Set the auto repeating parameters.
|
1.3.5