Some tweaks to the fonts in the game deck selection screen - the 'wagic' green cursive font was a bit of an eyesore, and wasn't consistent color-wise with the other main font used for the stats & description.

This commit is contained in:
wrenczes@gmail.com
2010-11-07 14:21:21 +00:00
parent a90d2ed2e7
commit 2d31cbdaf5
2 changed files with 9 additions and 4 deletions

View File

@@ -72,7 +72,7 @@ fontId(fontId) {
// we want to cap the deck titles to 15 characters to avoid overflowing deck names
title = _(_title);
titleFont = resources.GetWFont(Fonts::MAGIC_FONT);
titleFont = resources.GetWFont(Fonts::OPTION_FONT);
startId = 0;
selectionT = 0;
timeOpen = 0;
@@ -146,7 +146,7 @@ void DeckMenu::Render()
string text = currentMenuItem->desc;
WFont *mainFont = resources.GetWFont(Fonts::MAIN_FONT);
mainFont->DrawString(text.c_str(), descX, descY);
mFont->SetColor(ARGB(255,255,255,0));
mFont->SetColor(ARGB(255,255,255,255));
// fill in the statistical portion
if ( currentMenuItem->meta )
@@ -168,7 +168,12 @@ void DeckMenu::Render()
renderer->RenderQuad( background, 0, 0 );
if (!title.empty())
{
titleFont->SetColor(ARGB(100,255,255,255));
titleFont->SetScale(.8f);
titleFont->DrawString(title.c_str(), titleX, titleY, JGETEXT_CENTER);
titleFont->SetScale(1.0f);
}
scroller->Render();
}