yaze
0.3.2
Link to the Past ROM Editor
Loading...
Searching...
No Matches
overworld_panel_access.h
Go to the documentation of this file.
1
#ifndef YAZE_APP_EDITOR_OVERWORLD_PANELS_OVERWORLD_PANEL_ACCESS_H
2
#define YAZE_APP_EDITOR_OVERWORLD_PANELS_OVERWORLD_PANEL_ACCESS_H
3
4
#include "
app/editor/core/window_context.h
"
5
#include "
app/editor/overworld/overworld_editor.h
"
6
7
namespace
yaze::editor
{
8
9
using
OverworldWindowContext
=
TypedWindowContext<OverworldEditor>
;
10
11
inline
OverworldWindowContext
CurrentOverworldWindowContext
() {
12
return
CurrentTypedWindowContext<OverworldEditor>(
"Overworld"
);
13
}
14
15
inline
OverworldEditor
*
CurrentOverworldEditor
() {
16
auto
ctx =
CurrentOverworldWindowContext
();
17
return
ctx.editor;
18
}
19
20
}
// namespace yaze::editor
21
22
#endif
// YAZE_APP_EDITOR_OVERWORLD_PANELS_OVERWORLD_PANEL_ACCESS_H
yaze::editor::OverworldEditor
Main UI class for editing overworld maps in A Link to the Past.
Definition
overworld_editor.h:131
window_context.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
yaze::editor::CurrentOverworldWindowContext
OverworldWindowContext CurrentOverworldWindowContext()
Definition
overworld_panel_access.h:11
overworld_editor.h
yaze::editor::TypedWindowContext
Definition
window_context.h:11
src
app
editor
overworld
panels
overworld_panel_access.h
Generated by
1.10.0