From 40f950616397dad5833751b755c11f92f4462acb Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Thu, 7 Jan 2010 15:07:36 +0000 Subject: The default keycolor for mouse pointers used to be 255. This makes sense as a default for CLUT8 modes, but not really for anything else. As part of the gsoc2009-16bit merge, the default was changed to "all ones", with extra code in the SDL backend to truncate this to the depth of the mode. However, "all ones" (white) still isn't a very useful default for RGB modes. So rather than jumping through hoops to provide a bad default, it's better to remove the default altogether. Engines which relied on the old default of 255 have been updated to specify it explicitly. svn-id: r47118 --- backends/vkeybd/virtual-keyboard-gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/vkeybd/virtual-keyboard-gui.cpp') diff --git a/backends/vkeybd/virtual-keyboard-gui.cpp b/backends/vkeybd/virtual-keyboard-gui.cpp index 316e2ac450..ad9dd9f638 100644 --- a/backends/vkeybd/virtual-keyboard-gui.cpp +++ b/backends/vkeybd/virtual-keyboard-gui.cpp @@ -444,7 +444,7 @@ void VirtualKeyboardGUI::setupCursor() { }; CursorMan.pushCursorPalette(palette, 0, 4); - CursorMan.pushCursor(NULL, 0, 0, 0, 0); + CursorMan.pushCursor(NULL, 0, 0, 0, 0, 0); CursorMan.showMouse(true); } @@ -458,7 +458,7 @@ void VirtualKeyboardGUI::animateCursor() { } } - CursorMan.replaceCursor(_cursor, 16, 16, 7, 7); + CursorMan.replaceCursor(_cursor, 16, 16, 7, 7, 255); _cursorAnimateTimer = time; _cursorAnimateCounter = (_cursorAnimateCounter + 1) % 4; -- cgit v1.2.3