yaze
0.3.2
Link to the Past ROM Editor
Loading...
Searching...
No Matches
tile8_selector_view.cc
Go to the documentation of this file.
1
#include "
app/editor/overworld/ui/tiles/tile8_selector_view.h
"
2
3
#include "
app/editor/overworld/ui/shared/overworld_window_context.h
"
4
#include "
app/editor/registry/panel_registration.h
"
5
6
namespace
yaze::editor
{
7
8
void
Tile8SelectorView::Draw
(
bool
* p_open) {
9
(void)p_open;
10
const
auto
ctx =
CurrentOverworldWindowContext
();
11
if
(!ctx)
12
return
;
13
ctx.editor->DrawTile8Selector();
14
}
15
16
REGISTER_PANEL
(
Tile8SelectorView
);
17
18
}
// namespace yaze::editor
yaze::editor::Tile8SelectorView
Low-level 8x8 tile editing interface.
Definition
tile8_selector_view.h:16
yaze::editor::Tile8SelectorView::Draw
void Draw(bool *p_open) override
Draw the panel content.
Definition
tile8_selector_view.cc:8
yaze::editor
Editors are the view controllers for the application.
Definition
patch_export_usage.cc:9
yaze::editor::CurrentOverworldWindowContext
OverworldWindowContext CurrentOverworldWindowContext()
Definition
overworld_panel_access.h:11
overworld_window_context.h
panel_registration.h
REGISTER_PANEL
#define REGISTER_PANEL(PanelClass)
Auto-registration macro for panels with default constructors.
Definition
panel_registration.h:39
tile8_selector_view.h
src
app
editor
overworld
ui
tiles
tile8_selector_view.cc
Generated by
1.10.0