modified font size so deck name fits on screen when selecting deck for game play.

This commit is contained in:
techdragon.nguyen@gmail.com
2010-11-09 05:45:24 +00:00
parent 17c358cb12
commit 164f2c5205
4 changed files with 17 additions and 26 deletions

View File

@@ -27,7 +27,8 @@ class DeckMenu:public JGuiController{
string title;
string displayTitle;
WFont * mFont;
float mTitleFontScale;
float menuFontScale;
float titleFontScale;
int maxItems, startId;
@@ -43,7 +44,7 @@ class DeckMenu:public JGuiController{
public:
TextScroller * scroller;
bool autoTranslate;
DeckMenu(int id, JGuiListener* listener, int fontId, const string _title = "");
DeckMenu(int id, JGuiListener* listener, int fontId, const string _title = "", const float& mFontScale = 1.0f );
~DeckMenu();
void Render();