CL_Mouse3
Mouse interface in clanlib.
Overview
CL_Mouse extends the CL_InputDevice with functionality only useful to mice.
Inherited from public CL_InputDevice
Class members
- virtual
~CL_Mouse()
- static int
get_x()
- static int
get_y()
- static bool
left_pressed()
- static bool
middle_pressed()
- static bool
right_pressed()
Members with descriptions
- virtual
~CL_Mouse() -
Description:
- static int
get_x() -
Description:
Return value:
Returns the x position of the mouse in range from [ 0 - CL_Display::get_height() [.
- static int
get_y() -
Description:
Return value:
Returns the y position of the mouse in range from [ 0 - CL_Display::get_height() [.
- static bool
left_pressed() -
Description:
Return value:
Returns true if the left mouse button is pressed, else false is returned.
- static bool
middle_pressed() -
Description:
Return value:
Returns true if the middle mouse button is pressed, else false is returned.
- static bool
right_pressed() -
Description:
Return value:
Returns true if the right mouse button is pressed, else false is returned.