ClanLib  2.3.7
List of all members
CL_Cursor Class Reference

Mouse cursor class. More...

#include <cursor.h>

Public Member Functions

Construction
 CL_Cursor ()
 Constructs a null instance. More...
 
 CL_Cursor (const CL_DisplayWindow &window, const CL_SpriteDescription &sprite_description, const CL_Point &hotspot)
 Constructs a Cursor. More...
 
Attributes
bool is_null () const
 Returns true if this object is invalid. More...
 
void throw_if_null () const
 Throw an exception if this object is invalid. More...
 
CL_CursorProviderget_provider () const
 Returns the cursor provider. More...
 

Detailed Description

Mouse cursor class.

Constructor & Destructor Documentation

CL_Cursor::CL_Cursor ( )

Constructs a null instance.

CL_Cursor::CL_Cursor ( const CL_DisplayWindow window,
const CL_SpriteDescription sprite_description,
const CL_Point hotspot 
)

Constructs a Cursor.

Parameters
window= Display Window
sprite_description= Sprite Description
hotspot= Point

Member Function Documentation

CL_CursorProvider* CL_Cursor::get_provider ( ) const

Returns the cursor provider.

bool CL_Cursor::is_null ( ) const
inline

Returns true if this object is invalid.

void CL_Cursor::throw_if_null ( ) const

Throw an exception if this object is invalid.


The documentation for this class was generated from the following file: