- : SimpleRect(group), CanvasNoteEvent(region, this, note), _note_state(None)
- {
+class NoEventCanvasNote : public CanvasNote
+{
+ public:
+ NoEventCanvasNote (MidiRegionView& region,
+ Group& group,
+ const boost::shared_ptr<NoteType> note = boost::shared_ptr<NoteType>())
+ : CanvasNote (region, group, note, false) {}
+
+ double point_vfunc(double, double, int, int, GnomeCanvasItem**) {
+ /* return a huge value to tell the canvas that we're never the item for an event */
+ return 9999999999999.0;