Emergency 20 Dokumentation  4.2.0
OverlayWindow.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 "em5/Export.h"
14 
15 #include <qsf/gui/GuiDocument.h>
16 
17 
18 //[-------------------------------------------------------]
19 //[ Namespace ]
20 //[-------------------------------------------------------]
21 namespace em5
22 {
23 
24 
25  //[-------------------------------------------------------]
26  //[ Classes ]
27  //[-------------------------------------------------------]
33  {
34 
35 
36  //[-------------------------------------------------------]
37  //[ Public methods ]
38  //[-------------------------------------------------------]
39  public:
40  explicit OverlayWindow(qsf::GuiContext& guiContext);
41  explicit OverlayWindow(qsf::GuiContext& guiContext, Rocket::Core::ElementDocument& rocketCoreElementDocument);
42  virtual ~OverlayWindow();
43 
44  inline bool isEnabled() const { return mIsEnabled; }
45  void setEnabled(bool enabled);
46 
47 
48  //[-------------------------------------------------------]
49  //[ Private data ]
50  //[-------------------------------------------------------]
51  private:
52  bool mIsEnabled = false;
53 
54 
55  };
56 
57 
58 //[-------------------------------------------------------]
59 //[ Namespace ]
60 //[-------------------------------------------------------]
61 } // em5
Definition: ActionPriority.h:13
Graphical User Interface (GUI) document base class.
Definition: GuiDocument.h:51
#define EM5_API_EXPORT
Definition: Export.h:28
Ingame Graphical User Interface (GUI) context class.
Definition: GuiContext.h:62
bool isEnabled() const
Definition: OverlayWindow.h:44
EMERGENCY 5 overlay window base class.
Definition: OverlayWindow.h:32