diff options
author | Roland Reichwein <mail@reichwein.it> | 2025-01-04 17:51:59 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2025-01-04 17:51:59 +0100 |
commit | 2e793141e5434043205763c70d3a597cf2d78eeb (patch) | |
tree | 8b6a14273fcc98ff7bf118cf63574257a637547f /UI.h | |
parent | 624a69994d89c71b1ce59dd3b2117a235400be2f (diff) |
Separate clocks
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(); |