CL_Cursor Class Reference
[clanDisplay Window]

Mouse cursor class. More...

#include <cursor.h>

List of all members.

Public Member Functions

Construction

 CL_Cursor ()
 Constructs a null instance.
 CL_Cursor (const CL_DisplayWindow &window, const CL_SpriteDescription &sprite_description, const CL_Point &hotspot)
 Constructs a Cursor.
Attributes

bool is_null () const
 Returns true if this object is invalid.
void throw_if_null () const
 Throw an exception if this object is invalid.
CL_CursorProviderget_provider () const
 Returns the cursor provider.

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: