Erwan
- a few card updates - back to original font for menus
This commit is contained in:
@@ -11,7 +11,6 @@ class GameStateMenu: public GameState, public JGuiListener
|
||||
private:
|
||||
JGuiController* mGuiController;
|
||||
SimpleMenu* subMenuController;
|
||||
JLBFont* mFont;
|
||||
JQuad * mIcons[10];
|
||||
JTexture * mIconsTexture;
|
||||
JTexture * bgTexture;
|
||||
|
||||
@@ -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[];
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user