summaryrefslogtreecommitdiff
path: root/gtk2_ardour/note_select_dialog.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-10-24 19:43:46 +0200
committerRobin Gareus <robin@gareus.org>2019-10-24 19:59:22 +0200
commit3f2f5172915973a98b550c70cabbe979553664b2 (patch)
tree7713bf254c2128d586eee0f41f7374fb1cd46a70 /gtk2_ardour/note_select_dialog.h
parent7664f8fd29793be09899cd1c94695a2a3880215f (diff)
Rough-in gtk-pianokeyboard C -> C++
Diffstat (limited to 'gtk2_ardour/note_select_dialog.h')
-rw-r--r--gtk2_ardour/note_select_dialog.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk2_ardour/note_select_dialog.h b/gtk2_ardour/note_select_dialog.h
index 3970095317..893952e60d 100644
--- a/gtk2_ardour/note_select_dialog.h
+++ b/gtk2_ardour/note_select_dialog.h
@@ -31,12 +31,11 @@ public:
uint8_t note_number() const { return _note_number; }
- void note_on_event_handler(int note);
-
private:
- PianoKeyboard* _piano;
- Gtk::Widget* _pianomm;
- uint8_t _note_number;
+ PianoKeyboard _piano;
+ uint8_t _note_number;
+
+ void note_on_event_handler(int, int);
};
#endif /* __gtk2_ardour_note_select_dialog_h__ */