Select one of the symbols to view example projects that use it.
 
Outline
#include <touchgfx/InternalFlashFont.hpp>
#include <touchgfx/TypedText.hpp>
#include <texts/TypedTextDatabase.hpp>
_fonts
typedText_database_DEFAULT
typedTextDatabaseArray
TypedTextDatabase
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXGui/generated/texts/src/TypedTextDatabase.cpp
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* DO NOT EDIT THIS FILE */ /* This file is autogenerated by the text-database code generator */ #include <touchgfx/InternalFlashFont.hpp> #include <touchgfx/TypedText.hpp> #include <texts/TypedTextDatabase.hpp> #ifndef NO_USING_NAMESPACE_TOUCHGFX using namespace touchgfx; #endif extern touchgfx::InternalFlashFont& getFont_Asap_Regular_36_4bpp(); extern touchgfx::InternalFlashFont& getFont_Asap_Regular_20_4bpp(); extern touchgfx::InternalFlashFont& getFont_Asap_Regular_22_4bpp(); extern touchgfx::InternalFlashFont& getFont_SourceSansPro_Regular_100_4bpp(); extern touchgfx::InternalFlashFont& getFont_SourceSansPro_Regular_18_4bpp(); extern touchgfx::InternalFlashFont& getFont_SourceSansPro_Regular_14_4bpp(); extern touchgfx::InternalFlashFont& getFont_SourceSansPro_Regular_64_4bpp(); extern touchgfx::InternalFlashFont& getFont_Asap_Regular_12_4bpp(); extern touchgfx::InternalFlashFont& getFont_RobotoCondensed_Regular_12_4bpp(); const touchgfx::Font* const _fonts[] = { &(getFont_Asap_Regular_36_4bpp()), &(getFont_Asap_Regular_20_4bpp()), &(getFont_Asap_Regular_22_4bpp()), &(getFont_SourceSansPro_Regular_100_4bpp()), &(getFont_SourceSansPro_Regular_18_4bpp()), &(getFont_SourceSansPro_Regular_14_4bpp()), &(getFont_SourceSansPro_Regular_64_4bpp()), &(getFont_Asap_Regular_12_4bpp()), &(getFont_RobotoCondensed_Regular_12_4bpp()) ...}; TEXT_LOCATION_FLASH_PRAGMA const touchgfx::TypedText::TypedTextData typedText_database_DEFAULT[] TEXT_LOCATION_FLASH_ATTRIBUTE = { { 0, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 2, touchgfx::RIGHT, touchgfx::TEXT_DIRECTION_LTR }, { 2, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR }, { 2, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR }, { 2, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR }, { 2, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR }, { 2, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR }, { 2, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR }, { 2, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR }, { 2, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 1, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 0, touchgfx::RIGHT, touchgfx::TEXT_DIRECTION_LTR }, { 3, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 4, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 4, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 4, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 4, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 5, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 5, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 5, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 5, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 5, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 5, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 5, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 5, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 5, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 5, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 5, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 5, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 6, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 7, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 7, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR }, { 7, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR }, { 7, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR }, { 8, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR }, { 8, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR } ...}; TEXT_LOCATION_FLASH_PRAGMA const touchgfx::TypedText::TypedTextData* const typedTextDatabaseArray[] TEXT_LOCATION_FLASH_ATTRIBUTE = { typedText_database_DEFAULT ...}; namespace TypedTextDatabase { const touchgfx::TypedText::TypedTextData* getInstance(touchgfx::LanguageId id) { return typedTextDatabaseArray[id]; }{ ... } uint16_t getInstanceSize() { return sizeof(typedText_database_DEFAULT) / sizeof(touchgfx::TypedText::TypedTextData); }{ ... } const touchgfx::Font* const * getFonts() { return _fonts; }{ ... } }...