diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-11-03 10:07:00 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-11-03 10:07:00 -0500 |
commit | 08b485db75082a21c3814b0a4517f2b2fc994b77 (patch) | |
tree | 9ab7d5bf9190977d58767de9e246bf24fbe628a8 /gtk2_ardour/automation_time_axis.cc | |
parent | 85daa31ab56b078c556addb3c9faee0f88697c4d (diff) |
send enter events to EVERY newly entered item (ignore the bool return from the event handler); other canvas debugging aids;switch items_at_point() to use canvas coordinates
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r-- | gtk2_ardour/automation_time_axis.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc index fd3c7aab52..21360bcab7 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -31,6 +31,8 @@ #include "ardour/route.h" #include "ardour/session.h" +#include "canvas/debug.h" + #include "ardour_ui.h" #include "automation_time_axis.h" #include "automation_streamview.h" @@ -88,6 +90,10 @@ AutomationTimeAxisView::AutomationTimeAxisView ( , auto_button (X_("")) /* force addition of a label */ , _show_regions (show_regions) { + CANVAS_DEBUG_NAME (_canvas_display, string_compose ("main for auto %2/%1", _name, r->name())); + CANVAS_DEBUG_NAME (selection_group, string_compose ("selections for auto %2/%1", _name, r->name())); + CANVAS_DEBUG_NAME (_ghost_group, string_compose ("ghosts for auto %2/%1", _name, r->name())); + if (!have_name_font) { name_font = get_font_for_style (X_("AutomationTrackName")); have_name_font = true; @@ -109,6 +115,7 @@ AutomationTimeAxisView::AutomationTimeAxisView ( first_call_to_set_height = true; _base_rect = new ArdourCanvas::Rectangle (_canvas_display); + CANVAS_DEBUG_NAME (_base_rect, string_compose ("base rect for %1", _name)); _base_rect->set_x1 (ArdourCanvas::COORD_MAX); _base_rect->set_outline_color (ARDOUR_UI::config()->get_canvasvar_AutomationTrackOutline()); |