TazGraph Project v0.1.0
Loading...
Searching...
No Matches
CameraPanel.h
1#pragma once
2
3
4#include "../../../UIElement.h"
5#include "SliderRotateZ.h"
6
8
9};
10
11class CameraPanel : public UIElement
12{
13private:
14 int _currentOrientationIndex = 0;
15 CameraPanelConfig config;
16public:
17 bool showCameraPanel = false;
18 CameraPanel() {
19 addUIComponent<SliderRotateZ>();
20 }
21 void setConfig(const CameraPanelConfig& cfg) { config = cfg; }
22 void update(float deltaTime) override;
23 void OnImGuiRender() override;
24};
Definition CameraPanel.h:12
Definition UIElement.h:16
Definition CameraPanel.h:7