Use labs() for long instead of abs()
[ardour.git] / gtk2_ardour / pianokeyboard.h
index d4435e56b22d920fa0b3b9cf9f53c700fb45b2a2..2b12befe7371790a9bcddde4b6850fb1b7fadb78 100644 (file)
@@ -34,6 +34,7 @@ public:
        sigc::signal<void, int, int> NoteOn;
        sigc::signal<void, int>      NoteOff;
        sigc::signal<void>           Rest;
+       sigc::signal<void,bool>      SustainChanged;
 
        enum Layout {
                QWERTY,
@@ -121,7 +122,6 @@ private:
                int  h;         /* Height of the key, in pixels. */
        };
 
-       bool _maybe_stop_sustained_notes;
        bool _sustain_new_notes;
        bool _highlight_grand_piano_range;
        bool _annotate_layout;