Cleanup Player UI

Add play/pause button on source icon in selection (dynamic or stored selection). Display source icon in lower left corner, instead of play status. Fix alignment disabled timeline. Minor bugfix.
This commit is contained in:
Bruno Herbelin
2023-01-27 19:25:05 +01:00
parent 4826d9fbf0
commit 9ee434f275
4 changed files with 127 additions and 105 deletions

View File

@@ -280,8 +280,7 @@ class SourceController : public WorkspaceWindow
// re-usable ui parts
void DrawButtonBar(ImVec2 bottom, float width);
const char *SourcePlayIcon(Source *s);
bool SourceButton(Source *s, ImVec2 framesize);
int SourceButton(Source *s, ImVec2 framesize);
// Render the sources dynamically selected
void RenderSelectedSources();