aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/events.cpp')
-rw-r--r--engines/glk/events.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/events.cpp b/engines/glk/events.cpp
index 6589b512f8..4897b1898f 100644
--- a/engines/glk/events.cpp
+++ b/engines/glk/events.cpp
@@ -68,7 +68,7 @@ void Events::initializeCursors() {
const Graphics::PixelFormat format = g_system->getScreenFormat();
const int WHITE = format.RGBToColor(0xff, 0xff, 0xff);
const int BLACK = 0;
- const int TRANSPARENT = format.RGBToColor(0x80, 0x80, 0x80);
+ const int TRANSPARENT = format.RGBToColor(TRANSPARENT_RGB, TRANSPARENT_RGB, TRANSPARENT_RGB);
// Setup arrow cursor
Surface &arr = _cursors[CURSOR_ARROW];
@@ -384,7 +384,7 @@ void Events::setCursor(CursorId cursorId) {
CursorMan.showMouse(true);
const Surface &s = _cursors[cursorId];
- const int TRANSPARENT = s.format.RGBToColor(0x80, 0x80, 0x80);
+ const int TRANSPARENT = s.format.RGBToColor(TRANSPARENT_RGB, TRANSPARENT_RGB, TRANSPARENT_RGB);
CursorMan.replaceCursor(s.getPixels(), s.w, s.h, s._hotspot.x, s._hotspot.y, TRANSPARENT, true, &s.format);
}