Polyphase Game Engine
Loading...
Searching...
No Matches
AppSettingsWindow.h
Go to the documentation of this file.
1#pragma once
2
3#if EDITOR
4
5#include <string>
6
7class AppSettingsWindow
8{
9public:
10 AppSettingsWindow();
11 ~AppSettingsWindow();
12
13 void Open();
14 void Close();
15 void Draw();
16 bool IsOpen() const { return mIsOpen; }
17
18private:
19 void DrawGeneralSection();
20 void DrawWindowSection();
21 void DrawGraphicsSection();
22 void DrawRuntimeSection();
23 void DrawInputSection();
24 void DrawPackagingSection();
25 void DrawIconSection();
26
27 bool mIsOpen = false;
28 bool mDirty = false;
29
30 // Text input buffers
31 char mProjectNameBuffer[256] = {};
32 char mDefaultSceneBuffer[256] = {};
33 char mDefaultEditorSceneBuffer[256] = {};
34 char mIconPathBuffer[512] = {};
35};
36
37AppSettingsWindow* GetAppSettingsWindow();
38
39#endif