diff options
Diffstat (limited to 'src/drawing.c')
-rw-r--r-- | src/drawing.c | 39 |
1 files changed, 34 insertions, 5 deletions
diff --git a/src/drawing.c b/src/drawing.c index b488ed1..18504bc 100644 --- a/src/drawing.c +++ b/src/drawing.c | |||
@@ -1261,11 +1261,40 @@ draw_notif_bar() { | |||
1261 | } | 1261 | } |
1262 | txt_drawf_small(msg, x0 + 2, y0 + 1, color); | 1262 | txt_drawf_small(msg, x0 + 2, y0 + 1, color); |
1263 | } else { | 1263 | } else { |
1264 | // if (notif.time > -16) { | 1264 | if (settings.help == HELP_ON) { |
1265 | // notif.time--; | 1265 | if (input_handler == handle_trigger_selection || |
1266 | // return; | 1266 | input_handler == handle_channel_selection) { |
1267 | // } | 1267 | txt_drawf_small("L/R:NOTE A:PARAMS B:TOGGLE", x0 + 2, y0 + 1, color); |
1268 | // TODO: More context dependent messages? Use instructions? | 1268 | } else if (input_handler == handle_param_selection_sq1 || |
1269 | input_handler == handle_param_selection_sq2 || | ||
1270 | input_handler == handle_param_selection_wave || | ||
1271 | input_handler == handle_param_selection_noise) { | ||
1272 | txt_drawf_small("L/R:ADJUST SELECT:COPY", x0 + 2, y0 + 1, color); | ||
1273 | } else if (input_handler == handle_pattern_selection) { | ||
1274 | txt_drawf_small("L/R:CHAIN A:PARAMS B:QUEUE", x0 + 2, y0 + 1, color); | ||
1275 | } else if (input_handler == handle_right_col_selection) { | ||
1276 | if (right_col_selection_loc == R_COL_STOP) { | ||
1277 | txt_drawf_small("B:STOP", x0 + 2, y0 + 1, color); | ||
1278 | } else if (right_col_selection_loc == R_COL_PLAY) { | ||
1279 | if (play_status == 0) { | ||
1280 | txt_drawf_small("B:PLAY", x0 + 2, y0 + 1, color); | ||
1281 | } else { | ||
1282 | txt_drawf_small("B:PAUSE", x0 + 2, y0 + 1, color); | ||
1283 | } | ||
1284 | } else if (right_col_selection_loc == R_COL_BPM) { | ||
1285 | txt_drawf_small("L/R:TEMPO", x0 + 2, y0 + 1, color); | ||
1286 | } else if (right_col_selection_loc == R_COL_SETTINGS) { | ||
1287 | txt_drawf_small("B:SETTINGS", x0 + 2, y0 + 1, color); | ||
1288 | } else if (right_col_selection_loc == R_COL_BANK_A || | ||
1289 | right_col_selection_loc == R_COL_BANK_B || | ||
1290 | right_col_selection_loc == R_COL_BANK_C || | ||
1291 | right_col_selection_loc == R_COL_BANK_D) { | ||
1292 | txt_drawf_small("B:SAVE CURRENT BANK AND SWITCH", x0 + 2, y0 + 1, color); | ||
1293 | } | ||
1294 | } | ||
1295 | return; | ||
1296 | } | ||
1297 | |||
1269 | if (play_status == 0) { | 1298 | if (play_status == 0) { |
1270 | txt_drawf_small("STOPPED", x0 + 2, y0 + 1, color); | 1299 | txt_drawf_small("STOPPED", x0 + 2, y0 + 1, color); |
1271 | } else { | 1300 | } else { |