aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/src/main.c b/src/main.c
index e3c60f8..c424d9c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -36,6 +36,7 @@ WITH REGARD TO THIS SOFTWARE.
36// - Per-channel N steps to create polymeters? 36// - Per-channel N steps to create polymeters?
37// - Channel params should show if there are some already on all triggers and 37// - Channel params should show if there are some already on all triggers and
38// modify only the selected parameter, not all of them. 38// modify only the selected parameter, not all of them.
39// - Should scale mode be toggleable?
39// 40//
40// WIP (1.7) 41// WIP (1.7)
41// + Improve "grey" cursor with dithering instead. 42// + Improve "grey" cursor with dithering instead.
@@ -52,20 +53,20 @@ WITH REGARD TO THIS SOFTWARE.
52// + Fix stop button behaviour. 53// + Fix stop button behaviour.
53// + Scale mode for entering notes. 54// + Scale mode for entering notes.
54// + Make sure bank switching is queued like patterns. 55// + Make sure bank switching is queued like patterns.
55// - Should scale mode be toggleable? 56// + If we are on sync in, BPM should display SYNC
57// + Visual feedback for scale/root note adjustment.
56// - Shortcut to quickly exit/enter chain mode. 58// - Shortcut to quickly exit/enter chain mode.
57// - If we are on sync in, BPM should display SYNC 59// - Add CREDITS to the documentation for now, should probably be a menu item
60// later.
61// - Settings page overhaul.
62// - Remove thin cursor option and make the fat one default, it's just better.
58// 63//
59// - Improve SRAM saving to make room for longer patterns and/or more banks. 64// - Improve SRAM saving to make room for longer patterns and/or more banks.
60// - Higher resolution clock to allow for microtiming and more accurate tempo. 65// - Higher resolution clock to allow for microtiming and more accurate tempo.
61// - Add settings for "performance mode" in which banks are not saved by 66// - Add settings for "performance mode" in which banks are not saved by
62// default while changing patterns. 67// default while changing patterns.
63// - Make sure sync works with the same cable for in/out. 68// - Make sure sync works with the same cable for in/out.
64// - Remove thin cursor option and make the fat one default, it's just better.
65// - Settings page overhaul.
66// - Study more improvements for a "performance mode". 69// - Study more improvements for a "performance mode".
67// - Add CREDITS to the documentation for now, should probably be a menu item
68// later.
69 70
70#include "gba/gba.h" 71#include "gba/gba.h"
71 72
@@ -111,10 +112,6 @@ render_sequencer(void) {
111 PROF(draw_scale(), draw_btn_cycles); 112 PROF(draw_scale(), draw_btn_cycles);
112 redraw_scale = false; 113 redraw_scale = false;
113 } 114 }
114 if (redraw_piano_note) {
115 PROF(draw_piano_notes(), draw_piano_cycles);
116 redraw_piano_note = false;
117 }
118 if (redraw_params) { 115 if (redraw_params) {
119 PROF(draw_parameters(), draw_param_cycles); 116 PROF(draw_parameters(), draw_param_cycles);
120 redraw_params = false; 117 redraw_params = false;
@@ -125,8 +122,8 @@ render_sequencer(void) {
125 draw_pattern_chain(); 122 draw_pattern_chain();
126 } 123 }
127 124
128 // TODO: redraw_notif?
129 draw_notif_bar(); 125 draw_notif_bar();
126 PROF(draw_piano_notes(), draw_piano_cycles);
130 PROF(draw_cursors(), draw_cursor_cycles); 127 PROF(draw_cursors(), draw_cursor_cycles);
131} 128}
132 129
@@ -184,7 +181,6 @@ update(void) {
184 redraw_bank_buttons = true; 181 redraw_bank_buttons = true;
185 redraw_bpm = true; 182 redraw_bpm = true;
186 redraw_play_pause = true; 183 redraw_play_pause = true;
187 redraw_piano_note = true;
188 redraw_params = true; 184 redraw_params = true;
189 redraw_scale = true; 185 redraw_scale = true;
190 } 186 }