TazGraph Project v0.1.0
Loading...
Searching...
No Matches
MenuDropdown.h
1#pragma once
2
3
4#include "../../UIElement.h"
5#include "../MenuSceneControllers/NewMapUI/NewMapUI.h"
6#include "../MenuSceneControllers/SavingUI/SavingUI.h"
7#include "../MenuSceneControllers/LoadingUI/LoadingUI.h"
8#include "../PythonInterpreterPanel/PythonInterpreterPanel.h"
9
10#include "CameraPanel/CameraPanel.h"
11#include "ScenePanel/ScenePanel.h"
12#include "VisibleEntities/VisibleEntities.h"
13#include "HelpPanel/HelpPanel.h"
14#include "FPSCounter.h"
15
17 IScene* scene;
18};
19
21{
22private:
23 MenuDropdownConfig config;
24public:
26 {
27 addUIComponent<LoadingUI>();
28 addUIComponent<SavingUI>();
29 addUIComponent<NewMapUI>();
30 addUIComponent<CameraPanel>();
31 addUIComponent<ScenePanel>();
32 addUIComponent<VisibleEntitiesPanel>();
33 addUIComponent<HelpPanel>();
34 addUIComponent<FPSCounter>();
35 }
36
37 void setConfig(const MenuDropdownConfig& cfg) { config = cfg; }
38 void OnImGuiRender() override;
39};
Definition IScene.h:25
Definition MenuDropdown.h:21
Definition UIElement.h:16
Definition MenuDropdown.h:16