New Double clic action in Player window, Display window or background

This commit is contained in:
Bruno Herbelin
2024-01-07 23:39:58 +01:00
parent a913cee7a4
commit 9d27335d7d
4 changed files with 131 additions and 77 deletions

View File

@@ -2,6 +2,7 @@
#define SOURCECONTROLWINDOW_H
struct ImVec2;
struct ImRect;
#include "SourceList.h"
#include "InfoVisitor.h"
@@ -55,6 +56,10 @@ class SourceControlWindow : public WorkspaceWindow
float mediaplayer_timeline_zoom_;
void RenderMediaPlayer(MediaSource *ms);
// draw methods
void DrawSource(Source *s, ImVec2 framesize, ImVec2 top_image, bool withslider = false, bool withinspector = false);
ImRect DrawSourceWithSlider(Source *s, ImVec2 top, ImVec2 rendersize, bool with_inspector);
// magnifying glass
bool magnifying_glass;