Improved Save and continue recording

When triggered from menu, prepare the UI for next openning of the new source pannel
This commit is contained in:
Bruno Herbelin
2021-12-06 00:16:53 +01:00
parent ffe05368e8
commit a18d53c637
2 changed files with 39 additions and 37 deletions

View File

@@ -81,7 +81,18 @@ class Navigator
void RenderViewPannel(ImVec2 draw_pos, ImVec2 draw_size);
public:
typedef enum {
SOURCE_FILE = 0,
SOURCE_SEQUENCE,
SOURCE_CONNECTED,
SOURCE_GENERATED,
SOURCE_INTERNAL,
SOURCE_TYPES
} NewSourceType;
Navigator();
void Render();
bool pannelVisible() { return pannel_visible_; }
void hidePannel();
@@ -97,18 +108,9 @@ public:
} MediaCreateMode;
void setNewMedia(MediaCreateMode mode, std::string path = std::string());
void Render();
private:
// for new source panel
typedef enum {
SOURCE_FILE = 0,
SOURCE_SEQUENCE,
SOURCE_CONNECTED,
SOURCE_GENERATED,
SOURCE_INTERNAL,
SOURCE_TYPES
} NewSourceType;
SourcePreview new_source_preview_;
std::list<std::string> sourceSequenceFiles;
std::list<std::string> sourceMediaFiles;