diff options
Diffstat (limited to 'gtk2_ardour/canvas-note-event.h')
-rw-r--r-- | gtk2_ardour/canvas-note-event.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/canvas-note-event.h b/gtk2_ardour/canvas-note-event.h index ec306d29b8..6b394e1bb5 100644 --- a/gtk2_ardour/canvas-note-event.h +++ b/gtk2_ardour/canvas-note-event.h @@ -66,6 +66,10 @@ public: virtual void hide() = 0; virtual bool on_event(GdkEvent* ev); + bool valid() const { return _valid; } + void invalidate (); + void validate (); + bool selected() const { return _selected; } void selected(bool yn); @@ -129,6 +133,7 @@ protected: const boost::shared_ptr<NoteType> _note; bool _own_note; bool _selected; + bool _valid; }; } // namespace Gnome |