yaze
0.3.2
Link to the Past ROM Editor
Loading...
Searching...
No Matches
scratch_space_panel.cc
Go to the documentation of this file.
1
#include "
app/editor/overworld/panels/scratch_space_panel.h
"
2
3
#include "
app/editor/overworld/overworld_editor.h
"
4
5
namespace
yaze
{
6
namespace
editor {
7
8
void
ScratchSpacePanel::Draw
(
bool
* p_open) {
9
// Call the existing DrawScratchSpace implementation
10
if
(
auto
status =
editor_
->
DrawScratchSpace
(); !status.ok()) {
11
LOG_ERROR
(
"ScratchSpacePanel"
,
"Failed to draw: %s"
,
12
status.ToString().c_str());
13
}
14
}
15
16
}
// namespace editor
17
}
// namespace yaze
yaze::editor::OverworldEditor::DrawScratchSpace
absl::Status DrawScratchSpace()
Definition
scratch_space.cc:28
yaze::editor::ScratchSpacePanel::editor_
OverworldEditor * editor_
Definition
scratch_space_panel.h:31
yaze::editor::ScratchSpacePanel::Draw
void Draw(bool *p_open) override
Draw the panel content.
Definition
scratch_space_panel.cc:8
LOG_ERROR
#define LOG_ERROR(category, format,...)
Definition
log.h:109
yaze
Definition
application.cc:18
overworld_editor.h
scratch_space_panel.h
src
app
editor
overworld
panels
scratch_space_panel.cc
Generated by
1.10.0