summaryrefslogtreecommitdiff
path: root/src/gui/gui.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-08 22:46:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-08 22:46:48 +0300
commit6d4da51f0fdcecc2d4398f60dbca43f499fdbe16 (patch)
treec71c7c6e49ed36a55c6b6a2b1ba70073300634dd /src/gui/gui.h
parent4125ac707288a244a7175b755d74dd963e762f56 (diff)
downloadplus-6d4da51f0fdcecc2d4398f60dbca43f499fdbe16.tar.gz
plus-6d4da51f0fdcecc2d4398f60dbca43f499fdbe16.tar.bz2
plus-6d4da51f0fdcecc2d4398f60dbca43f499fdbe16.tar.xz
plus-6d4da51f0fdcecc2d4398f60dbca43f499fdbe16.zip
Fix code style in gui.
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;