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.
1
#include "
app/editor/overworld/panels/debug_window_panel.h
"
2
3
#include "
app/editor/overworld/overworld_editor.h
"
4
#include "
app/editor/overworld/debug_window_card.h
"
5
6
namespace
yaze
{
7
namespace
editor {
8
9
void
DebugWindowPanel::Draw
(
bool
* p_open) {
10
// Delegate to existing DebugWindowCard
11
if
(
auto
* card =
editor_
->
debug_window_card
()) {
12
card->Draw(p_open);
13
}
14
}
15
16
}
// namespace editor
17
}
// namespace yaze
yaze::editor::DebugWindowPanel::Draw
void Draw(bool *p_open) override
Draw the panel content.
Definition
debug_window_panel.cc:9
yaze::editor::DebugWindowPanel::editor_
OverworldEditor * editor_
Definition
debug_window_panel.h:28
yaze::editor::OverworldEditor::debug_window_card
DebugWindowCard * debug_window_card()
Access debug window card for panel.
Definition
overworld_editor.h:281
debug_window_card.h
debug_window_panel.h
yaze
Definition
application.cc:18
overworld_editor.h
src
app
editor
overworld
panels
debug_window_panel.cc
Generated by
1.10.0