LVGL improvements for TactilityC (#233)

- Expose various `lv_event`-related functions
- Expose `tt::lvgl::toolbar`-related functions
- Update sample app and improved docs
This commit is contained in:
Ken Van Hoeylandt
2025-02-22 23:12:03 +01:00
committed by GitHub
parent 70d36131f6
commit 6d1d08944b
5 changed files with 109 additions and 12 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
* Only C is supported for now (C++ symbols fail to link)
*/
static void onShow(AppHandle app, void* data, lv_obj_t* parent) {
lv_obj_t* toolbar = tt_lvgl_toolbar_create(parent, app);
lv_obj_t* toolbar = tt_lvgl_toolbar_create_for_app(parent, app);
lv_obj_align(toolbar, LV_ALIGN_TOP_MID, 0, 0);
lv_obj_t* label = lv_label_create(parent);