Fullscreen logcat
This commit is contained in:
parent
072466c54f
commit
539ea7aa27
|
@ -60,7 +60,11 @@ void main_window(bool latest_log_entries_read, ImFont* monospace_font,
|
||||||
const Config& active_config, Config& inactive_config,
|
const Config& active_config, Config& inactive_config,
|
||||||
const Filters& active_filters, Filters& inactive_filters,
|
const Filters& active_filters, Filters& inactive_filters,
|
||||||
bool* show_settings_window, bool* show_filters_window, bool* show_logs_window, bool* run_event_loop) {
|
bool* show_settings_window, bool* show_filters_window, bool* show_logs_window, bool* run_event_loop) {
|
||||||
if (!ImGui::Begin("LogMeow", run_event_loop)) {
|
|
||||||
|
ImGui::SetNextWindowPos(ImGui::GetMainViewport()->WorkPos);
|
||||||
|
ImGui::SetNextWindowSize(ImGui::GetMainViewport()->WorkSize);
|
||||||
|
if (!ImGui::Begin("LogMeow", run_event_loop,
|
||||||
|
ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoBringToFrontOnFocus)) {
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue