summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/barcontroller.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-12-21 00:28:08 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-12-21 00:28:08 +0000
commit4d6bfa3d473560153bddd21ff750da48a2bf4891 (patch)
tree656f4980d6e93226f8288e4b5d46a6658106129c /libs/gtkmm2ext/barcontroller.cc
parentcc603c2dafae5585c0d0339675fa09bf766bcb55 (diff)
minor visual change for panner
git-svn-id: svn://localhost/ardour2/trunk@1238 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/gtkmm2ext/barcontroller.cc')
-rw-r--r--libs/gtkmm2ext/barcontroller.cc20
1 files changed, 8 insertions, 12 deletions
diff --git a/libs/gtkmm2ext/barcontroller.cc b/libs/gtkmm2ext/barcontroller.cc
index fcd6476772..618891e424 100644
--- a/libs/gtkmm2ext/barcontroller.cc
+++ b/libs/gtkmm2ext/barcontroller.cc
@@ -281,22 +281,18 @@ BarController::expose (GdkEventExpose* event)
if (parent) {
win->draw_rectangle (parent->get_style()->get_fg_gc (parent->get_state()),
- true,
- 0, 0, darea.get_width(), darea.get_height());
+ true,
+ 0, 0, darea.get_width(), darea.get_height());
}
- } else {
- win->draw_rectangle (get_style()->get_bg_gc (get_state()),
- true,
- 0, 0, darea.get_width(), darea.get_height());
- }
- if (fract == 0.0) {
- win->draw_rectangle (get_style()->get_fg_gc (get_state()),
- true, x1, 1, 2, darea.get_height() - 2);
} else {
- win->draw_rectangle (get_style()->get_fg_gc (get_state()),
- true, x1 - 1, 1, 3, darea.get_height() - 2);
+
+ win->draw_rectangle (get_style()->get_bg_gc (get_state()),
+ true,
+ 0, 0, darea.get_width(), darea.get_height());
}
+
+ win->draw_line (get_style()->get_base_gc (get_state()), x1, 0, x1, darea.get_height());
break;
case CenterOut: