Silences added
This commit is contained in:
10
main.cpp
10
main.cpp
@@ -239,7 +239,10 @@ int main(int argc, char* argv[]) {
|
||||
case SDL_SCANCODE_H: note.SetFirstNote(8, base_octave, current_instrument, current_volume, current_effect); break;
|
||||
case SDL_SCANCODE_N: note.SetFirstNote(9, base_octave, current_instrument, current_volume, current_effect); break;
|
||||
case SDL_SCANCODE_J: note.SetFirstNote(10, base_octave, current_instrument, current_volume, current_effect); break;
|
||||
case SDL_SCANCODE_M: note.SetFirstNote(11, base_octave, current_instrument, current_volume, current_effect); break;
|
||||
case SDL_SCANCODE_M:
|
||||
note.SetFirstNote(11, base_octave, current_instrument, current_volume, current_effect); break;
|
||||
case SDL_SCANCODE_A:
|
||||
note.SetSilence(); break;
|
||||
default: m = false; break;
|
||||
};
|
||||
if (m) {
|
||||
@@ -351,6 +354,11 @@ int main(int argc, char* argv[]) {
|
||||
if (x == selected_channel && (y+scroll) == selected_row) color = color_dark_purple;
|
||||
draw_string("...", xp, yp, color);
|
||||
draw_string("...", 16+xp, yp, color);
|
||||
} else if (note.GetAbsoluteNote() == 63) {
|
||||
uint8_t color = color_light_grey;
|
||||
//if (x == selected_channel && (y+scroll) == selected_row) color = color_dark_purple;
|
||||
draw_string("===", xp, yp, color);
|
||||
draw_string("===", 16+xp, yp, color);
|
||||
} else {
|
||||
//uint8_t note_num = get_note(current_note);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user