rexglue-skate3/include/rex/ui/overlay/ultrawide_targets_overlay.h
2026-06-10 05:53:12 +01:00

36 lines
821 B
C++

#pragma once
#include <filesystem>
#include <functional>
#include <rex/ui/imgui_dialog.h>
namespace rex::ui {
class UltrawideTargetsDialog final : public ImGuiDialog {
public:
using CloseCallback = std::function<void()>;
UltrawideTargetsDialog(ImGuiDrawer* drawer, std::filesystem::path export_path,
CloseCallback close_callback = {});
~UltrawideTargetsDialog();
void Show();
void Toggle();
void Hide();
bool visible() const { return visible_; }
protected:
void OnDraw(ImGuiIO& io) override;
private:
std::filesystem::path export_path_;
CloseCallback close_callback_;
bool visible_ = false;
bool show_only_seen_ = true;
bool draw_section_expanded_ = false;
bool draw_show_exact_fingerprints_ = false;
int draw_group_mode_ = 1;
};
} // namespace rex::ui