diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-03-16 18:33:49 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-03-16 18:33:49 +0100 |
| commit | 7c3b90eb9834ae605c679be2c240d36715225acc (patch) | |
| tree | 1114d70e857174daf0f8e9b8edd08dbe4e2037fe /src/fonts.h | |
| parent | 253c967318e6a75c6c4947b01f12ee3797db1b40 (diff) | |
locale loading unix
Diffstat (limited to 'src/fonts.h')
| -rw-r--r-- | src/fonts.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fonts.h b/src/fonts.h index 4a3bb93..ef2a23d 100644 --- a/src/fonts.h +++ b/src/fonts.h @@ -1,5 +1,7 @@ #pragma once +#include <wchar.h> + typedef enum t_ts_font_range { FONT_RANGE_ENGLISH, FONT_RANGE_GREEK, @@ -12,4 +14,5 @@ typedef enum t_ts_font_range { FONT_RANGE_VIETNAMESE, } ts_font_range; -void ts_load_fonts(float size, ts_font_range locale);
\ No newline at end of file +void ts_load_fonts(float size, ts_font_range locale); +ts_font_range ts_locale_to_range(wchar_t* locale);
\ No newline at end of file |
