yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
scratch_space_panel.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_OVERWORLD_PANELS_SCRATCH_SPACE_PANEL_H
2#define YAZE_APP_EDITOR_OVERWORLD_PANELS_SCRATCH_SPACE_PANEL_H
3
6
7namespace yaze {
8namespace editor {
9
10class OverworldEditor;
11
20 public:
21 explicit ScratchSpacePanel(OverworldEditor* editor) : editor_(editor) {}
22
23 // EditorPanel interface
24 std::string GetId() const override { return "overworld.scratch"; }
25 std::string GetDisplayName() const override { return "Scratch Workspace"; }
26 std::string GetIcon() const override { return ICON_MD_DRAW; }
27 std::string GetEditorCategory() const override { return "Overworld"; }
28 void Draw(bool* p_open) override;
29
30 private:
32};
33
34} // namespace editor
35} // namespace yaze
36
37#endif // YAZE_APP_EDITOR_OVERWORLD_PANELS_SCRATCH_SPACE_PANEL_H
Base interface for all logical panel components.
Main UI class for editing overworld maps in A Link to the Past.
Provides a scratch workspace for layout planning and clipboard operations.
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
void Draw(bool *p_open) override
Draw the panel content.
std::string GetIcon() const override
Material Design icon for this panel.
ScratchSpacePanel(OverworldEditor *editor)
std::string GetEditorCategory() const override
Editor category this panel belongs to.
std::string GetId() const override
Unique identifier for this panel.
#define ICON_MD_DRAW
Definition icons.h:625