1#ifndef YAZE_APP_EDITOR_DUNGEON_PANELS_OVERLAY_MANAGER_PANEL_H
2#define YAZE_APP_EDITOR_DUNGEON_PANELS_OVERLAY_MANAGER_PANEL_H
6#include "imgui/imgui.h"
10class DungeonCanvasViewer;
38 std::string
GetId()
const override {
return "dungeon.overlay_manager"; }
44 void Draw(
bool* p_open)
override {
45 if (!p_open || !*p_open)
48 ImGui::SetNextWindowSize(ImVec2(260, 360), ImGuiCond_FirstUseEver);
55 if (ImGui::SmallButton(
"All On")) {
59 if (ImGui::SmallButton(
"All Off")) {
93 ImGui::BeginDisabled();
95 ImGui::Checkbox(label, &dummy);
98 ImGui::Checkbox(label, value);
117 for (
auto* p : ptrs) {
Base interface for all logical panel components.
std::string GetEditorCategory() const override
Editor category this panel belongs to.
std::string GetIcon() const override
Material Design icon for this panel.
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
void OverlayToggle(const char *label, bool *value)
void Draw(bool *p_open) override
Draw the panel content.
OverlayManagerPanel(OverlayState state)
void SetState(OverlayState state)
OverlayManagerPanel()=default
int GetPriority() const override
Get display priority for menu ordering.
std::string GetId() const override
Unique identifier for this panel.
#define ICON_MD_VISIBILITY
#define ICON_MD_BUG_REPORT
Editors are the view controllers for the application.
bool * show_room_debug_info
bool * show_coordinate_overlay
bool * show_camera_quadrants
bool * show_custom_collision
bool * show_minecart_sprites
bool * show_minecart_tracks
bool * show_texture_debug
bool * show_collision_legend
bool * show_track_collision
bool * show_object_bounds