From 20b1b448b7a1c8e22cb2e0f2d6294533f7a220af Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Wed, 12 Jul 2023 18:24:46 +0200 Subject: Add a notification system and use it for save/copy/paste events --- src/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main.c') 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. // // UI tweaks. // - Add custom user themes -// - Notification support for feedback when doing some operations +// + Notification support for feedback when doing some operations // (copying/pasting) // - Animations for cursor movement/current step highlight. (A fade out maybe?) // - Add panning support. @@ -28,6 +28,7 @@ WITH REGARD TO THIS SOFTWARE. // - Loop? // - Undo/Redo. // - Select + up/down to queue the next pattern as we move to it? +// - Option to show help on the notification bar? // // Advanced // - Add tap tempo for BPM. @@ -172,6 +173,9 @@ update(void) { if (audio_sync_click) { play_click(); } + if (notif.time > 0) { + notif.time--; + } } int -- cgit v1.2.1