diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 16 |
1 files changed, 3 insertions, 13 deletions
@@ -15,7 +15,7 @@ WITH REGARD TO THIS SOFTWARE. | |||
15 | // - Notification support for feedback when doing some operations | 15 | // - Notification support for feedback when doing some operations |
16 | // (copying/pasting) | 16 | // (copying/pasting) |
17 | // - Animations for cursor movement/current step highlight. (A fade out maybe?) | 17 | // - Animations for cursor movement/current step highlight. (A fade out maybe?) |
18 | // - Display played notes on all tonal channels when a trig or channel is not | 18 | // + Display played notes on all tonal channels when a trig or channel is not |
19 | // selected. If a channel is selected show active note in that channel, if | 19 | // selected. If a channel is selected show active note in that channel, if |
20 | // a trig is selected behaved as usual. These could be highlighted in | 20 | // a trig is selected behaved as usual. These could be highlighted in |
21 | // different colors to make it easier on the eyes. If a pattern is selected, | 21 | // different colors to make it easier on the eyes. If a pattern is selected, |
@@ -34,6 +34,7 @@ WITH REGARD TO THIS SOFTWARE. | |||
34 | // - Pattern chaining for more than 1 queue and/or song mode. | 34 | // - Pattern chaining for more than 1 queue and/or song mode. |
35 | // - Undo/Redo. | 35 | // - Undo/Redo. |
36 | // - Add a settings page to change some configuration parameters. | 36 | // - Add a settings page to change some configuration parameters. |
37 | // - Wrap around cursor left/right. | ||
37 | // | 38 | // |
38 | // Advanced | 39 | // Advanced |
39 | // - Sync via MIDI via arduinoboy or something similar. | 40 | // - Sync via MIDI via arduinoboy or something similar. |
@@ -85,18 +86,7 @@ render(void) { | |||
85 | redraw_play_pause = false; | 86 | redraw_play_pause = false; |
86 | } | 87 | } |
87 | if (redraw_piano_note) { | 88 | if (redraw_piano_note) { |
88 | PROF(draw_piano(), draw_piano_cycles); | 89 | PROF(draw_piano_notes(), draw_piano_cycles); |
89 | if (input_handler != handle_trigger_selection && | ||
90 | input_handler != handle_param_selection_sq1 && | ||
91 | input_handler != handle_param_selection_sq2 && | ||
92 | input_handler != handle_param_selection_wave && | ||
93 | input_handler != handle_param_selection_noise) { | ||
94 | // TODO: Show last/current played notes in all channels. | ||
95 | } else { | ||
96 | // Show currently selected trigger note. | ||
97 | TriggerNote *trig = get_current_trig(); | ||
98 | PROF(draw_note(trig->note, COL_NOTE_PRESSED), draw_piano_cycles); | ||
99 | } | ||
100 | redraw_piano_note = false; | 90 | redraw_piano_note = false; |
101 | } | 91 | } |
102 | if (redraw_params) { | 92 | if (redraw_params) { |