1#ifndef YAZE_APP_EDITOR_SPRITE_PANELS_SPRITE_EDITOR_PANELS_H_
2#define YAZE_APP_EDITOR_SPRITE_PANELS_SPRITE_EDITOR_PANELS_H_
30 std::string
GetId()
const override {
return "sprite.vanilla_editor"; }
38 void Draw(
bool* p_open)
override {
61 std::string
GetId()
const override {
return "sprite.custom_editor"; }
68 void Draw(
bool* p_open)
override {
EditorPanel for Custom Sprite Editor (ZSM format)
DrawCallback draw_callback_
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)
int GetPriority() const override
Get display priority for menu ordering.
std::string GetIcon() const override
Material Design icon for this panel.
std::function< void()> DrawCallback
std::string GetEditorCategory() const override
Editor category this panel belongs to.
void Draw(bool *p_open) override
Draw the panel content.
std::string GetId() const override
Unique identifier for this panel.
CustomSpriteEditorPanel(DrawCallback draw_callback)
Base interface for all logical panel components.
EditorPanel for Vanilla Sprite Editor.
VanillaSpriteEditorPanel(DrawCallback draw_callback)
void Draw(bool *p_open) override
Draw the panel content.
DrawCallback draw_callback_
std::string GetId() const override
Unique identifier for this panel.
std::string GetEditorCategory() const override
Editor category this panel belongs to.
bool IsVisibleByDefault() const override
Whether this panel should be visible by default.
std::string GetIcon() const override
Material Design icon for this panel.
float GetPreferredWidth() const override
Get preferred width for this panel (optional)
std::function< void()> DrawCallback
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
int GetPriority() const override
Get display priority for menu ordering.
#define ICON_MD_ADD_CIRCLE
#define ICON_MD_SMART_TOY