CL_MouseCursorProvider(3)

CL_MouseCursorProvider3

Mouse cursor image interface.

Overview

The mouse cursor provider is an interface that describes how a mouse cursor should animate, and which images it should use. Use this class to create your cursor icon, and then use CL_MouseCursor to make your cursor visible.

Class members

virtual CL_SurfaceProvider *get_surface_provider()
virtual bool is_animated()
virtual int get_frame_delay(
unsigned int frame_number)

Members with descriptions

virtual CL_SurfaceProvider *get_surface_provider()
Description:

Returns the surface provider associated with the mouse cursor.

virtual bool is_animated()
Description:

Returns true if the cursor is animated.

virtual int get_frame_delay(
unsigned int frame_number)
Description:

Returns the millisec delay between 'frame_number' and the next one.

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.