Mania++
 All Classes Functions Variables Pages
UIFrame.h
1 #ifndef UIFRAME_H_
2 #define UIFRAME_H_
3 
4 #include <functional>
5 #include <map>
6 #include "../Events/Structs.h"
7 
8 //* UIFrame
12 struct UIFrame
13 {
14  std::string ManiaLinkId;
15  std::string Page;
16  int Timeout;
17  bool CloseOnClick;
18  std::map<std::string, bool> CustomUI;
20  UIFrame()
21  {
22  CustomUI = std::map<std::string, bool>();
23  }
24 };
25 
26 #endif // UIFRAME_H_
std::map< std::string, bool > CustomUI
Enable/Disable default game UI.
Definition: UIFrame.h:18
ManiaLink for UI.
Definition: UIFrame.h:12
int Timeout
Timeout of the page.
Definition: UIFrame.h:16
std::string Page
XML ManiaLink page.
Definition: UIFrame.h:15
bool CloseOnClick
Close the page when being clicked.
Definition: UIFrame.h:17
std::string ManiaLinkId
ManiaLink identifier.
Definition: UIFrame.h:14