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
6
7namespace yaze::editor {
8
9void DebugWindowPanel::Draw(bool* p_open) {
10 auto* ow_editor = CurrentOverworldEditor();
11 if (!ow_editor)
12 return;
13
14 // Delegate to existing DebugWindowCard
15 if (auto* card = ow_editor->debug_window_card()) {
16 card->Draw(p_open);
17 }
18}
19
21
22} // namespace yaze::editor
Displays debug information for the Overworld Editor.
void Draw(bool *p_open) override
Draw the panel content.
Editors are the view controllers for the application.
OverworldEditor * CurrentOverworldEditor()
#define REGISTER_PANEL(PanelClass)
Auto-registration macro for panels with default constructors.