diff options
Diffstat (limited to 'UI.h')
-rw-r--r-- | UI.h | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -31,12 +31,15 @@ public: void draw(); + void handle_input(); + + bool key_available(); + // signals, from user input - boost::signals2::signal<void()> bpm_plus; - boost::signals2::signal<void()> bpm_minus; - boost::signals2::signal<void()> note_set_from_midi; - boost::signals2::signal<void()> mode; - boost::signals2::signal<void()> output; + boost::signals2::signal<void(int)> signal_bpm; + boost::signals2::signal<void(int, int)> signal_note_set_from_midi; + boost::signals2::signal<void(int)> signal_mode; + boost::signals2::signal<void(int)> signal_output; // slots void count_main_loops(); |