1#ifndef YAZE_APP_EDITOR_DUNGEON_PANELS_DUNGEON_PALETTE_EDITOR_PANEL_H_
2#define YAZE_APP_EDITOR_DUNGEON_PANELS_DUNGEON_PALETTE_EDITOR_PANEL_H_
32 std::string
GetId()
const override {
return "dungeon.palette_editor"; }
42 void Draw(
bool* p_open)
override {
EditorPanel wrapper for PaletteEditorWidget in dungeon context.
std::string GetIcon() const override
Material Design icon for this panel.
int GetPriority() const override
Get display priority for menu ordering.
gui::PaletteEditorWidget * palette_editor() const
gui::PaletteEditorWidget * palette_editor_
DungeonPaletteEditorPanel(gui::PaletteEditorWidget *palette_editor)
std::string GetEditorCategory() const override
Editor category this panel belongs to.
std::string GetId() const override
Unique identifier for this panel.
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
void Draw(bool *p_open) override
Draw the panel content.
void SetCurrentRoomPalette(int palette_id)
Set the current palette ID based on the active room.
Base interface for all logical panel components.