mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
- Renamed `tt_app_context_*` to tt_app_*` - Renamed `AppContextHandle` to `AppHandle` - Created `tt_app_start()` and `tt_app_start_with_bundle()`
15 lines
358 B
C++
15 lines
358 B
C++
#include "tt_lvgl_toolbar.h"
|
|
#include <lvgl/Toolbar.h>
|
|
|
|
extern "C" {
|
|
|
|
lv_obj_t* tt_lvgl_toolbar_create(lv_obj_t* parent, AppHandle context) {
|
|
return tt::lvgl::toolbar_create(parent, *(tt::app::AppContext*)context);
|
|
}
|
|
|
|
lv_obj_t* tt_lvgl_toolbar_create_simple(lv_obj_t* parent, const char* title) {
|
|
return tt::lvgl::toolbar_create(parent, title);
|
|
}
|
|
|
|
}
|