summaryrefslogtreecommitdiffhomepage
path: root/UI.h
diff options
context:
space:
mode:
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();