-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModuleIMGUI.h
More file actions
84 lines (64 loc) · 1.73 KB
/
ModuleIMGUI.h
File metadata and controls
84 lines (64 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#ifndef __ModuleIMGUI_H__
#define __ModuleIMGUI_H__
#include "Module.h"
#include "Globals.h"
#include "GUIConsole.h"
#include "GUIAbout.h"
#include "GUIWindow.h"
#include "GUICamera.h"
#include "GUITime.h"
#include "GUIInspector.h"
class ModuleIMGUI : public Module
{
public:
ModuleIMGUI();
~ModuleIMGUI();
bool Init();
update_status PreUpdate();
update_status Update();
update_status PostUpdate();
bool CleanUp();
GUIConsole console;
GUIAbout about;
GUIWindow guiWindow;
GUICamera guiCamera;
GUITime timeManager;
GUIInspector inspector;
//Values Scene
float scenePosRatioWidth = 0.183f;
float scenePosRatioHeight = 0.047f;
float sceneSizeRatioWidth = 0.626f;
float sceneSizeRatioHeight = 0.709f;
//Values Inspector
float inspectorPosRatioWidth = 0.810f;
float inspectorPosRatioHeight = 0.017f;
float inspectorSizeRatioWidth = 0.186f;
float inspectorSizeRatioHeight = 0.98f;
//Values Console
float consolePosRatioHeight = 0.757f;
float consoleSizeRatioWidth = 0.457f;
float consoleSizeRatioHeight = 0.239f;
//Values Timers
float timerPosRatioWidth = 0.459f;
float timerPosRatioHeight = 0.757f;
float timerSizeRatioWidth = 0.350f;
float timerSizeRatioHeight = 0.239f;
//Values Tabs
float tabsPosRatioWidth = 0.183f;
float tabsPosRatioHeight = 0.018f;
float tabsSizeRatioWidth = 0.628f;
float tabsSizeRatioHeight = 0.01f;//741f;
//Values hierarchy
float hierarchySizeRatioWidth = 0.185f;
float hierarchySizeRatioHeight = 0.745f;
void DrawPlayPauseButtons() const;
private:
bool show_demo_window = false;
bool scrollDownConsole = false;
bool openAbout = false;
bool showWindowConfig = false;
bool showCameraGUI = false;
bool showTimers = false;
bool showInspector = false;
};
#endif // __ModuleIMGUI_H__