aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-05-25 23:20:35 +0000
committerTorbjörn Andersson2006-05-25 23:20:35 +0000
commit79819da301f606d799e0f3b8709c37c4cd685238 (patch)
tree6b2ff3852904509fad24acd2c4071fce56a0e32d /gui
parent017655682167667cee9d9d2e15e32c075af8ee2d (diff)
downloadscummvm-rg350-79819da301f606d799e0f3b8709c37c4cd685238.tar.gz
scummvm-rg350-79819da301f606d799e0f3b8709c37c4cd685238.tar.bz2
scummvm-rg350-79819da301f606d799e0f3b8709c37c4cd685238.zip
The GUI never asked for the cursor to be visible. I'm not sure why that used to
work before the cursor manager. Oh well, the launcher should have a visible cursor again, knock on wood. svn-id: r22641
Diffstat (limited to 'gui')
-rw-r--r--gui/ThemeNew.cpp1
-rw-r--r--gui/newgui.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp
index ca50e5d11a..9aeaf99dc4 100644
--- a/gui/ThemeNew.cpp
+++ b/gui/ThemeNew.cpp
@@ -1551,6 +1551,7 @@ OverlayColor ThemeNew::calcDimColor(OverlayColor col) {
void ThemeNew::setUpCursor() {
PaletteMan.pushCursorPalette(_cursorPal, 0, MAX_CURS_COLORS);
CursorMan.pushCursor(_cursor, _cursorWidth, _cursorHeight, _cursorHotspotX, _cursorHotspotY, 255, _cursorTargetScale);
+ CursorMan.showMouse(true);
}
void ThemeNew::createCursor() {
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index f0d58d8982..c02c472594 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -158,6 +158,7 @@ void NewGui::runLoop() {
PaletteMan.pushCursorPalette(palette, 0, 4);
CursorMan.pushCursor(NULL, 0, 0, 0, 0);
+ CursorMan.showMouse(true);
}
while (!_dialogStack.empty() && activeDialog == _dialogStack.top()) {