summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui2.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-02-13 14:25:17 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-02-13 14:25:17 +0000
commitd405df54ec37ef039d1044b727044e109b110ffa (patch)
treee5f2ceaf405716feb9f4c3af00554095a27de042 /gtk2_ardour/ardour_ui2.cc
parent8e79cd5610789b377d0975640a555cc45d9300cb (diff)
the buttons will submit to my rule! prelight-when-active, be gonecd /usr/local/music/src/ardour
git-svn-id: svn://localhost/ardour2/trunk@1451 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui2.cc')
-rw-r--r--gtk2_ardour/ardour_ui2.cc36
1 files changed, 0 insertions, 36 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc
index d3c3fc0690..63104f0034 100644
--- a/gtk2_ardour/ardour_ui2.cc
+++ b/gtk2_ardour/ardour_ui2.cc
@@ -223,50 +223,14 @@ ARDOUR_UI::setup_transport ()
rec_button.set_name ("TransportRecButton");
auto_loop_button.set_name ("TransportButton");
- vector<Gdk::Color> colors;
- Gdk::Color c;
-
- set_color(c, rgba_from_style ("TransportButton", 0xff, 0, 0, 0, "bg", Gtk::STATE_ACTIVE, false ));
- colors.push_back (c);
-
auto_return_button.set_name ("TransportButton");
- auto_return_button.set_colors (colors);
auto_play_button.set_name ("TransportButton");
- auto_play_button.set_colors (colors);
auto_input_button.set_name ("TransportButton");
- auto_input_button.set_colors (colors);
punch_in_button.set_name ("TransportButton");
- punch_in_button.set_colors (colors);
punch_out_button.set_name ("TransportButton");
- punch_out_button.set_colors (colors);
click_button.set_name ("TransportButton");
- click_button.set_colors (colors);
time_master_button.set_name ("TransportButton");
- time_master_button.set_colors (colors);
- colors.clear ();
-
- /* record button has 3 color states, so we set 2 extra here */
- set_color(c, rgba_from_style ("TransportRecButton", 0xff, 0, 0, 0, "bg", Gtk::STATE_PRELIGHT, false ));
- colors.push_back (c);
-
- set_color(c, rgba_from_style ("TransportRecButton", 0xff, 0, 0, 0, "bg", Gtk::STATE_ACTIVE, false ));
- colors.push_back (c);
-
- rec_button.set_colors (colors);
- colors.clear ();
-
- /* other buttons get 2 color states, so add one here */
- set_color(c, rgba_from_style ("TransportButton", 0x7f, 0xff, 0x7f, 0, "bg", Gtk::STATE_ACTIVE, false ));
- colors.push_back (c);
-
- stop_button.set_colors (colors);
- roll_button.set_colors (colors);
- auto_loop_button.set_colors (colors);
- play_selection_button.set_colors (colors);
- goto_start_button.set_colors (colors);
- goto_end_button.set_colors (colors);
-
stop_button.set_size_request(29, -1);
roll_button.set_size_request(29, -1);
auto_loop_button.set_size_request(29, -1);