Mouse cursor class. More...
#include <cursor.h>
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_CursorProvider * | get_provider () const |
Returns the cursor provider. |
Mouse cursor class.
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.
window | = Display Window | |
sprite_description | = Sprite Description | |
hotspot | = Point |
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.