mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 21:56:30 +01:00
[Summary] Implemented channel control mechanism
[git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 461673]
This commit is contained in:
parent
5f65b603ad
commit
dfc0b58d14
18 changed files with 685 additions and 105 deletions
|
|
@ -33,18 +33,20 @@ class DeviceConnectionControl : public Gtk::Layout
|
|||
NoNumber = 0
|
||||
};
|
||||
|
||||
DeviceConnectionControl (std::string device_capture_name, bool active, uint16_t capture_number, std::string track_name);
|
||||
DeviceConnectionControl (std::string device_playback_name, bool active, uint16_t playback_number);
|
||||
DeviceConnectionControl (std::string midi_capture_name, bool active);
|
||||
DeviceConnectionControl (const std::string& device_capture_name, bool active, uint16_t capture_number, const std::string& track_name);
|
||||
DeviceConnectionControl (const std::string& device_playback_name, bool active, uint16_t playback_number);
|
||||
DeviceConnectionControl (const std::string& midi_capture_name, bool active);
|
||||
DeviceConnectionControl (bool active);
|
||||
|
||||
bool build_layout (std::string file_name);
|
||||
bool build_layout (const std::string& file_name);
|
||||
void set_number (uint16_t number);
|
||||
void set_active (bool active);
|
||||
void set_track_name (const std::string& new_track_name);
|
||||
std::string get_name ();
|
||||
sigc::signal2<void, DeviceConnectionControl*, bool> signal_active_changed;
|
||||
|
||||
private:
|
||||
void init(std::string name, bool active, uint16_t number, std::string track_name="");
|
||||
void init(const std::string& name, bool active, uint16_t number, const std::string& track_name="");
|
||||
void on_active_on(WavesButton*);
|
||||
void on_active_off(WavesButton*);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue