diff options
author | Carl Hetherington <carl@carlh.net> | 2009-06-14 21:22:05 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-06-14 21:22:05 +0000 |
commit | 131a16d96dbab9cf61c8d562b2894ae32551ad23 (patch) | |
tree | 2bec56bcd09f48e86f93b3ff5c5db2db9742617c /gtk2_ardour/editor_summary.cc | |
parent | 8051c3e76a7987e10da380d655b28771d97b6789 (diff) |
Use white outlined rectangle for view box. Redraw summary when routes are reordered.
git-svn-id: svn://localhost/ardour2/branches/3.0@5193 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_summary.cc')
-rw-r--r-- | gtk2_ardour/editor_summary.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_summary.cc b/gtk2_ardour/editor_summary.cc index 5aba1170fc..0936692abf 100644 --- a/gtk2_ardour/editor_summary.cc +++ b/gtk2_ardour/editor_summary.cc @@ -97,14 +97,16 @@ EditorSummary::on_expose_event (GdkEventExpose* event) cairo_t* cr = gdk_cairo_create (get_window()->gobj()); - cairo_set_source_rgba (cr, 0, 1, 0, 0.25); - cairo_move_to (cr, x.first, y.first); cairo_line_to (cr, x.second, y.first); cairo_line_to (cr, x.second, y.second); cairo_line_to (cr, x.first, y.second); cairo_line_to (cr, x.first, y.first); - cairo_fill (cr); + cairo_set_source_rgba (cr, 1, 1, 1, 0.25); + cairo_fill_preserve (cr); + cairo_set_line_width (cr, 1); + cairo_set_source_rgba (cr, 1, 1, 1, 0.5); + cairo_stroke (cr); cairo_destroy (cr); |