Magnifying glass for Player and Output windows

Replace the 'inspector' menu in favor of a magnifying glass button at top right corner of imgui window for Player and Output preview. Disable the magnifying glass upon window unfocus.
This commit is contained in:
Bruno Herbelin
2023-01-16 00:18:17 +01:00
parent ebc8d483d9
commit 3fd7b8ed3c
2 changed files with 58 additions and 12 deletions

View File

@@ -305,6 +305,9 @@ class SourceController : public WorkspaceWindow
float mediaplayer_timeline_zoom_;
void RenderMediaPlayer(MediaSource *ms);
// magnifying glass
bool magnifying_glass;
// dialog to select frame capture location
DialogToolkit::OpenFolderDialog *captureFolderDialog;
Screenshot capture;
@@ -339,6 +342,9 @@ class OutputPreview : public WorkspaceWindow
// dialog to select record location
DialogToolkit::OpenFolderDialog *recordFolderDialog;
// magnifying glass
bool magnifying_glass;
public:
OutputPreview();