4#include "imgui/imgui.h"
11 if (params->
editor ==
nullptr) {
12 return absl::InternalError(
"Editor is not initialized");
17 ImGui::BeginTable(
"##VerticalSplitTable", 2);
19 ImGui::TableNextColumn();
23 ImGui::TableNextColumn();
29 ImGui::BeginTable(
"##HorizontalSplitTable", 1);
31 ImGui::TableNextColumn();
35 ImGui::TableNextColumn();
42 ImGui::Text(
"%s Editor",
47 return absl::OkStatus();
virtual absl::Status Update()=0
#define RETURN_IF_ERROR(expression)
absl::Status DrawEditor(EditorLayoutParams *params)
constexpr std::array< const char *, 10 > kEditorNames
Dynamic Editor Layout Parameters.
EditorLayoutParams * right
EditorLayoutParams * left
EditorLayoutParams * bottom