xo-imgui: support dynamic vsync_enabled setting + demo in ex4
This commit is contained in:
parent
5fcfadce9a
commit
b4a8ecd7d6
5 changed files with 58 additions and 14 deletions
|
|
@ -741,7 +741,7 @@ DrawState::draw_gc_state(const AppState & app_state,
|
|||
/* TODO: does this reset coord space? */
|
||||
ImRect alloc_rect;
|
||||
{
|
||||
ImGui::BeginChild("top pane", ImVec2(0, 105), ImGuiChildFlags_Border | ImGuiChildFlags_ResizeY);
|
||||
ImGui::BeginChild("top pane", ImVec2(0, 200), ImGuiChildFlags_Border | ImGuiChildFlags_ResizeY);
|
||||
|
||||
alloc_rect = ImRect(canvas_rect.top_left() + ImGui::GetWindowContentRegionMin(),
|
||||
canvas_rect.top_left() + ImGui::GetWindowContentRegionMax());
|
||||
|
|
@ -817,7 +817,7 @@ DrawState::draw_gc_state(const AppState & app_state,
|
|||
ImGui::EndChild();
|
||||
}
|
||||
|
||||
ImGui::Text("placeholder text");
|
||||
//ImGui::Text("placeholder text"); // appears below history_rect
|
||||
|
||||
/* BeginChild() again ? */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue