yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
overworld_canvas_panel.cc
Go to the documentation of this file.
2
6
7namespace yaze::editor {
8
9void OverworldCanvasPanel::Draw(bool* p_open) {
11 if (!editor) return;
12
13 if (auto* ow_editor = dynamic_cast<OverworldEditor*>(editor)) {
14 ow_editor->DrawOverworldCanvas();
15 }
16}
17
19
20} // namespace yaze::editor
The main canvas panel for the Overworld Editor.
void Draw(bool *p_open) override
Draw the panel content.
Main UI class for editing overworld maps in A Link to the Past.
Editor * current_editor()
Get the currently active editor.
Editors are the view controllers for the application.
#define REGISTER_PANEL(PanelClass)
Auto-registration macro for panels with default constructors.