diff options
author | David Robillard <d@drobilla.net> | 2007-08-07 00:09:22 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-08-07 00:09:22 +0000 |
commit | f92be1e34c7fa2f25f36c23974045bce22a5049f (patch) | |
tree | 5b9dad350e4dce428b518415483f00d5335a8c9b /gtk2_ardour/canvas-hit.h | |
parent | d07f541cdf2caaf0034eef4a294f14d84c963ae8 (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.h | 6 |
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; } |