TSAGE: Implemented Y pixel difference in button text
This commit is contained in:
parent
10c308f557
commit
4b95cf5d1a
1 changed files with 2 additions and 0 deletions
|
@ -837,6 +837,8 @@ void GfxButton::draw() {
|
||||||
// Display the button's text
|
// Display the button's text
|
||||||
Rect tempRect(_bounds);
|
Rect tempRect(_bounds);
|
||||||
tempRect.collapse(_globals->_gfxEdgeAdjust, _globals->_gfxEdgeAdjust);
|
tempRect.collapse(_globals->_gfxEdgeAdjust, _globals->_gfxEdgeAdjust);
|
||||||
|
if (_vm->getFeatures() & GF_CD)
|
||||||
|
++tempRect.top;
|
||||||
gfxManager._font.writeLines(_message.c_str(), tempRect, ALIGN_CENTER);
|
gfxManager._font.writeLines(_message.c_str(), tempRect, ALIGN_CENTER);
|
||||||
|
|
||||||
gfxManager.unlockSurface();
|
gfxManager.unlockSurface();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue