Skip to content

Commit

Permalink
TB3PO: UI tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
djphazer committed May 15, 2024
1 parent e099b22 commit 2135d0f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions software/src/applets/TB3PO.h
Original file line number Diff line number Diff line change
Expand Up @@ -637,12 +637,12 @@ class TB_3PO: public HemisphereApplet {
gfxPrint(14, 37, dens_display);

// Scale and root note select
gfxPrint(39, 26, OC::scale_names_short[GetScale(0)]);
gfxPrint(38, 26, OC::scale_names_short[GetScale(0)]);

int8_t &q_oct = HS::q_octave[io_offset];
gfxPrint((q_oct == 0 ? 45 : 39), 36, OC::Strings::note_names_unpadded[GetRootNote(0)]);
gfxPrint((q_oct == 0 ? 44 : 38), 36, OC::Strings::note_names_unpadded[GetRootNote(0)]);
if (q_oct != 0) {
gfxPrint(51, 36, q_oct);
gfxPrint(50, 36, q_oct);
}

// Current / total steps
Expand All @@ -658,7 +658,8 @@ class TB_3PO: public HemisphereApplet {
gfxBitmap(41, 54, 8, UP_BTN_ICON);
}

gfxPrint(49, 55, curr_step_semitone);
gfxPrint(49, 55, OC::Strings::note_names_unpadded[curr_step_semitone]);
//gfxPrint(49, 55, curr_step_semitone);

// Draw a TB-303 style octave of a piano keyboard, indicating the playing pitch
int x = 1;
Expand Down Expand Up @@ -710,10 +711,10 @@ class TB_3PO: public HemisphereApplet {
gfxCursor(9, 45, 14); // density
break;
case 6:
gfxCursor(39, 34, 25); // scale
gfxCursor(38, 34, 25); // scale
break;
case 7:
gfxCursor(39, 44, 24); // root note
gfxCursor(38, 44, 24); // root note
break;
case 8:
gfxCursor(20, 54, 12, 8); // step
Expand Down

0 comments on commit 2135d0f

Please sign in to comment.