Elevate Engine 1
Loading...
Searching...
No Matches
ScenePanel.h
Go to the documentation of this file.
1#pragma once
2#ifdef EE_EDITOR_BUILD
3
4#include <string>
5
6#include <glm/glm.hpp>
8
9namespace Elevate::Editor
10{
11 class EditorLayer;
12
13 class ScenePanel : public EditorWidget
14 {
15 public:
16 void OnImGuiRender() override;
17
18 private:
19 void UpdateViewportAspectRatio();
20 std::string GetAspectRatioText(glm::ivec2 ar);
21
22 private:
23 // Editor tool option
24 int m_CurrentEditorTool = 7;
25
26 // Aspect Ratio Selection
27 int m_AspectRatioValue = 3;
28
29 const glm::ivec2 s_AspectRatioSettings[5] =
30 {
31 { 3, 2 },
32 { 4, 3 },
33 { 5, 4 },
34 { 16, 9 },
35 { 16, 10 }
36 };
37 };
38}
39
40#endif // EE_EDITOR_BUILD