yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
tile16_editor_panel.cc
Go to the documentation of this file.
2
4#include "util/log.h"
5
6namespace yaze {
7namespace editor {
8
9void Tile16EditorPanel::Draw(bool* p_open) {
10 // Call the panel-friendly update method (no MenuBar required)
11 if (auto status = editor_->UpdateAsPanel(); !status.ok()) {
12 LOG_ERROR("Tile16EditorPanel", "Failed to draw: %s",
13 status.ToString().c_str());
14 }
15}
16
17} // namespace editor
18} // namespace yaze
void Draw(bool *p_open) override
Draw the panel content.
absl::Status UpdateAsPanel()
Update the editor content without MenuBar (for EditorPanel usage)
#define LOG_ERROR(category, format,...)
Definition log.h:109