mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 18:59:59 +01:00
Fixed insertion of new source (after drop or pannel) to setup depth and
mixing coordinates.
This commit is contained in:
7
Mixer.h
7
Mixer.h
@@ -33,13 +33,13 @@ public:
|
||||
// draw session and current view
|
||||
void draw();
|
||||
|
||||
// manangement of sources
|
||||
// creation of sources
|
||||
Source * createSourceFile(std::string path);
|
||||
Source * createSourceClone(std::string namesource);
|
||||
Source * createSourceRender();
|
||||
|
||||
// operations on sources
|
||||
void insertSource(Source *s, bool makecurrent = true);
|
||||
void addSource(Source *s);
|
||||
void deleteSource(Source *s);
|
||||
void renameSource(Source *s, const std::string &newname);
|
||||
|
||||
@@ -76,6 +76,9 @@ protected:
|
||||
Session *back_session_;
|
||||
void swap();
|
||||
|
||||
SourceList candidate_sources_;
|
||||
void insertSource(Source *s, bool makecurrent = true);
|
||||
|
||||
void setCurrentSource(SourceList::iterator it);
|
||||
SourceList::iterator current_source_;
|
||||
int current_source_index_;
|
||||
|
||||
Reference in New Issue
Block a user