Mercurial > mm7
comparison GUI/UI/UIBooks.h @ 2549:3121fb54a110
Rest & Spelbook refactored into class
author | a.parshin |
---|---|
date | Tue, 12 May 2015 11:07:32 +0200 |
parents | 87e5590d034b |
children | dd36326a9994 |
comparison
equal
deleted
inserted
replaced
2548:87e5590d034b | 2549:3121fb54a110 |
---|---|
1 #pragma once | 1 #pragma once |
2 #include "GUI/GUIWindow.h" | 2 #include "GUI/GUIWindow.h" |
3 | |
4 extern std::array<std::array<unsigned char, 12>, 9> pSpellbookSpellIndices; // 4E2430 from pSpellbookSpellIndices[9][12] | |
5 | 3 |
6 | 4 |
7 struct GUIWindow_Book : public GUIWindow | 5 struct GUIWindow_Book : public GUIWindow |
8 { | 6 { |
9 GUIWindow_Book(); | 7 GUIWindow_Book(); |
15 void BasicBookInitialization(); | 13 void BasicBookInitialization(); |
16 | 14 |
17 private: | 15 private: |
18 void InitializeFonts(); | 16 void InitializeFonts(); |
19 }; | 17 }; |
18 | |
19 | |
20 struct GUIWindow_BooksButtonOverlay : public GUIWindow | |
21 { | |
22 GUIWindow_BooksButtonOverlay(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) : | |
23 GUIWindow(x, y, width, height, button, hint) | |
24 {} | |
25 virtual ~GUIWindow_BooksButtonOverlay() {} | |
26 | |
27 virtual void Update(); | |
28 }; |