yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
debug_window_panel.cc
Go to the documentation of this file.
2
7
8namespace yaze::editor {
9
10void DebugWindowPanel::Draw(bool* p_open) {
12 if (!editor) return;
13
14 if (auto* ow_editor = dynamic_cast<OverworldEditor*>(editor)) {
15 // Delegate to existing DebugWindowCard
16 if (auto* card = ow_editor->debug_window_card()) {
17 card->Draw(p_open);
18 }
19 }
20}
21
23
24} // namespace yaze::editor
Displays debug information 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.