1#ifndef YAZE_APP_EDITOR_DUNGEON_PANELS_DUNGEON_ROOM_GRAPHICS_PANEL_H_
2#define YAZE_APP_EDITOR_DUNGEON_PANELS_DUNGEON_ROOM_GRAPHICS_PANEL_H_
12#include "imgui/imgui.h"
37 std::array<zelda3::Room, 0x128>* rooms,
57 std::string
GetId()
const override {
return "dungeon.room_graphics"; }
67 void Draw(
bool* p_open)
override;
71 std::array<zelda3::Room, 0x128>*
rooms_ =
nullptr;
EditorPanel for displaying room graphics blocks.
int GetPriority() const override
Get display priority for menu ordering.
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
std::string GetId() const override
Unique identifier for this panel.
DungeonRoomGraphicsPanel()
std::string GetEditorCategory() const override
Editor category this panel belongs to.
DungeonRoomGraphicsPanel(int *current_room_id, std::array< zelda3::Room, 0x128 > *rooms, gfx::IRenderer *renderer=nullptr)
gfx::IRenderer * renderer_
gfx::PaletteGroup current_palette_group_
void SetCurrentPaletteGroup(const gfx::PaletteGroup &group)
Set the current palette group for graphics rendering.
std::array< zelda3::Room, 0x128 > * rooms_
std::string GetIcon() const override
Material Design icon for this panel.
void Draw(bool *p_open) override
Draw the panel content.
gui::Canvas room_gfx_canvas_
Base interface for all logical panel components.
Defines an abstract interface for all rendering operations.
Modern, robust canvas for drawing and manipulating graphics.
Represents a group of palettes.