mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-19 14:19:57 +01:00
Input Mapping for Batch of Sources
Session contains a set of 'Batch' that are created in the Player (renamed from PlayGroups). Session InputCallback can now target either a Source or a Batch, using std::variant (new type Target). Input Mapping reacts to input to create callbacks to a target, either a single source (as before) or to a Batch (multiple sources).
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
#ifndef __UI_MANAGER_H_
|
||||
#define __UI_MANAGER_H_
|
||||
|
||||
#include "Session.h"
|
||||
#include <string>
|
||||
#include <array>
|
||||
#include <list>
|
||||
#include <future>
|
||||
#include <variant>
|
||||
|
||||
#include <gst/gstutils.h>
|
||||
|
||||
@@ -392,9 +394,9 @@ class InputMappingInterface : public WorkspaceWindow
|
||||
std::array< uint, 4 > current_input_for_mode;
|
||||
uint current_input_;
|
||||
|
||||
Source *ComboSelectSource(Source *current = nullptr);
|
||||
Target ComboSelectTarget(const Target ¤t);
|
||||
uint ComboSelectCallback(uint current, bool imageprocessing);
|
||||
void SliderParametersCallback(SourceCallback *callback, Source *source);
|
||||
void SliderParametersCallback(SourceCallback *callback, const Target &target);
|
||||
|
||||
public:
|
||||
InputMappingInterface();
|
||||
|
||||
Reference in New Issue
Block a user