NAME
CL_InputButton_Basic - CL_InputButton interface used to ease manual implementation of a input button.
CLASS MEMBERS
- CL_InputButton_Basic()
- CL_InputButton_Basic(
-
bool state)
- virtual ~CL_InputButton_Basic()
- virtual bool is_pressed()
- void set_state(
-
bool state)
MEMBERS WITH DESCRIPTIONS
- CL_InputButton_Basic()
-
Description:
Constructs an input button defaulting to not being pressed (false).
- CL_InputButton_Basic(
-
bool state)
Description:
Constructs an input button defaulting to state.
- virtual ~CL_InputButton_Basic()
-
Description:
- virtual bool is_pressed()
-
Description:
Returns true if the button is pressed.
Return value:
True if pressed, false otherwise.
- void set_state(
-
bool state)
Parameters: state - New button state. True = up, False = down.
Description:
Changes the current button state. If state is true, the button will beup, otherwise down.
SEE ALSO
All ClanLib API classes can be found in clanlib (3).
AUTHORS
Originally written by Magnus Norddahl <[email protected]> and Martin Starch <[email protected]>. ClanLib is now developed by the ClanLib Development team as an Open Source project.
The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at http://somewhere.in.the.world.org).
See clanlib (3) to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.