CL_InputAxis_Basic(3)

CL_InputAxis_Basic3

Cl_inputaxis interface used to ease manual implementation of an input axis.

Class members

CL_InputAxis_Basic()
CL_InputAxis_Basic(
float pos)
virtual ~CL_InputAxis_Basic()
virtual float get_pos()
void set_pos(
float pos)

Members with descriptions

CL_InputAxis_Basic()
Description:

Constructs an axis standing in center position.

CL_InputAxis_Basic(
float pos)
Parameters:
pos - Initial axis position. Range -1 to 1.
Description:

Constructs an axis standing in position pos.

virtual ~CL_InputAxis_Basic()
Description:
virtual float get_pos()
Description:

Returns the current axis position.

Return value:

The current axis position.

void set_pos(
float pos)
Parameters:
pos - New axis position. Range -1 to 1.
Description:

Set the current axis position.

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.

From clanlib0-common-dev 0.4.4-8 in Debian 3.0 (Woody). Parsed by carta from the page's man source.