- a few card updates
- back to original font for menus
This commit is contained in:
wagic.the.homebrew
2009-01-20 13:15:52 +00:00
parent 6d629b7d66
commit e831a8e400
16 changed files with 74 additions and 56 deletions
-1
View File
@@ -11,7 +11,6 @@ class GameStateMenu: public GameState, public JGuiListener
private:
JGuiController* mGuiController;
SimpleMenu* subMenuController;
JLBFont* mFont;
JQuad * mIcons[10];
JTexture * mIconsTexture;
JTexture * bgTexture;
+5 -2
View File
@@ -1,7 +1,9 @@
#ifndef _MTGDEFINITION_H_
#define _MTGDEFINITION_H_
#define DEFAULT_MAIN_FONT_SCALE 0.5
#define DEFAULT_MENU_FONT_SCALE 1.0
#define DEFAULT_MAIN_FONT_SCALE 1.0
#define DEFAULT_TEXT_FONT_SCALE 1.0
class Constants
{
@@ -106,7 +108,8 @@ class Constants
MAIN_FONT = 0,
MAGIC_FONT = 1,
MENU_FONT = 1,
MAGIC_FONT = 2,
};
static char MTGColorChars[];
+1 -1
View File
@@ -43,7 +43,7 @@ class SimpleMenu:public JGuiController{
void drawVertPole(int x, int y, int height);
public:
SimpleMenu(int id, JGuiListener* listener, JLBFont* font, int x, int y, const char * _title = "", int _maxItems = 10);
SimpleMenu(int id, JGuiListener* listener, JLBFont* font, int x, int y, const char * _title = "", int _maxItems = 7);
void Render();
void Update(float dt);
void Add(int id, const char * Text);