mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
Reimplementation of SourceInputCallbacks into Session
Session should be the object holding the list of inputs parameters (e.g. synchrony) and the list of source callbacks. This also avoids mixing input when copying sources. Code could be improved but is operational.
This commit is contained in:
@@ -368,13 +368,8 @@ class InputMappingInterface : public WorkspaceWindow
|
||||
{
|
||||
std::array< std::string, 4 > input_mode;
|
||||
std::array< uint, 4 > current_input_for_mode;
|
||||
|
||||
// data structures more adapted for display
|
||||
std::multimap< uint, std::pair<Source *, SourceCallback*> > input_sources_callbacks;
|
||||
bool input_assigned[100]{};
|
||||
uint current_input_;
|
||||
|
||||
void readInputSource();
|
||||
Source *ComboSelectSource(Source *current = nullptr);
|
||||
uint ComboSelectCallback(uint current);
|
||||
void SliderParametersCallback(SourceCallback *callback, Source *source);
|
||||
|
||||
Reference in New Issue
Block a user