Mercurial > mm7
diff GUI/GUIWindow.h @ 2550:fb42e2662c38
Chest UI refactored to a class
author | a.parshin |
---|---|
date | Tue, 12 May 2015 11:28:22 +0200 |
parents | 3121fb54a110 |
children | 4008b2f34be0 |
line wrap: on
line diff
--- a/GUI/GUIWindow.h Tue May 12 11:07:32 2015 +0200 +++ b/GUI/GUIWindow.h Tue May 12 11:28:22 2015 +0200 @@ -395,21 +395,6 @@ virtual void Update(); virtual void Release(); }; -struct GUIWindow_Chest : public GUIWindow -{ - GUIWindow_Chest(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) : - GUIWindow(x, y, width, height, button, hint) - { - CreateButton(61, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 1, '1', "", 0); - CreateButton(177, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 2, '2', "", 0); - CreateButton(292, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 3, '3', "", 0); - CreateButton(407, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 4, '4', "", 0); - CreateButton(0, 0, 0, 0, 1, 0, UIMSG_CycleCharacters, 0, 9, "", 0); - } - virtual ~GUIWindow_Chest() {} - - 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); @@ -678,7 +663,6 @@ -// book ui void DrawSpellDescriptionPopup(int spell_index);