![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
Input buffer interface.
Contained in: global
Derived from:
none
Derived by:
none
Group: Display (Input)
#include <ClanLib/display.h>
public function member index: |
||
Construction: |
||
CL_InputBuffer | (); | |
CL_InputBuffer | (CL_InputDevice* device); | |
CL_InputBuffer | (CL_Signal_v4<CL_Component* , CL_InputDevice* , CL_Key, bool& >& sig_key_down, CL_Signal_v3<CL_Component* , CL_InputDevice* , CL_Key>& sig_key_up); | |
virtual | ~CL_InputBuffer | (); |
Operations: |
||
CL_Key | peek_key | () const; |
CL_Key | get_key | (); |
int | keys_left | (); |
void | clear | (); |
private function member index: |
||
Implementation: |
||
void | on_button_press | (CL_InputDevice* device, const CL_Key& key); |
void | on_button_release | (CL_InputDevice* device, const CL_Key& key); |
void | on_key_down | (CL_Component* , CL_InputDevice* device, CL_Key key, bool& retval); |
void | on_key_up | (CL_Component* , CL_InputDevice* device, CL_Key key); |
Returns - Number of key values lefts in buffer.