#include <gtkmm/frame.h>
#include <gtkmm/menu.h>
#include <gtkmm/treeview.h>
+#include <gtkmm/treestore.h>
#include <gtkmm/liststore.h>
#include "pbd/stateful.h"
#include <gtkmm2ext/bindings.h>
#include "gtkmm2ext/dndtreeview.h"
-#include <gtkmm2ext/pane.h>
-#include "gtkmm2ext/tabbable.h"
#include "gtkmm2ext/treeutils.h"
+#include "widgets/pane.h"
+#include "widgets/tabbable.h"
+
#include "axis_provider.h"
#include "enums.h"
#include "route_processor_selection.h"
virtual bool row_drop_possible_vfunc (const Gtk::TreeModel::Path&, const Gtk::SelectionData&) const;
};
-class Mixer_UI : public Gtkmm2ext::Tabbable, public PBD::ScopedConnectionList, public ARDOUR::SessionHandlePtr, public AxisViewProvider
+class Mixer_UI : public ArdourWidgets::Tabbable, public PBD::ScopedConnectionList, public ARDOUR::SessionHandlePtr, public AxisViewProvider
{
- public:
+public:
static Mixer_UI* instance();
~Mixer_UI();
void deselect_all_strip_processors();
void delete_processors();
- void select_strip (MixerStrip&, bool add=false);
void select_none ();
+ void select_all_tracks ();
void do_vca_assign (boost::shared_ptr<ARDOUR::VCA>);
void do_vca_unassign (boost::shared_ptr<ARDOUR::VCA>);
void register_actions ();
- void load_bindings ();
- Gtkmm2ext::Bindings* bindings;
+ void load_bindings ();
+ Gtkmm2ext::Bindings* bindings;
- protected:
+protected:
void set_axis_targets_for_operation ();
+ ARDOUR::AutomationControlSet selected_gaincontrols ();
- private:
+private:
Mixer_UI ();
static Mixer_UI* _instance;
Gtk::VBox _content;
Gtk::Frame track_display_frame;
Gtk::Frame group_display_frame;
Gtk::Frame favorite_plugins_frame;
- Gtkmm2ext::VPane rhs_pane1;
- Gtkmm2ext::VPane rhs_pane2;
- Gtkmm2ext::HPane inner_pane;
+ ArdourWidgets::VPane rhs_pane1;
+ ArdourWidgets::VPane rhs_pane2;
+ ArdourWidgets::HPane inner_pane;
Gtk::HBox strip_packer;
Gtk::ScrolledWindow vca_scroller;
Gtk::HBox vca_hpacker;
Gtk::Label vca_label;
Gtk::EventBox vca_scroller_base;
Gtk::HBox out_packer;
- Gtkmm2ext::HPane list_hpane;
+ ArdourWidgets::HPane list_hpane;
MixerGroupTabs* _group_tabs;
AxisView* axis_view_by_stripable (boost::shared_ptr<ARDOUR::Stripable>) const;
AxisView* axis_view_by_control (boost::shared_ptr<ARDOUR::AutomationControl>) const;
- void hide_all_strips (bool with_select);
- void unselect_all_strips();
- void select_all_strips ();
- void unselect_all_audiotrack_strips ();
- void select_all_audiotrack_strips ();
- void unselect_all_audiobus_strips ();
- void select_all_audiobus_strips ();
-
- void strip_select_op (bool audiotrack, bool select);
- void select_strip_op (MixerStrip*, bool select);
-
gint start_updating ();
gint stop_updating ();
void group_display_selection_changed ();
bool strip_button_release_event (GdkEventButton*, MixerStrip*);
+ bool vca_button_release_event (GdkEventButton*, VCAMasterStrip*);
Width _strip_width;
static const int32_t default_height = 765;
/** true if we are rebuilding the route group list, or clearing
- it during a session teardown.
- */
+ * it during a session teardown.
+ */
bool _in_group_rebuild_or_clear;
bool _route_deletion_in_progress;