Cleanup and fixed implementation of clone and render sources.

This commit is contained in:
brunoherbelin
2020-05-23 11:29:27 +02:00
parent 0eb31c7adc
commit 781023a93d
14 changed files with 477 additions and 152 deletions

View File

@@ -295,6 +295,11 @@ void ImGuiVisitor::visit (RenderSource& s)
{
// ImGui::Button("Expand", ImVec2(IMGUI_RIGHT_ALIGN, 0));
ImGui::Text("Render");
if (ImGui::Button("Reconnect", ImVec2(IMGUI_RIGHT_ALIGN, 0)) )
s.reconnect();
}
void ImGuiVisitor::visit (CloneSource& s)
{
// ImGui::Button("Expand", ImVec2(IMGUI_RIGHT_ALIGN, 0));
ImGui::Text("Clone of %s", s.origin()->name());
}