[Scummvm-cvs-logs] scummvm master -> 4b95cf5d1a1ac4fbf91544ef6ab1493ad9dbb775

dreammaster dreammaster at scummvm.org
Sat Jun 4 11:20:26 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
4b95cf5d1a TSAGE: Implemented Y pixel difference in button text


Commit: 4b95cf5d1a1ac4fbf91544ef6ab1493ad9dbb775
    https://github.com/scummvm/scummvm/commit/4b95cf5d1a1ac4fbf91544ef6ab1493ad9dbb775
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2011-06-04T02:18:47-07:00

Commit Message:
TSAGE: Implemented Y pixel difference in button text

Changed paths:
    engines/tsage/graphics.cpp



diff --git a/engines/tsage/graphics.cpp b/engines/tsage/graphics.cpp
index 4e3c038..e51d88e 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();






More information about the Scummvm-git-logs mailing list