1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-18 22:05:10 +03:00

Proportional Fonts - merged from SVN

-font definitions are left aligned and width defined
-numbers have fixed width, but are shrinked
-INVerted strings ara black surrounded from left and right sides
This commit is contained in:
mhotar 2013-12-12 11:41:22 +01:00
parent 39a4b8e39d
commit a6863e3d1c
60 changed files with 152 additions and 105 deletions

View file

@ -831,7 +831,8 @@ void editName(uint8_t x, uint8_t y, char *name, uint8_t size, uint8_t event, uin
name[cur] = v;
eeDirty(EE_MODEL);
}
lcd_putcAtt(x+editNameCursorPos*FW, y, idx2char(v), INVERS);
lcd_putsnAtt(x, y, name, editNameCursorPos, ZCHAR | ((active && s_editMode <= 0) ? INVERS : 0));
lcd_putcAtt(lcdLastPos, y, idx2char(v), INVERS);
}
else {
cur = 0;