add title bar and yaze color theme to ios app

This commit is contained in:
scawful
2024-08-02 18:43:27 -04:00
parent 63a5576f97
commit 3c6cb0417d

View File

@@ -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();