aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2023-07-12 18:24:46 +0200
committerBad Diode <bd@badd10de.dev>2023-07-12 18:24:46 +0200
commit20b1b448b7a1c8e22cb2e0f2d6294533f7a220af (patch)
treee9a6c30530ec6d222e778d83f6f6bca49d0ca378 /src/main.c
parentd2be261b88753c3e0fdeb7588057aa3f1648ead5 (diff)
downloadstepper-20b1b448b7a1c8e22cb2e0f2d6294533f7a220af.tar.gz
stepper-20b1b448b7a1c8e22cb2e0f2d6294533f7a220af.zip
Add a notification system and use it for save/copy/paste events
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 5c7d6ed..2e78b3c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -13,7 +13,7 @@ WITH REGARD TO THIS SOFTWARE.
13// 13//
14// UI tweaks. 14// UI tweaks.
15// - Add custom user themes 15// - Add custom user themes
16// - Notification support for feedback when doing some operations 16// + Notification support for feedback when doing some operations
17// (copying/pasting) 17// (copying/pasting)
18// - Animations for cursor movement/current step highlight. (A fade out maybe?) 18// - Animations for cursor movement/current step highlight. (A fade out maybe?)
19// - Add panning support. 19// - Add panning support.
@@ -28,6 +28,7 @@ WITH REGARD TO THIS SOFTWARE.
28// - Loop? 28// - Loop?
29// - Undo/Redo. 29// - Undo/Redo.
30// - Select + up/down to queue the next pattern as we move to it? 30// - Select + up/down to queue the next pattern as we move to it?
31// - Option to show help on the notification bar?
31// 32//
32// Advanced 33// Advanced
33// - Add tap tempo for BPM. 34// - Add tap tempo for BPM.
@@ -172,6 +173,9 @@ update(void) {
172 if (audio_sync_click) { 173 if (audio_sync_click) {
173 play_click(); 174 play_click();
174 } 175 }
176 if (notif.time > 0) {
177 notif.time--;
178 }
175} 179}
176 180
177int 181int