vs 2010 update for deck editor changes as well as SDL update

This commit is contained in:
techdragon.nguyen@gmail.com
2012-01-26 14:54:07 +00:00
parent a2179017d4
commit 85451f69ee
4 changed files with 21 additions and 5 deletions

View File

@@ -68,9 +68,9 @@ void InteractiveButton::Render()
float stringWidth = mainFont->GetStringWidth(detailedInfoString.c_str());
DWORD currentColor = mainFont->GetColor();
#ifndef TOUCH_ENABLED
mXOffset = stringWidth / 2;
mXOffset = 5;
mYOffset = 10;
float boxStartX = getX() - mXOffset;
float boxStartX = getX() - 5;
float pspIconsSize = 0.5;
renderer->FillRoundRect( boxStartX, getY() - 5, stringWidth, mainFont->GetHeight() + 15, .5, ARGB( 255, 0, 0, 0) );
if (buttonImage != NULL)