new "big" font

This commit is contained in:
2023-08-10 21:16:53 +03:00
parent ebd5005942
commit 9d4142b46b
2 changed files with 38 additions and 5 deletions

View File

@ -84,9 +84,9 @@ void updateScreen() {
}
char bpmChar[5];
bpmStr.toCharArray(bpmChar, 5);
u8g2.setFont(u8g2_font_logisoso24_tn);
u8g2.setFont(fabryka);
if (((!insideTab && shiftBtnPushed) || (insideTab && menuItem == 0)) && masterClockMode == 0) {
u8g2.drawButtonUTF8(28, 26, U8G2_BTN_BW1|U8G2_BTN_INV|U8G2_BTN_HCENTER, 56, 0, 0, bpmChar );
u8g2.drawButtonUTF8(28, 26, U8G2_BTN_BW1|U8G2_BTN_INV|U8G2_BTN_HCENTER, 56, 0, 5, bpmChar );
u8g2.setFont(velvetscreen);
if (masterClockMode == 0) {
if (insideTab && menuItem == 0 && !menuItemSelected && !shiftBtnPushed) {
@ -255,11 +255,11 @@ void updateScreen() {
}
}
valueStr.toCharArray(valueChar, 8);
u8g2.setFont(u8g2_font_logisoso24_tr);
u8g2.setFont(fabryka);
if ((!insideTab && shiftBtnPushed) || (insideTab && menuItem == 0)) {
u8g2.drawButtonUTF8(96, 26, U8G2_BTN_BW1|U8G2_BTN_INV|U8G2_BTN_HCENTER, 56, 0, 0, valueChar );
u8g2.drawButtonUTF8(96, 26, U8G2_BTN_BW1|U8G2_BTN_INV|U8G2_BTN_HCENTER, 56, 0, 5, valueChar );
} else {
u8g2.drawButtonUTF8(96, 26, U8G2_BTN_BW0|U8G2_BTN_HCENTER, 56, 0, 0, valueChar );
u8g2.drawButtonUTF8(96, 26, U8G2_BTN_BW0|U8G2_BTN_HCENTER, 56, 0, 5, valueChar );
}
}