WindowContent wrapper for PaletteEditorWidget in dungeon context.
void SetCurrentRoomPalette(int palette_id)
Set the current palette ID based on the active room.
void Draw(bool *p_open) override
Draw the panel content.
PaletteEditorContent(gui::PaletteEditorWidget *palette_editor)
gui::PaletteEditorWidget * palette_editor() const
int GetPriority() const override
Get display priority for menu ordering.
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
float GetPreferredWidth() const override
Get preferred width for this panel (optional)
std::string GetId() const override
Unique identifier for this panel.
gui::PaletteEditorWidget * palette_editor_
std::string GetEditorCategory() const override
Editor category this panel belongs to.
std::string GetIcon() const override
Material Design icon for this panel.
Base interface for all logical window content components.