16 if (
auto status = ctx.editor->DrawScratchSpace(); !status.ok()) {
17 LOG_ERROR(
"ScratchSpaceView",
"Failed to draw: %s",
18 status.ToString().c_str());
Provides a scratch workspace for layout planning and clipboard operations.
void Draw(bool *p_open) override
Draw the panel content.
#define LOG_ERROR(category, format,...)
Editors are the view controllers for the application.
OverworldWindowContext CurrentOverworldWindowContext()
#define REGISTER_PANEL(PanelClass)
Auto-registration macro for panels with default constructors.