source:
orxonox.OLD/branches/gui/src/world_entities/questGUI/quest_gui.h
@
10265
Last change on this file since 10265 was 10265, checked in by hejja, 17 years ago | |
---|---|
File size: 1.1 KB |
Rev | Line | |
---|---|---|
[10026] | 1 | |
2 | #ifndef _QUESTGUI_H | |
3 | #define _QUESTGUI_H | |
4 | ||
5 | #include "world_entity.h" | |
6 | #include "glgui.h" | |
[10069] | 7 | #include <glgui_image.h> |
[10026] | 8 | #include <vector> |
9 | ||
[10129] | 10 | class Quest; |
[10026] | 11 | |
12 | class QuestGUI : public WorldEntity | |
13 | { | |
14 | ||
15 | ObjectListDeclaration(QuestGUI); | |
16 | ||
17 | public: | |
[10265] | 18 | QuestGUI (const TiXmlElement* root = NULL); |
[10026] | 19 | virtual ~QuestGUI (); |
[10129] | 20 | |
21 | void loadParams(const TiXmlElement* root); | |
22 | ||
[10026] | 23 | void guiInit(); |
24 | ||
[10129] | 25 | virtual void tick(float dt); |
[10026] | 26 | |
27 | private: | |
[10129] | 28 | Quest* myQuest; |
29 | bool bKillGui; | |
[10164] | 30 | std::string background; |
[10265] | 31 | std::string backgroundBottom; |
[10031] | 32 | |
[10069] | 33 | OrxGui::GLGuiBox* headerBox; |
34 | OrxGui::GLGuiBox* outlineBox; | |
35 | OrxGui::GLGuiBox* labelBox; | |
[10026] | 36 | OrxGui::GLGuiBox* questBox; |
[10069] | 37 | OrxGui::GLGuiImage* questImage; |
38 | OrxGui::GLGuiBox* rewardBox; | |
39 | OrxGui::GLGuiImage* rewardImage; | |
40 | OrxGui::GLGuiBox* answerBox; | |
[10167] | 41 | OrxGui::GLGuiBox* acceptBox; |
42 | OrxGui::GLGuiBox* refuseBox; | |
[10026] | 43 | |
[10265] | 44 | |
[10026] | 45 | OrxSound::SoundSource* selectorSource; |
[10129] | 46 | |
47 | void accept(); | |
48 | void refuse(); | |
49 | void killgui(); | |
[10026] | 50 | }; |
51 | ||
52 | #endif /* _QUESTGUI_H */ |
Note: See TracBrowser
for help on using the repository browser.