mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Initial integration of Mixer, Views and Source classes.
First tests with user interface and Mixing View
This commit is contained in:
@@ -77,7 +77,7 @@ void ImGuiVisitor::visit(Primitive &n)
|
||||
ImGui::PushID(n.id());
|
||||
ImGui::Text("Primitive");
|
||||
|
||||
n.getShader()->accept(*this);
|
||||
n.shader()->accept(*this);
|
||||
|
||||
ImGui::PopID();
|
||||
}
|
||||
@@ -89,7 +89,7 @@ void ImGuiVisitor::visit(ImageSurface &n)
|
||||
|
||||
void ImGuiVisitor::visit(MediaSurface &n)
|
||||
{
|
||||
ImGui::Text("%s", n.getResource().c_str());
|
||||
ImGui::Text("%s", n.getUri().c_str());
|
||||
|
||||
if (n.getMediaPlayer())
|
||||
n.getMediaPlayer()->accept(*this);
|
||||
@@ -152,7 +152,7 @@ void ImGuiVisitor::visit(Scene &n)
|
||||
ImGui::SetNextItemOpen(true, ImGuiCond_Once);
|
||||
if (ImGui::CollapsingHeader("Scene Property Tree"))
|
||||
{
|
||||
n.getRoot()->accept(*this);
|
||||
n.root()->accept(*this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user