2023-02-01 15:22:08 +00:00
|
|
|
#include <imgui.h>
|
|
|
|
|
2023-02-04 07:31:50 +00:00
|
|
|
#include "../misc.h"
|
2023-02-01 15:22:08 +00:00
|
|
|
#include "../fragments/filters.h"
|
|
|
|
#include "../filters.h"
|
|
|
|
#include "../config.h"
|
|
|
|
#include "exclusions.h"
|
|
|
|
|
|
|
|
void exclusions_window(Config& active_config, Config& inactive_config,
|
|
|
|
const std::vector<LogcatEntry>& logcat_entries, std::vector<size_t>& filtered_logcat_entry_offsets,
|
|
|
|
bool* p_open) {
|
2023-02-04 07:31:50 +00:00
|
|
|
if (!ImGui::BeginWithCloseShortcut("Exclusions", p_open)) {
|
2023-02-01 15:22:08 +00:00
|
|
|
ImGui::End();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
filters_fragment(active_config, active_config.exclusions, inactive_config.exclusions, logcat_entries, filtered_logcat_entry_offsets, p_open);
|
|
|
|
|
|
|
|
ImGui::End();
|
|
|
|
}
|