[Scummvm-cvs-logs] SF.net SVN: scummvm:[51034] scummvm/trunk/engines/sci/graphics/controls.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Mon Jul 19 18:47:32 CEST 2010
Revision: 51034
http://scummvm.svn.sourceforge.net/scummvm/?rev=51034&view=rev
Author: m_kiewitz
Date: 2010-07-19 16:47:31 +0000 (Mon, 19 Jul 2010)
Log Message:
-----------
SCI: dont fix list control in sq4
sierra fixed this problem by having an up cursor starting one pixel-line later, adjusting in that case would be wrong
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/controls.cpp
Modified: scummvm/trunk/engines/sci/graphics/controls.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/controls.cpp 2010-07-19 16:01:16 UTC (rev 51033)
+++ scummvm/trunk/engines/sci/graphics/controls.cpp 2010-07-19 16:47:31 UTC (rev 51034)
@@ -75,7 +75,9 @@
// draw UP/DOWN arrows
// we draw UP arrow one pixel lower than sierra did, because it looks nicer. Also the DOWN arrow has one pixel
// line inbetween as well
- workerRect.top++;
+ // They "fixed" this in SQ4 by having the arrow character start one pixel line later, we don't adjust there
+ if (g_sci->getGameId() != GID_SQ4)
+ workerRect.top++;
_text16->Box(controlListUpArrow, 0, workerRect, SCI_TEXT16_ALIGNMENT_CENTER, 0);
workerRect.top = workerRect.bottom - 10;
_text16->Box(controlListDownArrow, 0, workerRect, SCI_TEXT16_ALIGNMENT_CENTER, 0);
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