Ken Van Hoeylandt 15de4e20b8
TactilityC improvements (#359)
- Expose HAL Configuration's `UiScale`
- Updated docs
- Fix for `tt_timer_alloc()`
- Changed `enum class` to regular C `enum`
- Renamed enums (add prefix)
- Include `<stdbool.h>` where needed
2025-10-05 18:31:54 +02:00

27 lines
503 B
C

#pragma once
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
/** @return true if LVGL is started and active */
bool tt_lvgl_is_started();
/** Start LVGL and related background services */
void tt_lvgl_start();
/** Stop LVGL and related background services */
void tt_lvgl_stop();
/** Lock the LVGL context. Call this before doing LVGL-related operations from a non-LVLG thread */
void tt_lvgl_lock();
/** Unlock the LVGL context */
void tt_lvgl_unlock();
#ifdef __cplusplus
}
#endif