yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
tile16_editor_panel.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_OVERWORLD_PANELS_TILE16_EDITOR_PANEL_H
2#define YAZE_APP_EDITOR_OVERWORLD_PANELS_TILE16_EDITOR_PANEL_H
3
6
7namespace yaze {
8namespace editor {
9
10class Tile16Editor;
11
20 public:
21 explicit Tile16EditorPanel(Tile16Editor* editor) : editor_(editor) {}
22
23 // EditorPanel interface
24 std::string GetId() const override { return "overworld.tile16_editor"; }
25 std::string GetDisplayName() const override { return "Tile16 Editor"; }
26 std::string GetIcon() const override { return ICON_MD_EDIT; }
27 std::string GetEditorCategory() const override { return "Overworld"; }
28 int GetPriority() const override { return 15; } // After selector (10)
29 float GetPreferredWidth() const override { return 500.0f; }
30
31 void Draw(bool* p_open) override;
32
33 private:
35};
36
37} // namespace editor
38} // namespace yaze
39
40#endif // YAZE_APP_EDITOR_OVERWORLD_PANELS_TILE16_EDITOR_PANEL_H
Base interface for all logical panel components.
EditorPanel wrapper for Tile16Editor.
std::string GetIcon() const override
Material Design icon for this panel.
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
int GetPriority() const override
Get display priority for menu ordering.
float GetPreferredWidth() const override
Get preferred width for this panel (optional)
std::string GetId() const override
Unique identifier for this panel.
std::string GetEditorCategory() const override
Editor category this panel belongs to.
Tile16EditorPanel(Tile16Editor *editor)
void Draw(bool *p_open) override
Draw the panel content.
Popup window to edit Tile16 data.
#define ICON_MD_EDIT
Definition icons.h:645