mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 02:45:05 +00:00
- Implement double size icon assets in `lvgl-module` - `AppList` and `Settings` app now show a paginated grid of icons - T-Lora Pager gets a larger font to improve readability (14 -> 16 pixels) - Improve default widget selection in several apps (`PowerOff`, `AlertDialog`, `AppList`, `Settings`, `Boot`) - USB HID LVGL device is now only created when necessary. And the code is called in a safer way. - Renamed “Region & Language” to “Locale.” - The terminal toolbar is shown only when pointer input is available.
35 lines
797 B
C
35 lines
797 B
C
// SPDX-License-Identifier: Apache-2.0
|
|
#pragma once
|
|
|
|
#include <lvgl.h>
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
enum LvglFontSize {
|
|
FONT_SIZE_SMALL,
|
|
FONT_SIZE_DEFAULT,
|
|
FONT_SIZE_LARGE,
|
|
};
|
|
|
|
const lv_font_t* lvgl_get_shared_icon_font(void);
|
|
uint32_t lvgl_get_shared_icon_font_height(void);
|
|
|
|
const lv_font_t* lvgl_get_shared_icon_font_2x(void);
|
|
uint32_t lvgl_get_shared_icon_font_2x_height(void);
|
|
|
|
const lv_font_t* lvgl_get_text_font(enum LvglFontSize font_size);
|
|
uint32_t lvgl_get_text_font_height(enum LvglFontSize font_size);
|
|
|
|
const lv_font_t* lvgl_get_launcher_icon_font(void);
|
|
uint32_t lvgl_get_launcher_icon_font_height(void);
|
|
|
|
const lv_font_t* lvgl_get_statusbar_icon_font(void);
|
|
uint32_t lvgl_get_statusbar_icon_font_height(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|