14 if (
auto status = ow_editor->DrawAreaGraphics(); !status.ok()) {
15 LOG_ERROR(
"AreaGraphicsPanel",
"Failed to draw: %s",
16 status.ToString().c_str());
Displays the current area's GFX sheet for preview.
void Draw(bool *p_open) override
Draw the panel content.
#define LOG_ERROR(category, format,...)
Editors are the view controllers for the application.
OverworldEditor * CurrentOverworldEditor()
#define REGISTER_PANEL(PanelClass)
Auto-registration macro for panels with default constructors.