diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-10 14:42:36 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-10 14:42:36 -0400 |
commit | 204da61f98906ef737b4e32b467cb2857622a711 (patch) | |
tree | 34ae16f18037ea237c3aa9b66e636f87fb8bdb58 /gtk2_ardour/streamview.cc | |
parent | 9a8ee11f6532c73320f76b10aabec68081c9ebf4 (diff) |
remove incorrect merge of cairocanvas patch that stopped most tracks from displaying; add more debugging info
Diffstat (limited to 'gtk2_ardour/streamview.cc')
-rw-r--r-- | gtk2_ardour/streamview.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk2_ardour/streamview.cc b/gtk2_ardour/streamview.cc index 9934048d66..065f6b711c 100644 --- a/gtk2_ardour/streamview.cc +++ b/gtk2_ardour/streamview.cc @@ -28,6 +28,8 @@ #include "ardour/track.h" #include "ardour/session.h" +#include "pbd/compose.h" + #include "canvas/rectangle.h" #include "canvas/debug.h" @@ -63,13 +65,13 @@ StreamView::StreamView (RouteTimeAxisView& tv, ArdourCanvas::Group* background_g , height(tv.height) , last_rec_data_frame(0) { - CANVAS_DEBUG_NAME (_background_group, "SV background group"); - CANVAS_DEBUG_NAME (_canvas_group, "SV canvas group"); + CANVAS_DEBUG_NAME (_background_group, string_compose ("SV background group %1", _trackview.name())); + CANVAS_DEBUG_NAME (_canvas_group, string_compose ("SV canvas group %1", _trackview.name())); /* set_position() will position the group */ canvas_rect = new ArdourCanvas::Rectangle (_background_group); - CANVAS_DEBUG_NAME (canvas_rect, "SV canvas rectangle"); + CANVAS_DEBUG_NAME (canvas_rect, string_compose ("SV canvas rectangle %1", _trackview.name())); canvas_rect->set (ArdourCanvas::Rect (0, 0, ArdourCanvas::COORD_MAX, tv.current_height ())); canvas_rect->raise(1); // raise above tempo lines |