diff GUI/GUIWindow.h @ 2547:fed97f15d1e1

* SaveLoad * QuickReference * Modal * Character
author a.parshin
date Tue, 12 May 2015 01:45:31 +0200
parents 4087cbc62706
children 87e5590d034b
line wrap: on
line diff
--- a/GUI/GUIWindow.h	Mon May 11 17:45:02 2015 +0200
+++ b/GUI/GUIWindow.h	Tue May 12 01:45:31 2015 +0200
@@ -379,15 +379,7 @@
 };
 #pragma pack(pop)
 
-struct GUIWindow_CharacterRecord : public GUIWindow
-{
-    GUIWindow_CharacterRecord(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
-        GUIWindow(x, y, width, height, button, hint)
-    {}
-    virtual ~GUIWindow_CharacterRecord() {}
 
-    virtual void Update();
-};
 struct GUIWindow_Book : public GUIWindow
 {
     GUIWindow_Book(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
@@ -409,15 +401,6 @@
 
     virtual void Update();
 };
-struct GUIWindow_QuickReference : public GUIWindow
-{
-    GUIWindow_QuickReference(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
-        GUIWindow(x, y, width, height, button, hint)
-    {}
-    virtual ~GUIWindow_QuickReference() {}
-
-    virtual void Update();
-};
 struct GUIWindow_Dialogue : public GUIWindow
 {
     GUIWindow_Dialogue(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint);
@@ -457,24 +440,6 @@
 
     virtual void Update();
 };
-struct GUIWindow_Save : public GUIWindow
-{
-    GUIWindow_Save(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
-        GUIWindow(x, y, width, height, button, hint)
-    {}
-    virtual ~GUIWindow_Save() {}
-
-    virtual void Update();
-};
-struct GUIWindow_Load : public GUIWindow
-{
-    GUIWindow_Load(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
-        GUIWindow(x, y, width, height, button, hint)
-    {}
-    virtual ~GUIWindow_Load() {}
-
-    virtual void Update();
-};
 struct GUIWindow_House : public GUIWindow
 {
     GUIWindow_House(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint);
@@ -515,15 +480,6 @@
 
     virtual void Update();
 };
-struct GUIWindow_Modal : public GUIWindow
-{
-    GUIWindow_Modal(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
-        GUIWindow(x, y, width, height, button, hint)
-    {}
-    virtual ~GUIWindow_Modal() {}
-
-    virtual void Update();
-};
 struct OnButtonClick : public GUIWindow
 {
     OnButtonClick(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
@@ -700,9 +656,6 @@
 
 
 
-void ModalWindow(const char *pStrHint, UIMessageType OnRelease_message);
-void ModalWindow_ShowHint();
-void ModalWindow_Release();
 
 
 
@@ -714,18 +667,10 @@
 void MainMenuUI_Create();
 MENU_STATE MainMenuUI_Credits_Loop();
 
-// save & load ui
-GUIWindow *SaveUI_Load(enum CURRENT_SCREEN screen);
-void SaveUI_Draw();
-
-void LoadUI_Draw();
-void LoadUI_Load(unsigned int uDialogueType); // idb
-
 // game ui
 void GameUI_DrawRightPanel();
 void GameUI_DrawRightPanelFrames();
 void GameUI_DrawRightPanelItems();
-void GameUI_QuickRef_Draw();
 void GameUI_DrawFoodAndGold();
 void GameUI_DrawLifeManaBars();
 void GameUI_DrawHiredNPCs();
@@ -749,16 +694,10 @@
 
 
 // character ui
-struct GUIWindow *CharacterUI_Initialize(enum CURRENT_SCREEN);
 const char *CharacterUI_GetSkillDescText(unsigned int uPlayerID, PLAYER_SKILL_TYPE uPlayerSkillType);
 void CharacterUI_SkillsTab_ShowHint();
 void CharacterUI_StatsTab_ShowHint();
-void CharacterUI_StatsTab_Draw(Player *player);
-void CharacterUI_SkillsTab_CreateButtons();
-void CharacterUI_SkillsTab_Draw(Player *player);
-void CharacterUI_AwardsTab_Draw(Player *player);
 void CharacterUI_InventoryTab_Draw(Player *player, bool a2);
-void CharacterUI_CharacterScreen_Draw(Player *player);
 void CharacterUI_DrawPaperdoll(Player *player);
 void CharacterUI_DrawPaperdollWithRingOverlay(Player *player);
 void CharacterUI_ReleaseButtons();