Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CL_Mouse Class Reference

clanDisplay="Input". More...

#include <mouse.h>

Inheritance diagram for CL_Mouse:

Inheritance graph
[legend]
Collaboration diagram for CL_Mouse:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual ~CL_Mouse ()

Static Public Methods

int get_x ()
int get_y ()
 retval: Returns the x position of the mouse in range fromretval: [ 0 - CL_Display::get_height() ].

bool left_pressed ()
 retval: Returns the y position of the mouse in range fromretval: [ 0 - CL_Display::get_height() ].

bool middle_pressed ()
 retval: Returns true if the left mouse button is pressed,retval: else false is returned.

bool right_pressed ()
 retval: Returns true if the middle mouse button is pressed,retval: else false is returned.


Detailed Description

clanDisplay="Input".

Definition at line 22 of file mouse.h.


Constructor & Destructor Documentation

CL_Mouse::~CL_Mouse ( ) [inline, virtual]
 

Definition at line 28 of file mouse.h.


Member Function Documentation

int CL_Mouse::get_x ( ) [static]
 

Referenced by toluaI_CL_Mouse_get_x0().

int CL_Mouse::get_y ( ) [static]
 

retval: Returns the x position of the mouse in range fromretval: [ 0 - CL_Display::get_height() ].

Referenced by toluaI_CL_Mouse_get_y0().

bool CL_Mouse::left_pressed ( ) [static]
 

retval: Returns the y position of the mouse in range fromretval: [ 0 - CL_Display::get_height() ].

Referenced by toluaI_CL_Mouse_left_pressed0().

bool CL_Mouse::middle_pressed ( ) [static]
 

retval: Returns true if the left mouse button is pressed,retval: else false is returned.

Referenced by toluaI_CL_Mouse_middle_pressed0().

bool CL_Mouse::right_pressed ( ) [static]
 

retval: Returns true if the middle mouse button is pressed,retval: else false is returned.

Referenced by toluaI_CL_Mouse_right_pressed0().


The documentation for this class was generated from the following file:
Generated at Wed Apr 4 19:57:11 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001