diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-26 14:29:31 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-26 14:29:31 +0300 |
commit | 5aa20a2cc80543366d2e2c321902570dee1c385c (patch) | |
tree | 92e7dc8edcb7903d31609759b798d44b6bc796d6 /src/ui/text.h | |
parent | 07b10a92a467a8a2ceb045e5eae37a1be440a1ca (diff) |
Text: Added a new font for Emoji
Noto Emoji by Google, pretty good but not ideal.
Diffstat (limited to 'src/ui/text.h')
-rw-r--r-- | src/ui/text.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/ui/text.h b/src/ui/text.h index 982218eb..18718d37 100644 --- a/src/ui/text.h +++ b/src/ui/text.h | |||
@@ -16,6 +16,11 @@ enum iFontId { | |||
16 | mediumBold_FontId, | 16 | mediumBold_FontId, |
17 | largeBold_FontId, | 17 | largeBold_FontId, |
18 | hugeBold_FontId, | 18 | hugeBold_FontId, |
19 | emoji_FontId, | ||
20 | mediumEmoji_FontId, | ||
21 | largeEmoji_FontId, | ||
22 | hugeEmoji_FontId, | ||
23 | smallEmoji_FontId, | ||
19 | max_FontId, | 24 | max_FontId, |
20 | /* UI fonts: */ | 25 | /* UI fonts: */ |
21 | uiLabel_FontId = default_FontId, | 26 | uiLabel_FontId = default_FontId, |
@@ -32,12 +37,6 @@ enum iFontId { | |||
32 | header3_FontId = medium_FontId, | 37 | header3_FontId = medium_FontId, |
33 | }; | 38 | }; |
34 | 39 | ||
35 | #define specialSymbol_Text 0x10 | ||
36 | |||
37 | enum iSpecialSymbol { | ||
38 | silence_SpecialSymbol, | ||
39 | }; | ||
40 | |||
41 | void init_Text (SDL_Renderer *); | 40 | void init_Text (SDL_Renderer *); |
42 | void deinit_Text (void); | 41 | void deinit_Text (void); |
43 | 42 | ||