NAME
CL_EventChain_ButtonRelease - Event sending interface for button releases.
DESCRIPTION
Event chains are used to route an event to an event listener. The toplevel event chain for button releases, located in CL_Input, is called by ClanLib, but you can also send false events by calling on_button_release() yourself. Note that CL_EventChain_ButtonRelease is inheriated from CL_EventButtonRelease, so you can add a chain to the toplevel chain. This is useful, if you want to do more advanced routing of events.
Inherited from public CL_EventChain<CL_Event_ButtonRelease*>, public CL_Event_ButtonRelease
CLASS MEMBERS
- virtual bool on_button_release(
-
CL_InputDevice *device, const CL_Key &key)
MEMBERS WITH DESCRIPTIONS
- virtual bool on_button_release(
-
CL_InputDevice *device, const CL_Key &key)
Parameters: device - Input device that triggered the event. key - Key/button that triggered the event.
Description:
Call this function to send a button release event down through the event chain.
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.