summaryrefslogtreecommitdiff
path: root/gtk2_ardour/canvas-hit.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-08-07 00:09:22 +0000
committerDavid Robillard <d@drobilla.net>2007-08-07 00:09:22 +0000
commitf92be1e34c7fa2f25f36c23974045bce22a5049f (patch)
tree5b9dad350e4dce428b518415483f00d5335a8c9b /gtk2_ardour/canvas-hit.h
parentd07f541cdf2caaf0034eef4a294f14d84c963ae8 (diff)
Ridiculously CPU-chewey rect select (for sustained notes only ATM).
git-svn-id: svn://localhost/ardour2/trunk@2261 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-hit.h')
-rw-r--r--gtk2_ardour/canvas-hit.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/canvas-hit.h b/gtk2_ardour/canvas-hit.h
index 229d3cdd80..114d608a89 100644
--- a/gtk2_ardour/canvas-hit.h
+++ b/gtk2_ardour/canvas-hit.h
@@ -32,6 +32,12 @@ public:
CanvasHit(MidiRegionView& region, Group& group, double size, const ARDOUR::MidiModel::Note* note=NULL)
: Diamond(group, size), CanvasMidiEvent(region, this, note) {}
+ // FIXME
+ double x1() { return 0.0; }
+ double y1() { return 0.0; }
+ double x2() { return 0.0; }
+ double y2() { return 0.0; }
+
void set_outline_color(uint32_t c) { property_outline_color_rgba() = c; }
void set_fill_color(uint32_t c) { property_fill_color_rgba() = c; }