[Scummvm-cvs-logs] SF.net SVN: scummvm: [22538] scummvm/trunk/backends/sdl/graphics.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Sat May 20 00:32:04 CEST 2006
Revision: 22538
Author: eriktorbjorn
Date: 2006-05-20 00:31:03 -0700 (Sat, 20 May 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22538&view=rev
Log Message:
-----------
Fixed cursor drawing in the classic theme.
Modified Paths:
--------------
scummvm/trunk/backends/sdl/graphics.cpp
Modified: scummvm/trunk/backends/sdl/graphics.cpp
===================================================================
--- scummvm/trunk/backends/sdl/graphics.cpp 2006-05-19 22:49:23 UTC (rev 22537)
+++ scummvm/trunk/backends/sdl/graphics.cpp 2006-05-20 07:31:03 UTC (rev 22538)
@@ -1487,8 +1487,13 @@
dst.y = _mouseCurState.y - _mouseHotspotY;
}
- dst.w = _mouseCurState.w;
- dst.h = _mouseCurState.h;
+ if (_overlayVisible) {
+ dst.w = _mouseCurState.hW;
+ dst.h = _mouseCurState.hH;
+ } else {
+ dst.w = _mouseCurState.w;
+ dst.h = _mouseCurState.h;
+ }
// Note that addDirtyRect() will perform any necessary clipping
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list