aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorPaul Gilbert2011-06-04 19:18:47 +1000
committerPaul Gilbert2011-06-04 19:18:47 +1000
commit4b95cf5d1a1ac4fbf91544ef6ab1493ad9dbb775 (patch)
tree707e07c6a9fdb86ddcf044219fbcd20e235032dd /engines/tsage
parent10c308f5575819ec9f6f6ae5080e517a43027c05 (diff)
downloadscummvm-rg350-4b95cf5d1a1ac4fbf91544ef6ab1493ad9dbb775.tar.gz
scummvm-rg350-4b95cf5d1a1ac4fbf91544ef6ab1493ad9dbb775.tar.bz2
scummvm-rg350-4b95cf5d1a1ac4fbf91544ef6ab1493ad9dbb775.zip
TSAGE: Implemented Y pixel difference in button text
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/graphics.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/tsage/graphics.cpp b/engines/tsage/graphics.cpp
index 4e3c03814a..e51d88eb3e 100644
--- a/engines/tsage/graphics.cpp
+++ b/engines/tsage/graphics.cpp
@@ -837,6 +837,8 @@ void GfxButton::draw() {
// Display the button's text
Rect tempRect(_bounds);
tempRect.collapse(_globals->_gfxEdgeAdjust, _globals->_gfxEdgeAdjust);
+ if (_vm->getFeatures() & GF_CD)
+ ++tempRect.top;
gfxManager._font.writeLines(_message.c_str(), tempRect, ALIGN_CENTER);
gfxManager.unlockSurface();