Reference

CL_InputCursor(3)

Input cursor interface.

NAME

CL_InputCursor - Input cursor interface.

DESCRIPTION

CL_InputCursor is the interface to cursors, such as a mouse cursor.

CLASS MEMBERS

virtual ~CL_InputCursor()
virtual float get_x()
virtual float get_y()
virtual float get_max_x()
virtual float get_max_y()

MEMBERS WITH DESCRIPTIONS

virtual ~CL_InputCursor()
Description:

virtual float get_x()
Description:

Returns current x-coordinate.

Return value:

Current x position.

virtual float get_y()
Description:

Returns current y-coordinate.

Return value:

Current y position.

virtual float get_max_x()
Description:

Returns the range of the x-coordinate.

Return value:

Max x coordinate value.

virtual float get_max_y()
Description:

Returns the range of the y-coordinate.

Return value:

Max y coordinate value.

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.