From 2ae03e1ff1350d0a03f6920a68b50755435520a6 Mon Sep 17 00:00:00 2001 From: blankie Date: Sat, 31 Dec 2022 20:06:49 +0700 Subject: [PATCH] Show info about logcat command --- event_loop.cpp | 4 ++-- imgui.ini | 20 -------------------- 2 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 imgui.ini diff --git a/event_loop.cpp b/event_loop.cpp index b6591ea..03e544e 100644 --- a/event_loop.cpp +++ b/event_loop.cpp @@ -5,12 +5,12 @@ static inline void settings_window(Config& inactive_config, bool* show_settings_window) { // by default, the settings window is a bit cramped - ImGui::SetNextWindowSize(ImVec2(575, 75), ImGuiCond_FirstUseEver); + ImGui::SetNextWindowSize(ImVec2(665, 80), ImGuiCond_FirstUseEver); if (!ImGui::Begin("Settings", show_settings_window)) { ImGui::End(); return; } - ImGui::Text("Persistence coming soon(tm)"); + ImGui::TextWrapped("Modifying logcat command will take effect after closing this window and will restart logcat"); ImGui::InputTextWithHint("Logcat command", "adb logcat -Dv 'threadtime UTC epoch usec'", &inactive_config.logcat_command); ImGui::End(); } diff --git a/imgui.ini b/imgui.ini deleted file mode 100644 index 7e4db8e..0000000 --- a/imgui.ini +++ /dev/null @@ -1,20 +0,0 @@ -[Window][Debug##Default] -Pos=60,60 -Size=400,400 -Collapsed=0 - -[Window][LogMeow] -Pos=60,60 -Size=339,94 -Collapsed=0 - -[Window][Exit?] -Pos=549,324 -Size=264,71 -Collapsed=0 - -[Window][Settings] -Pos=88,228 -Size=575,75 -Collapsed=0 -