19 #ifndef OPENXCOM_CURSOR_H
20 #define OPENXCOM_CURSOR_H
22 #include "../Engine/Surface.h"
41 Cursor(
int width,
int height,
int x = 0,
int y = 0);
Container for all the information associated with a given user action, like mouse clicks...
Definition: Action.h:34
~Cursor()
Cleans up the cursor.
Definition: Cursor.cpp:44
Uint8 getColor() const
Gets the cursor's color.
Definition: Cursor.cpp:76
Cursor(int width, int height, int x=0, int y=0)
Creates a new cursor with the specified size and position.
Definition: Cursor.cpp:37
void draw()
Draws the cursor.
Definition: Cursor.cpp:84
void handle(Action *action)
Handles mouse events.
Definition: Cursor.cpp:53
Element that is blit (rendered) onto the screen.
Definition: Surface.h:39
Mouse cursor that replaces the system cursor.
Definition: Cursor.h:34
void setColor(Uint8 color)
Sets the cursor's color.
Definition: Cursor.cpp:66