yaze
0.3.2
Link to the Past ROM Editor
Loading...
Searching...
No Matches
v3_settings_panel.cc
Go to the documentation of this file.
1
#include "
app/editor/overworld/panels/v3_settings_panel.h
"
2
3
#include "
app/editor/core/panel_registration.h
"
4
#include "
app/editor/overworld/panels/overworld_panel_access.h
"
5
6
namespace
yaze::editor
{
7
8
void
V3SettingsPanel::Draw
(
bool
* p_open) {
9
(void)p_open;
10
auto
* ow_editor =
CurrentOverworldEditor
();
11
if
(!ow_editor)
12
return
;
13
ow_editor->DrawV3Settings();
14
}
15
16
REGISTER_PANEL
(
V3SettingsPanel
);
17
18
}
// namespace yaze::editor
yaze::editor::V3SettingsPanel
ZSCustomOverworld configuration settings.
Definition
v3_settings_panel.h:16
yaze::editor::V3SettingsPanel::Draw
void Draw(bool *p_open) override
Draw the panel content.
Definition
v3_settings_panel.cc:8
panel_registration.h
yaze::editor
Editors are the view controllers for the application.
Definition
patch_export_usage.cc:9
yaze::editor::CurrentOverworldEditor
OverworldEditor * CurrentOverworldEditor()
Definition
overworld_panel_access.h:15
overworld_panel_access.h
REGISTER_PANEL
#define REGISTER_PANEL(PanelClass)
Auto-registration macro for panels with default constructors.
Definition
panel_registration.h:39
v3_settings_panel.h
src
app
editor
overworld
panels
v3_settings_panel.cc
Generated by
1.10.0