mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 08:15:19 +03:00
Add characters for NAV modes
[RTH], [WPT], [ALT], [POS] and [A+H]. Characters have been added to all character maps. Leave a white character after mp/h and the first 2-char image intentionally to avoid the preview in the configurator showing an icon between 2 lines.
This commit is contained in:
parent
8a16e3b245
commit
e79911d327
20 changed files with 1028 additions and 1028 deletions
|
@ -19431,7 +19431,6 @@ SYM.AH_CENTER_LINE_RIGHT = 0x27;
|
|||
SYM.AH_CENTER = 0x7E;
|
||||
SYM.AH_BAR9_0 = 0x80;
|
||||
SYM.AH_DECORATION = 0x13;
|
||||
SYM.LOGO = 0xA0;
|
||||
SYM.AMP = 0x9A;
|
||||
SYM.MAH = 0x07;
|
||||
SYM.METRE = 0xC;
|
||||
|
@ -19447,6 +19446,7 @@ SYM.DIST_TO_HOME = 0xA0;
|
|||
SYM.HEADING1 = 0xA9;
|
||||
SYM.HEADING2 = 0xA8;
|
||||
SYM.VARIO = 0x9F;
|
||||
SYM.LAST_CHAR = 189;
|
||||
|
||||
var FONT = FONT || {};
|
||||
|
||||
|
@ -19631,7 +19631,7 @@ FONT.upload = function ($progress) {
|
|||
|
||||
FONT.preview = function ($el) {
|
||||
$el.empty();
|
||||
for (var i = 0; i < SYM.LOGO; i++) {
|
||||
for (var i = 0; i <= SYM.LAST_CHAR; i++) {
|
||||
var url = FONT.data.character_image_urls[i];
|
||||
$el.append('<img src="' + url + '" title="0x' + i.toString(16) + '"></img>');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue