diff options
author | Paul Gilbert | 2011-06-04 19:18:47 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-06-04 19:18:47 +1000 |
commit | 4b95cf5d1a1ac4fbf91544ef6ab1493ad9dbb775 (patch) | |
tree | 707e07c6a9fdb86ddcf044219fbcd20e235032dd | |
parent | 10c308f5575819ec9f6f6ae5080e517a43027c05 (diff) | |
download | scummvm-rg350-4b95cf5d1a1ac4fbf91544ef6ab1493ad9dbb775.tar.gz scummvm-rg350-4b95cf5d1a1ac4fbf91544ef6ab1493ad9dbb775.tar.bz2 scummvm-rg350-4b95cf5d1a1ac4fbf91544ef6ab1493ad9dbb775.zip |
TSAGE: Implemented Y pixel difference in button text
-rw-r--r-- | engines/tsage/graphics.cpp | 2 |
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(); |