a metric boatload of changes; plugin UIs work, adding tracks work, redirect list is useful again, and more

git-svn-id: svn://localhost/trunk/ardour2@273 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2006-01-17 16:40:57 +00:00
parent aa659d3788
commit 2e582e03e4
17 changed files with 243 additions and 282 deletions

View file

@ -69,9 +69,6 @@ class RedirectBox : public Gtk::HBox
void set_width (Width);
void set_title (const std::string & title);
void set_title_shown (bool flag);
void update();
void select_all_redirects ();
@ -99,18 +96,24 @@ class RedirectBox : public Gtk::HBox
RouteRedirectSelection & _rr_selection;
struct ModelColumns : public Gtk::TreeModel::ColumnRecord {
ModelColumns () {
add (text);
ModelColumns () {
add (text);
add (redirect);
}
Gtk::TreeModelColumn<std::string> text;
Gtk::TreeModelColumn<ARDOUR::Redirect*> redirect;
add (color);
}
Gtk::TreeModelColumn<std::string> text;
Gtk::TreeModelColumn<ARDOUR::Redirect*> redirect;
Gtk::TreeModelColumn<Gdk::Color> color;
};
ModelColumns columns;
Glib::RefPtr<Gtk::ListStore> model;
void selection_changed ();
static bool get_colors;
static Gdk::Color* active_redirect_color;
static Gdk::Color* inactive_redirect_color;
Gtk::EventBox redirect_eventbox;
Gtk::HBox redirect_hpacker;
@ -139,18 +142,22 @@ class RedirectBox : public Gtk::HBox
void choose_plugin ();
void insert_plugin_chosen (ARDOUR::Plugin *);
gint redirect_button (GdkEventButton *);
void redirects_changed (void *);
bool no_redirect_redisplay;
bool ignore_delete;
bool redirect_button_press_event (GdkEventButton *);
void redisplay_redirects (void* src);
void show_redirect_active (ARDOUR::Redirect *, void *);
void show_redirect_name (void*, ARDOUR::Redirect *);
void add_redirect_to_display (ARDOUR::Redirect *);
void row_deleted (const Gtk::TreeModel::Path& path);
string redirect_name (ARDOUR::Redirect&);
void remove_redirect_gui (ARDOUR::Redirect *);
void redirects_reordered (const Gtk::TreeModel::Path&, const Gtk::TreeModel::iterator&, int*);
gint compute_redirect_sort_keys ();
void compute_redirect_sort_keys ();
vector<sigc::connection> redirect_active_connections;
vector<sigc::connection> redirect_name_connections;
@ -169,6 +176,8 @@ class RedirectBox : public Gtk::HBox
void for_selected_redirects (void (RedirectBox::*pmf)(ARDOUR::Redirect*));
void get_selected_redirects (vector<ARDOUR::Redirect*>&);
static Glib::RefPtr<Gtk::Action> paste_action;
void paste_redirect_list (std::list<ARDOUR::Redirect*>& redirects);
void activate_redirect (ARDOUR::Redirect*);
void deactivate_redirect (ARDOUR::Redirect*);