Taranis Q X7 optimized wizard (#5198)
[opentx.git] / radio / src / fonts.h
blobf9430b8cb686a3aef0758f7dbec00b8b852fb9c1
1 /*
2 * Copyright (C) OpenTX
4 * Based on code named
5 * th9x - http://code.google.com/p/th9x
6 * er9x - http://code.google.com/p/er9x
7 * gruvin9x - http://code.google.com/p/gruvin9x
9 * License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
21 #ifndef _FONTS_H_
22 #define _FONTS_H_
24 #if defined(COLORLCD)
26 extern const uint16_t * const fontspecsTable[16];
27 extern const uint8_t * const fontsTable[16];
29 #if defined(PCBHORUS)
30 extern BitmapBuffer * fontCache[2];
31 void loadFontCache();
32 #endif
34 #else
36 extern const pm_uchar font_5x7[];
37 extern const pm_uchar font_10x14[];
39 #if defined(BOLD_FONT) && ((!defined(CPUM64) && !defined(PCBMEGA2560)) || defined(TELEMETRY_NONE)) && !defined(BOOT)
40 #define BOLD_SPECIFIC_FONT
41 extern const pm_uchar font_5x7_B[];
42 #endif
44 #if defined(CPUARM)
45 extern const pm_uchar font_3x5[];
46 extern const pm_uchar font_4x6[];
47 extern const pm_uchar font_8x10[];
48 extern const pm_uchar font_22x38_num[];
49 extern const pm_uchar font_5x7_extra[];
50 extern const pm_uchar font_10x14_extra[];
51 extern const pm_uchar font_4x6_extra[];
52 #endif
54 #endif
56 #endif // _FONTS_H_