fltk::RepeatButton Class Reference

Inherits fltk::Button.

List of all members.

Public Member Functions

int handle (int)

Detailed Description

The callback is done when the user pushes the button down, and then after .5 second it is repeated 10 times a second, as long as the user is pointing at the button and holding it down.


Member Function Documentation

int RepeatButton::handle ( int  event) [virtual]

Wrapper around Button::handle(int event, const Rectangle& rectangle)

Parameters:
eventThe event that this button has received
Returns:
1 if the button has successfully handled the event,
0 otherwise

Reimplemented from fltk::Button.


The documentation for this class was generated from the following files: