Emergency 20 Dokumentation  4.2.0
DebugWeatherBox.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Header guard ]
6 //[-------------------------------------------------------]
7 #pragma once
8 
9 
10 //[-------------------------------------------------------]
11 //[ Includes ]
12 //[-------------------------------------------------------]
13 #include <qsf/gui/GuiDocument.h>
14 
15 
16 //[-------------------------------------------------------]
17 //[ Namespace ]
18 //[-------------------------------------------------------]
19 namespace em5
20 {
21 
22 
23  //[-------------------------------------------------------]
24  //[ Classes ]
25  //[-------------------------------------------------------]
31  {
32 
33 
34  //[-------------------------------------------------------]
35  //[ Public methods ]
36  //[-------------------------------------------------------]
37  public:
38  explicit DebugWeatherBox(qsf::GuiContext& guiContext);
39 
40 
41  //[-------------------------------------------------------]
42  //[ Public virtual qsf::GuiDocument methods ]
43  //[-------------------------------------------------------]
44  public:
45  virtual void processEvent(const std::string& eventKey, Rocket::Core::Event& event) override;
46 
47 
48  //[-------------------------------------------------------]
49  //[ Private virtual qsf::GuiDocument methods ]
50  //[-------------------------------------------------------]
51  private:
52  virtual bool onPreShow() override;
53  virtual void onPreHide() override;
54 
55 
56  };
57 
58 
59 //[-------------------------------------------------------]
60 //[ Namespace ]
61 //[-------------------------------------------------------]
62 } // em5
Definition: ActionPriority.h:13
DebugWeatherBox(qsf::GuiContext &guiContext)
Graphical User Interface (GUI) document base class.
Definition: GuiDocument.h:51
EMERGENCY 5 in-game debug window for triggering weather.
Definition: DebugWeatherBox.h:30
Ingame Graphical User Interface (GUI) context class.
Definition: GuiContext.h:62
virtual void processEvent(const std::string &eventKey, Rocket::Core::Event &event) override