Show info about logcat command

This commit is contained in:
blankie 2022-12-31 20:06:49 +07:00
parent 6632e58e61
commit 2ae03e1ff1
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
2 changed files with 2 additions and 22 deletions

View File

@ -5,12 +5,12 @@
static inline void settings_window(Config& inactive_config, bool* show_settings_window) { static inline void settings_window(Config& inactive_config, bool* show_settings_window) {
// by default, the settings window is a bit cramped // 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)) { if (!ImGui::Begin("Settings", show_settings_window)) {
ImGui::End(); ImGui::End();
return; 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::InputTextWithHint("Logcat command", "adb logcat -Dv 'threadtime UTC epoch usec'", &inactive_config.logcat_command);
ImGui::End(); ImGui::End();
} }

View File

@ -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