mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
* **New Features** * Added NFC chip-select to SD card hardware configuration. * **Refactor** * Consolidated and renamed icon resources; apps and status-bar now reference unified icon headers and new icon constants. * Renamed LVGL lock API (timed → lvgl_try_lock) and updated callers. * **Documentation** * Updated module README and license files; added Apache-2.0 license document.
32 lines
667 B
C
32 lines
667 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();
|
|
uint32_t lvgl_get_shared_icon_font_height();
|
|
|
|
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();
|
|
uint32_t lvgl_get_launcher_icon_font_height();
|
|
|
|
const lv_font_t* lvgl_get_statusbar_icon_font();
|
|
uint32_t lvgl_get_statusbar_icon_font_height();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|