mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
r269@gandalf: fugalh | 2006-08-03 20:18:05 -0600
Trunk merge conflicts resolved git-svn-id: svn://localhost/ardour2/branches/undo@756 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b0b7234458
commit
79986643c0
372 changed files with 20759 additions and 10250 deletions
|
|
@ -26,13 +26,10 @@
|
|||
#include <pbd/xml++.h>
|
||||
#include <ardour/ardour.h>
|
||||
#include <ardour/route.h>
|
||||
#include <ardour/track.h>
|
||||
|
||||
#include "axis_view.h"
|
||||
|
||||
namespace Gtkmm2ext {
|
||||
class BindableToggleButton;
|
||||
}
|
||||
|
||||
namespace ARDOUR {
|
||||
class AudioTrack;
|
||||
}
|
||||
|
|
@ -43,21 +40,30 @@ namespace Gtk {
|
|||
class Widget;
|
||||
}
|
||||
|
||||
class BindableToggleButton;
|
||||
|
||||
class RouteUI : public virtual AxisView
|
||||
{
|
||||
public:
|
||||
RouteUI(ARDOUR::Route&, ARDOUR::Session&, const char*, const char*, const char*);
|
||||
RouteUI(boost::shared_ptr<ARDOUR::Route>, ARDOUR::Session&, const char*, const char*, const char*);
|
||||
virtual ~RouteUI();
|
||||
|
||||
bool is_track() const;
|
||||
bool is_audio_track() const;
|
||||
ARDOUR::AudioDiskstream* get_diskstream() const;
|
||||
|
||||
ARDOUR::Route& route() const { return _route; }
|
||||
boost::shared_ptr<ARDOUR::Route> route() const { return _route; }
|
||||
|
||||
// FIXME: make these return shared_ptr
|
||||
ARDOUR::Track* track() const;
|
||||
ARDOUR::AudioTrack* audio_track() const;
|
||||
|
||||
ARDOUR::Diskstream* get_diskstream() const;
|
||||
|
||||
string name() const;
|
||||
|
||||
ARDOUR::Route& _route;
|
||||
|
||||
// protected: XXX sigh this should be here
|
||||
|
||||
boost::shared_ptr<ARDOUR::Route> _route;
|
||||
|
||||
void set_color (const Gdk::Color & c);
|
||||
bool choose_color ();
|
||||
|
|
@ -65,9 +71,9 @@ class RouteUI : public virtual AxisView
|
|||
bool ignore_toggle;
|
||||
bool wait_for_release;
|
||||
|
||||
Gtkmm2ext::BindableToggleButton * mute_button;
|
||||
Gtkmm2ext::BindableToggleButton * solo_button;
|
||||
Gtkmm2ext::BindableToggleButton * rec_enable_button;
|
||||
BindableToggleButton* mute_button;
|
||||
BindableToggleButton* solo_button;
|
||||
BindableToggleButton* rec_enable_button;
|
||||
|
||||
virtual string solo_button_name () const { return "SoloButton"; }
|
||||
virtual string safe_solo_button_name () const { return "SafeSoloButton"; }
|
||||
|
|
@ -89,7 +95,8 @@ class RouteUI : public virtual AxisView
|
|||
|
||||
void solo_changed(void*);
|
||||
void mute_changed(void*);
|
||||
void route_rec_enable_changed(void*);
|
||||
virtual void redirects_changed (void *) {}
|
||||
void route_rec_enable_changed();
|
||||
void session_rec_enable_changed();
|
||||
|
||||
void build_solo_menu (void);
|
||||
|
|
@ -108,9 +115,9 @@ class RouteUI : public virtual AxisView
|
|||
void build_mute_menu(void);
|
||||
void init_mute_menu(ARDOUR::mute_type, Gtk::CheckMenuItem*);
|
||||
|
||||
void set_mix_group_solo(ARDOUR::Route&, bool);
|
||||
void set_mix_group_mute(ARDOUR::Route&, bool);
|
||||
void set_mix_group_rec_enable(ARDOUR::Route&, bool);
|
||||
void set_mix_group_solo(boost::shared_ptr<ARDOUR::Route>, bool);
|
||||
void set_mix_group_mute(boost::shared_ptr<ARDOUR::Route>, bool);
|
||||
void set_mix_group_rec_enable(boost::shared_ptr<ARDOUR::Route>, bool);
|
||||
|
||||
int set_color_from_route ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue