|Fl_Roller (int X, int Y, int W, int H, const char *L=0)|
|Creates a new Fl_Roller widget using the given position, size, and label string. |
|Handles the specified event. |
|Draws the widget. |
The Fl_Roller widget is a "dolly" control commonly used to move 3D objects.
|const char *||L =
Creates a new Fl_Roller widget using the given position, size, and label string.
The default boxtype is FL_NO_BOX.
Inherited destructor destroys the valuator.
Draws the widget.
Never call this function directly. FLTK will schedule redrawing whenever needed. If your widget must be redrawn as soon as possible, call redraw() instead.
Override this function to draw your own widgets.
Handles the specified event.
You normally don't call this method directly, but instead let FLTK do it when the user interacts with the widget.
When implemented in a widget, this function must return 0 if the widget does not use the event or 1 otherwise.
Most of the time, you want to call the inherited handle() method in your overridden method so that you don't short-circuit events that you don't handle. In this last case you should return the callee retval.
|[in]||event||the kind of event received|
|0||if the event was not used or understood|
|1||if the event was used and can be deleted|
Reimplemented from Fl_Widget.