dRonin
adbada4
dRonin firmware
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
fonts.h
Go to the documentation of this file.
1
13
/*
14
* This program is free software; you can redistribute it and/or modify
15
* it under the terms of the GNU General Public License as published by
16
* the Free Software Foundation; either version 3 of the License, or
17
* (at your option) any later version.
18
*
19
* This program is distributed in the hope that it will be useful, but
20
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
21
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22
* for more details.
23
*
24
* You should have received a copy of the GNU General Public License along
25
* with this program; if not, see <http://www.gnu.org/licenses/>
26
*
27
* Additional note on redistribution: The copyright and license notices above
28
* must be maintained in each individual source file that is a derivative work
29
* of this source file; otherwise redistribution is prohibited.
30
*
31
* NOTE: This file is generated by encode_fonts.py DO NOT EDIT!
32
* NOTE: Some fonts are CC 3.0 BY-SA and note GPL licensed. See FONT_LICENSE.txt
33
*/
34
35
36
37
#ifndef FONTS_H
38
#define FONTS_H
39
40
#include <
openpilot.h
>
41
42
43
struct
FontEntry
{
44
uint8_t
width
;
45
uint8_t
height
;
46
const
uint8_t*
lookup
;
47
const
uint16_t*
data
;
48
};
49
50
#define NUM_FONTS 4
51
52
#define FONT8X10 0
53
#define FONT_OUTLINED8X14 1
54
#define FONT12X18 2
55
#define FONT_OUTLINED8X8 3
56
57
58
#endif
/* FONTS_H */
59
FontEntry
Definition:
fonts.h:43
FontEntry::lookup
const uint8_t * lookup
Definition:
fonts.h:46
FontEntry::width
uint8_t width
Definition:
fonts.h:44
FontEntry::data
const uint16_t * data
Definition:
fonts.h:47
FontEntry::height
uint8_t height
Definition:
fonts.h:45
openpilot.h
Includes PiOS and core architecture components.
flight
Modules
OnScreenDisplay
inc
fonts.h
Generated by
1.8.6