Improved Media player timeline: adding time indication and enabling to

scroll in a zoomed-in timeline. Display current time in overlay on
frame.
This commit is contained in:
brunoherbelin
2020-08-04 00:01:30 +02:00
parent 763d8ac423
commit 6f844f722d
8 changed files with 314 additions and 53 deletions

View File

@@ -93,7 +93,7 @@ void ImGuiVisitor::visit(Group &n)
// }
// spacing
ImGui::SetCursorPosY(ImGui::GetCursorPosY() + ImGui::GetTextLineHeight() / 2.f);
ImGui::Spacing();
}
void ImGuiVisitor::visit(Switch &n)
@@ -262,7 +262,7 @@ void ImGuiVisitor::visit(ImageProcessingShader &n)
ImGui::PopID();
ImGui::SetCursorPosY(ImGui::GetCursorPosY() + ImGui::GetTextLineHeight() / 2.f);
ImGui::Spacing();
}