From 3c6cb0417d1bcc5b38c13b03074f7a1e7de260c8 Mon Sep 17 00:00:00 2001 From: scawful Date: Fri, 2 Aug 2024 18:43:27 -0400 Subject: [PATCH] add title bar and yaze color theme to ios app --- src/ios/main.mm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ios/main.mm b/src/ios/main.mm index 74a1ac17..c938da90 100644 --- a/src/ios/main.mm +++ b/src/ios/main.mm @@ -58,8 +58,7 @@ io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard; // Enable Keyboard Controls io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad; // Enable Gamepad Controls - // Setup Dear ImGui style - ImGui::StyleColorsDark(); + yaze::app::gui::ColorsYaze(); SDL_SetMainReady(); SDL_iOSSetEventPump(SDL_TRUE); @@ -165,7 +164,7 @@ if (ImGui::Begin("##YazeMain", nullptr, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_MenuBar | - ImGuiWindowFlags_NoBringToFrontOnFocus | ImGuiWindowFlags_NoTitleBar)) { + ImGuiWindowFlags_NoBringToFrontOnFocus)) { auto controller_status = _controller->OnLoad(); if (!controller_status.ok()) { abort();