Refactor gallery function to separate class (#14)

* refactor gallery function to separate class

* typo and version adaptions

* clang-format
This commit is contained in:
m-aXimilian
2025-10-11 01:29:33 +02:00
committed by Maximilian Kueffner
parent d6a08f7db3
commit a760535b92
9 changed files with 153 additions and 105 deletions
-4
View File
@@ -84,14 +84,10 @@ void pixelarium::application::AppGLFW::InitMainWindow()
IMGUI_CHECKVERSION();
ImGui::CreateContext();
ImGuiIO& io = ImGui::GetIO();
(void)io;
io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard; // Enable Keyboard Controls
io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad; // Enable Gamepad Controls
io.ConfigFlags |= ImGuiConfigFlags_DockingEnable; // Enable Docking
io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable; // Enable Multi-Viewport / Platform
// Windows
// io.ConfigViewportsNoAutoMerge = true;
// io.ConfigViewportsNoTaskBarIcon = true;
// Setup Dear ImGui style
ImGui::StyleColorsDark();