Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
CTCaer
GitHub Repository: CTCaer/hekate
Path: blob/master/bdk/libs/lvgl/lv_fonts/lv_font_builtin.h
1476 views
1
/*
2
* Copyright (c) 2019 CTCaer
3
*
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms and conditions of the GNU General Public License,
6
* version 2, as published by the Free Software Foundation.
7
*
8
* This program is distributed in the hope it will be useful, but WITHOUT
9
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
* more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*/
16
17
/**
18
* @file lv_font_builtin.h
19
*
20
*/
21
22
#ifndef LV_FONT_BUILTIN_H
23
#define LV_FONT_BUILTIN_H
24
25
#ifdef __cplusplus
26
extern "C" {
27
#endif
28
29
/*********************
30
* INCLUDES
31
*********************/
32
#ifdef LV_CONF_INCLUDE_SIMPLE
33
#include "lv_conf.h"
34
#else
35
#include "../../lv_conf.h"
36
#endif
37
38
#include "../lv_misc/lv_font.h"
39
40
/*********************
41
* DEFINES
42
*********************/
43
44
/**********************
45
* TYPEDEFS
46
**********************/
47
48
/**********************
49
* GLOBAL PROTOTYPES
50
**********************/
51
52
/**
53
* Initialize the built-in fonts
54
*/
55
void lv_font_builtin_init(void);
56
57
/**********************
58
* MACROS
59
**********************/
60
61
/**********************
62
* FONT DECLARATIONS
63
**********************/
64
65
/*20 px */
66
#if USE_INTERUI_20
67
LV_FONT_DECLARE(interui_20);
68
#endif
69
70
#if USE_HEKATE_SYMBOL_20
71
LV_FONT_DECLARE(hekate_symbol_20);
72
#endif
73
74
/*30 px */
75
#if USE_INTERUI_30
76
LV_FONT_DECLARE(interui_30);
77
#endif
78
79
#if USE_HEKATE_SYMBOL_30
80
LV_FONT_DECLARE(hekate_symbol_30);
81
#endif
82
83
#if USE_UBUNTU_MONO
84
LV_FONT_DECLARE(ubuntu_mono);
85
#endif
86
87
#if USE_HEKATE_SYMBOL_120
88
LV_FONT_DECLARE(hekate_symbol_120);
89
#endif
90
91
#ifdef __cplusplus
92
} /* extern "C" */
93
#endif
94
95
#endif /*LV_FONT_BUILTIN_H*/
96
97