diff options
Diffstat (limited to 'src/drawing.c')
-rw-r--r-- | src/drawing.c | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/src/drawing.c b/src/drawing.c index 3922e09..3aa5de8 100644 --- a/src/drawing.c +++ b/src/drawing.c | |||
@@ -409,8 +409,7 @@ draw_scale() { | |||
409 | draw_rect(x, y, x + R_COL_W - 2, y + SCALE_H - 3, COL_FG); | 409 | draw_rect(x, y, x + R_COL_W - 2, y + SCALE_H - 3, COL_FG); |
410 | txt_drawf_small("SCALE", x + 3, y - 10, COL_FG); | 410 | txt_drawf_small("SCALE", x + 3, y - 10, COL_FG); |
411 | 411 | ||
412 | // TODO: Switch for different scales here | 412 | txt_drawf(scale_short[current_scale], x + 2, y + 2, COL_FG); |
413 | txt_drawf("CHRM", x + 2, y + 2, COL_FG); | ||
414 | } | 413 | } |
415 | 414 | ||
416 | void | 415 | void |
@@ -1657,6 +1656,36 @@ draw_notif_bar() { | |||
1657 | } | 1656 | } |
1658 | return; | 1657 | return; |
1659 | } | 1658 | } |
1659 | if (input_handler == handle_right_col_selection) { | ||
1660 | switch (right_col_selection_loc) { | ||
1661 | case R_COL_BANK_A: { txt_drawf_small("BANK A", x0 + 2, y0 + 1, color); } break; | ||
1662 | case R_COL_BANK_B: { txt_drawf_small("BANK B", x0 + 2, y0 + 1, color); } break; | ||
1663 | case R_COL_BANK_C: { txt_drawf_small("BANK C", x0 + 2, y0 + 1, color); } break; | ||
1664 | case R_COL_BANK_D: { txt_drawf_small("BANK D", x0 + 2, y0 + 1, color); } break; | ||
1665 | case R_COL_BANK_E: { txt_drawf_small("BANK E", x0 + 2, y0 + 1, color); } break; | ||
1666 | case R_COL_BANK_F: { txt_drawf_small("BANK F", x0 + 2, y0 + 1, color); } break; | ||
1667 | case R_COL_STOP: { | ||
1668 | txt_drawf_small("STOP", x0 + 2, y0 + 1, color); | ||
1669 | } break; | ||
1670 | case R_COL_PLAY: { | ||
1671 | if (play_status == 0) { | ||
1672 | txt_drawf_small("PLAY", x0 + 2, y0 + 1, color); | ||
1673 | } else { | ||
1674 | txt_drawf_small("PAUSE", x0 + 2, y0 + 1, color); | ||
1675 | } | ||
1676 | } break; | ||
1677 | case R_COL_SETTINGS: { | ||
1678 | txt_drawf_small("SETTINGS", x0 + 2, y0 + 1, color); | ||
1679 | } break; | ||
1680 | case R_COL_SCALE: { | ||
1681 | txt_drawf_small("SCALE: %s", x0 + 2, y0 + 1, color, scale_long[current_scale]); | ||
1682 | } break; | ||
1683 | case R_COL_BPM: { | ||
1684 | txt_drawf_small("TEMPO: %d bpm", x0 + 2, y0 + 1, color, patterns[pattern_selection_loc].bpm); | ||
1685 | } break; | ||
1686 | } | ||
1687 | return; | ||
1688 | } | ||
1660 | 1689 | ||
1661 | if (chain.len != 0) { | 1690 | if (chain.len != 0) { |
1662 | u8 x = x0 + 2; | 1691 | u8 x = x0 + 2; |