yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
tile16_editor_view.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_OVERWORLD_UI_TILES_TILE16_EDITOR_VIEW_H
2#define YAZE_APP_EDITOR_OVERWORLD_UI_TILES_TILE16_EDITOR_VIEW_H
3
6
7namespace yaze::editor {
8
21 public:
22 Tile16EditorView() = default;
23
24 // WindowContent interface
25 std::string GetId() const override { return "overworld.tile16_editor"; }
26 std::string GetDisplayName() const override { return "Tile16 Editor"; }
27 std::string GetIcon() const override { return ICON_MD_EDIT; }
28 std::string GetEditorCategory() const override { return "Overworld"; }
29 int GetPriority() const override { return 15; } // After selector (10)
30 float GetPreferredWidth() const override { return 1180.0f; }
31 float GetPreferredHeight() const override { return 760.0f; }
32
33 void Draw(bool* p_open) override;
34};
35
36} // namespace yaze::editor
37
38#endif // YAZE_APP_EDITOR_OVERWORLD_UI_TILES_TILE16_EDITOR_VIEW_H
WindowContent wrapper for Tile16Editor.
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 GetEditorCategory() const override
Editor category this panel belongs to.
int GetPriority() const override
Get display priority for menu ordering.
float GetPreferredHeight() const override
Get preferred height for this panel (optional)
void Draw(bool *p_open) override
Draw the panel content.
std::string GetId() const override
Unique identifier for this panel.
std::string GetIcon() const override
Material Design icon for this panel.
Base interface for all logical window content components.
#define ICON_MD_EDIT
Definition icons.h:645
Editors are the view controllers for the application.