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