summaryrefslogtreecommitdiff
path: root/src/gui/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r--src/gui/gui.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h
index 43594ad9f..97604ad3a 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -68,6 +68,8 @@
#include "gui/color.h"
+#include "resources/cursor.h"
+
#include <deque>
#include <list>
@@ -187,7 +189,7 @@ class Gui final
/**
* Sets which cursor should be used.
*/
- void setCursorType(const int index)
+ void setCursorType(const Cursor::Cursor index)
{ mCursorType = index; }
void setDoubleClick(const bool b)
@@ -508,7 +510,7 @@ class Gui final
ImageSet *mMouseCursors; /**< Mouse cursor images */
float mMouseCursorAlpha;
int mMouseInactivityTimer;
- int mCursorType;
+ Cursor::Cursor mCursorType;
#ifdef ANDROID
uint16_t mLastMouseRealX;
uint16_t mLastMouseRealY;