1#ifndef YAZE_APP_EDITOR_DUNGEON_PANELS_DUNGEON_EMULATOR_PREVIEW_PANEL_H_
2#define YAZE_APP_EDITOR_DUNGEON_PANELS_DUNGEON_EMULATOR_PREVIEW_PANEL_H_
33 std::string
GetId()
const override {
return "dungeon.emulator_preview"; }
34 std::string
GetDisplayName()
const override {
return "SNES Object Preview"; }
43 void Draw(
bool* p_open)
override {
EditorPanel wrapper for DungeonObjectEmulatorPreview.
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
std::string GetEditorCategory() const override
Editor category this panel belongs to.
gui::DungeonObjectEmulatorPreview * preview() const
std::string GetId() const override
Unique identifier for this panel.
void OnClose() override
Called when panel is hidden.
DungeonEmulatorPreviewPanel(gui::DungeonObjectEmulatorPreview *preview)
int GetPriority() const override
Get display priority for menu ordering.
gui::DungeonObjectEmulatorPreview * preview_
void Draw(bool *p_open) override
Draw the panel content.
std::string GetIcon() const override
Material Design icon for this panel.
Base interface for all logical panel components.
void set_visible(bool visible)