summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_view.cc
diff options
context:
space:
mode:
authorDoug McLain <doug@nostar.net>2007-07-05 05:33:40 +0000
committerDoug McLain <doug@nostar.net>2007-07-05 05:33:40 +0000
commit291a186cba343ed705c60d15fa7db0b21eb8a1fd (patch)
tree683a299b237164b5a67d2d79e9b05dc2251b8f46 /gtk2_ardour/region_view.cc
parent0518b045c62ef764eced6fff0b64d4f71832a7b0 (diff)
New theme manager from trunk, backported to 2.0-ongoing
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2110 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_view.cc')
-rw-r--r--gtk2_ardour/region_view.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk2_ardour/region_view.cc b/gtk2_ardour/region_view.cc
index 7a8f9b5d6a..efd83ba60c 100644
--- a/gtk2_ardour/region_view.cc
+++ b/gtk2_ardour/region_view.cc
@@ -44,6 +44,7 @@
#include "utils.h"
#include "rgb_macros.h"
#include "gui_thread.h"
+#include "ardour_ui.h"
#include "i18n.h"
@@ -150,7 +151,7 @@ RegionView::init (Gdk::Color& basic_color, bool wfd)
set_colors ();
- ColorChanged.connect (mem_fun (*this, &RegionView::color_handler));
+ ColorsChanged.connect (mem_fun (*this, &RegionView::color_handler));
/* XXX sync mark drag? */
}
@@ -371,7 +372,7 @@ RegionView::set_frame_color ()
if (_region->opaque()) {
fill_opacity = 130;
} else {
- fill_opacity = 60;
+ fill_opacity = 0;
}
TimeAxisViewItem::set_frame_color ();
@@ -383,7 +384,7 @@ RegionView::fake_set_opaque (bool yn)
if (yn) {
fill_opacity = 130;
} else {
- fill_opacity = 60;
+ fill_opacity = 0;
}
TimeAxisViewItem::set_frame_color ();