From b32823f074ae029bc8ecbb7c73e00035845c5c3e Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Tue, 29 Jul 2014 16:40:19 -0500 Subject: Various UI tweaks. Refactor comments dialog into Route_UI so it can be shared by tracks and strips. Make Color and Comments selections consistent in the menus Refine the color displays at the top of each mixer strip Correctly color the number displays on tracks --- gtk2_ardour/mixer_strip.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'gtk2_ardour/mixer_strip.h') diff --git a/gtk2_ardour/mixer_strip.h b/gtk2_ardour/mixer_strip.h index f7c7977a53..517cab0858 100644 --- a/gtk2_ardour/mixer_strip.h +++ b/gtk2_ardour/mixer_strip.h @@ -158,8 +158,6 @@ class MixerStrip : public RouteUI, public Gtk::EventBox ArdourButton width_button; ArdourButton number_label; Gtk::HBox width_hide_box; - Gtk::VBox whvbox; - Gtk::EventBox top_event_box; Gtk::EventBox* spacer; void hide_clicked(); @@ -201,14 +199,8 @@ class MixerStrip : public RouteUI, public Gtk::EventBox ArdourButton name_button; - ArdourWindow* comment_window; - Gtk::TextView* comment_area; ArdourButton _comment_button; - void comment_editor_done_editing (); - void setup_comment_editor (); - void open_comment_editor (); - void toggle_comment_editor (); void setup_comment_button (); ArdourButton group_button; @@ -255,13 +247,9 @@ class MixerStrip : public RouteUI, public Gtk::EventBox Gtk::Menu* route_ops_menu; void build_route_ops_menu (); gboolean name_button_button_press (GdkEventButton*); + gboolean number_button_button_press (GdkEventButton*); void list_route_operations (); - gint comment_key_release_handler (GdkEventKey*); - void comment_changed (void *src); - void comment_edited (); - bool ignore_comment_edit; - bool select_route_group (GdkEventButton *); void route_group_changed (); -- cgit v1.2.3