diff options
author | Martin Kiewitz | 2010-07-19 16:47:31 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-19 16:47:31 +0000 |
commit | f4a32793c0d63aba21c960c02f1eec325a1ede94 (patch) | |
tree | dd347a2c4eece1d55e52a1722e97247474062ea0 | |
parent | f4a5714477725b7e3016dd1271f65ee7aac0d91f (diff) | |
download | scummvm-rg350-f4a32793c0d63aba21c960c02f1eec325a1ede94.tar.gz scummvm-rg350-f4a32793c0d63aba21c960c02f1eec325a1ede94.tar.bz2 scummvm-rg350-f4a32793c0d63aba21c960c02f1eec325a1ede94.zip |
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
svn-id: r51034
-rw-r--r-- | engines/sci/graphics/controls.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/graphics/controls.cpp b/engines/sci/graphics/controls.cpp index 126b163e38..5891413be8 100644 --- a/engines/sci/graphics/controls.cpp +++ b/engines/sci/graphics/controls.cpp @@ -75,7 +75,9 @@ void GfxControls::drawListControl(Common::Rect rect, reg_t obj, int16 maxChars, // 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); |