Add main menu window interface outlines. Fixed menu labels not being centered properly.
This commit is contained in:
+7
-2
@@ -13,7 +13,9 @@ enum MenuType{
|
||||
TEST,
|
||||
TEST_2,
|
||||
INVENTORY,
|
||||
|
||||
CLASS_INFO,
|
||||
CLASS_SELECTION,
|
||||
MAIN_MENU,
|
||||
///////////////////////////////////////////////////////////
|
||||
/*DO NOT REMOVE!!*/ENUM_END////////////////////////////////
|
||||
///////////////////////////////////////////////////////////
|
||||
@@ -57,6 +59,7 @@ public:
|
||||
void SetMouseNavigation(bool mouseNavigation);
|
||||
static void InventorySlotsUpdated(ITCategory cat); //Called whenever an inventory item gets added to the player's inventory, thus increasing the total number of slots in our bag.
|
||||
static void AddInventoryListener(MenuComponent*component,ITCategory category); //Adds a component to be in a given listener category.
|
||||
vf2d center();
|
||||
private:
|
||||
Menu(vf2d pos,vf2d size);
|
||||
void HoverMenuSelect(Crawler*game);
|
||||
@@ -67,7 +70,9 @@ private:
|
||||
static void InitializeTestMenu();
|
||||
static void InitializeTestSubMenu();
|
||||
static void InitializeInventoryWindow();
|
||||
static void InitializeCharacterInfoWindow();
|
||||
static void InitializeClassInfoWindow();
|
||||
static void InitializeClassSelectionWindow();
|
||||
static void InitializeMainMenuWindow();
|
||||
//X (0-3), Y (0-2) for specific 9-patch tile (tiled version).
|
||||
static Renderable&GetPatchPart(int x,int y);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user