mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 02:45:05 +00:00
- Implemented themes with LSS: material, material mono - Implemented grid-based navigation - Added new Launcher - Updated Appearance app to add theme configuration - Updated various apps to improve UX/UI - Added LVGL widgets: cards, badges, chips, icon buttons - Added support for round/rounded displays - Added the concept of insets to LVGL and implemented it in toolbar + statusbar - Terminal app now hides toolbar by default, but tapping the terminal toggles visibility - File browsing now opens the configured user-data location by default - Added missing licenses to subprojects - Updated README.md screenshots and intro text
25 lines
767 B
C
25 lines
767 B
C
#pragma once
|
|
|
|
#include <lvgl.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* Initializes the theme for a display. When the display needs the other theme than the active one,
|
|
* the active theme is deinitialized first, so only one theme is allocated.
|
|
* @param[in] display the display that the theme is for
|
|
* @param[in] isMonoDisplay the display can only show monochrome or greyscale
|
|
* @param[in] supportsAnimations the display can show animations (e.g. not e-paper)
|
|
* @return the theme
|
|
*/
|
|
lv_theme_t* lvgl_theme_init_for_display(lv_display_t* display, bool isMonoDisplay, bool supportsAnimations);
|
|
|
|
/** Deinitializes the active theme. LVGL frees its memory when it stops, which includes the theme. */
|
|
void lvgl_theme_deinit(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|