Emergency 20 Dokumentation  4.2.0
HqExtendedMessage.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 HqExtendedMessage(qsf::GuiContext& guiContext);
39  virtual ~HqExtendedMessage();
40 
41 
42  //[-------------------------------------------------------]
43  //[ Public virtual qsf::GuiDocument methods ]
44  //[-------------------------------------------------------]
45  public:
50  virtual void processEvent(const std::string& eventKey, Rocket::Core::Event& event) override;
51 
52 
53  //[-------------------------------------------------------]
54  //[ Public methods ]
55  //[-------------------------------------------------------]
56  public:
61  void showMessageWithHQExtendedText(bool hqExtended);
62 
63 
64  };
65 
66 
67 //[-------------------------------------------------------]
68 //[ Namespace ]
69 //[-------------------------------------------------------]
70 } // em5
Definition: ActionPriority.h:13
EMERGENCY 5 HQ extended message window HUD element.
Definition: HqExtendedMessage.h:30
void showMessageWithHQExtendedText(bool hqExtended)
Shows the message box with the corresponding text.
virtual void processEvent(const std::string &eventKey, Rocket::Core::Event &event) override
Process the button events.
Graphical User Interface (GUI) document base class.
Definition: GuiDocument.h:51
virtual ~HqExtendedMessage()
Ingame Graphical User Interface (GUI) context class.
Definition: GuiContext.h:62
HqExtendedMessage(qsf::GuiContext &guiContext)