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:
parent
39a4b8e39d
commit
a6863e3d1c
60 changed files with 152 additions and 105 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue