ClanLib
2.3.7
|
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_CursorProvider * | get_provider () const |
Returns the cursor provider. More... | |
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.
|
inline |
Returns true if this object is invalid.
void CL_Cursor::throw_if_null | ( | ) | const |
Throw an exception if this object is invalid.