yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
tile16_selector_panel.cc
Go to the documentation of this file.
2
3#include "absl/status/status.h"
5
6namespace yaze {
7namespace editor {
8
9void Tile16SelectorPanel::Draw(bool* p_open) {
10 // Call the existing DrawTile16Selector implementation
11 if (auto status = editor_->DrawTile16Selector(); !status.ok()) {
12 // Log error but don't crash the panel
13 LOG_ERROR("Tile16SelectorPanel", "Failed to draw: %s",
14 status.ToString().c_str());
15 }
16}
17
18} // namespace editor
19} // namespace yaze
void Draw(bool *p_open) override
Draw the panel content.
#define LOG_ERROR(category, format,...)
Definition log.h:109