yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
tile8_selector_view.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_OVERWORLD_UI_TILES_TILE8_SELECTOR_VIEW_H
2#define YAZE_APP_EDITOR_OVERWORLD_UI_TILES_TILE8_SELECTOR_VIEW_H
3
6
7namespace yaze::editor {
8
17 public:
18 Tile8SelectorView() = default;
19
20 // WindowContent interface
21 std::string GetId() const override { return "overworld.tile8_selector"; }
22 std::string GetWorkflowGroup() const override { return "Editors"; }
23 std::string GetDisplayName() const override { return "Tile8 Selector"; }
24 std::string GetIcon() const override { return ICON_MD_GRID_3X3; }
25 std::string GetEditorCategory() const override { return "Overworld"; }
26 float GetPreferredWidth() const override {
27 // Graphics bin width (256px) + padding = 276px
28 return 256.0f + 20.0f;
29 }
30 void Draw(bool* p_open) override;
31};
32
33} // namespace yaze::editor
34
35#endif // YAZE_APP_EDITOR_OVERWORLD_UI_TILES_TILE8_SELECTOR_VIEW_H
Low-level 8x8 tile editing interface.
std::string GetEditorCategory() const override
Editor category this panel belongs to.
std::string GetId() const override
Unique identifier for this panel.
void Draw(bool *p_open) override
Draw the panel content.
float GetPreferredWidth() const override
Get preferred width for this panel (optional)
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.
std::string GetWorkflowGroup() const override
Optional workflow group for hack-centric actions.
Base interface for all logical window content components.
#define ICON_MD_GRID_3X3
Definition icons.h:892
Editors are the view controllers for the application.