add a (debug-only) to canvas control point rectangles
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "public_editor.h"
|
||||
#include "ui_config.h"
|
||||
|
||||
#include "canvas/debug.h"
|
||||
#include "canvas/rectangle.h"
|
||||
|
||||
#include "pbd/i18n.h"
|
||||
@@ -45,6 +46,7 @@ ControlPoint::ControlPoint (AutomationLine& al)
|
||||
_size = 4.0;
|
||||
|
||||
_item = new ArdourCanvas::Rectangle (&_line.canvas_group());
|
||||
CANVAS_DEBUG_NAME (_item, "Control Point");
|
||||
_item->set_fill (true);
|
||||
_item->set_fill_color (UIConfiguration::instance().color ("control point fill"));
|
||||
_item->set_outline_color (UIConfiguration::instance().color ("control point outline"));
|
||||
|
||||
Reference in New Issue
Block a user