mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-11 04:06:12 +00:00
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
This commit is contained in:
parent
f4a5714477
commit
f4a32793c0
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user