CL_EventChain_ButtonRelease3
Event sending interface for button releases.
Overview
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.