Player timeline for selection

Selection of media sources now displays in a list with proportional timelines, showing actual play time and cursor on effective timeline with opacity curve.
This commit is contained in:
Bruno
2021-06-13 00:24:45 +02:00
parent cd40d6d7e8
commit ad36ac5cd9
7 changed files with 590 additions and 460 deletions

View File

@@ -118,9 +118,10 @@ class SourceController
std::string active_label_;
int active_selection_;
InfoVisitor info_;
SourceList selection_;
void DrawButtonBar(ImVec2 bottom, float width, bool enabled = true);
void DrawButtonBar(ImVec2 bottom, float width);
const char *SourcePlayIcon(Source *s);
bool SourceButton(Source *s, ImVec2 framesize);
void RenderSelectedSources();