Erwan
- a few card updates - back to original font for menus
This commit is contained in:
@@ -12,13 +12,13 @@ SimpleMenuItem::SimpleMenuItem(SimpleMenu* _parent, int id, JLBFont *font, const
|
||||
|
||||
if (hasFocus)
|
||||
Entering();
|
||||
// mFont->SetScale(1.2f);
|
||||
mFont->SetScale(1.2f);
|
||||
}
|
||||
|
||||
|
||||
void SimpleMenuItem::RenderWithOffset(float yOffset)
|
||||
{
|
||||
// mFont->SetScale(mScale);
|
||||
mFont->SetScale(mScale);
|
||||
//mFont->SetColor(ARGB(255,255,255,255));
|
||||
mFont->DrawString(mText.c_str(), mX, mY + yOffset, JGETEXT_CENTER);
|
||||
// mFont->SetScale(1.0f);
|
||||
@@ -31,7 +31,7 @@ void SimpleMenuItem::Render()
|
||||
|
||||
void SimpleMenuItem::Update(float dt)
|
||||
{
|
||||
/* if (mScale < mTargetScale)
|
||||
if (mScale < mTargetScale)
|
||||
{
|
||||
mScale += 8.0f*dt;
|
||||
if (mScale > mTargetScale)
|
||||
@@ -42,7 +42,7 @@ void SimpleMenuItem::Update(float dt)
|
||||
mScale -= 8.0f*dt;
|
||||
if (mScale < mTargetScale)
|
||||
mScale = mTargetScale;
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user