1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-23 00:05:19 +03:00

Merge pull request #226 from fiam/osd_images

Split OSD character maps into images
This commit is contained in:
Paweł Spychalski 2017-08-28 11:16:22 +02:00 committed by GitHub
commit 8d4ec83e65
537 changed files with 15012 additions and 14969 deletions

View file

@ -19573,7 +19573,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;
@ -19589,6 +19588,7 @@ SYM.DIST_TO_HOME = 0xA0;
SYM.HEADING1 = 0xA9;
SYM.HEADING2 = 0xA8;
SYM.VARIO = 0x9F;
SYM.LAST_CHAR = 189;
var FONT = FONT || {};
@ -19773,7 +19773,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>');
}