summaryrefslogtreecommitdiffhomepage
path: root/UI.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2025-01-04 17:51:59 +0100
committerRoland Reichwein <mail@reichwein.it>2025-01-04 17:51:59 +0100
commit2e793141e5434043205763c70d3a597cf2d78eeb (patch)
tree8b6a14273fcc98ff7bf118cf63574257a637547f /UI.h
parent624a69994d89c71b1ce59dd3b2117a235400be2f (diff)
Separate clocks
Diffstat (limited to 'UI.h')
-rw-r--r--UI.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/UI.h b/UI.h
index db2f2cc..e8b1031 100644
--- a/UI.h
+++ b/UI.h
@@ -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();