TazGraph Project v0.1.0
Loading...
Searching...
No Matches
UIElement.h
1#pragma once
2#include <string>
3#include <imgui.h>
4#include <implot/implot.h>
5#include <glm/glm.hpp>
6#include <ImGuizmo/ImGuizmo.h>
7#include <imguiComboAutoselect/imgui_combo_autoselect.h>
8#include <vector>
9#include <utility>
10
11#include <BaseFPSLimiter/BaseFPSLimiter.h>
12#include <DataManager/DataManager.h>
13
14#include "GECS/Components.h"
15#include "GECS/UtilComponents.h"
16#include "GECS/Core/GECSManager.h"
17
18#include <GECS/Core/GECSUtil.h>
19
20
21class UIElement {
22public:
23 UIElement() = default;
24 virtual ~UIElement() = default;
25 virtual void update(float deltaTime = 0.0f) {} //no need to implement
26 virtual void OnImGuiRender() = 0; //must implement
27
28protected:
29 std::string name;
30 bool visible = true;
31};
Definition UIElement.h:21