Tactility/TactilityC/Source/tt_lvgl_toolbar.cpp
Ken Van Hoeylandt c87200a80d
Project restructuring (fixes macOS builds) (#198)
- Create `Include/` folder for all main projects
- Fix some issues here and there (found while moving things)
- All includes are now in `Tactility/` subfolder and must be included with that prefix. This fixes issues with clashing POSIX headers (e.g. `<semaphore.h>` versus Tactility's `Semaphore.h`)
2025-02-01 18:13:20 +01:00

15 lines
368 B
C++

#include "tt_lvgl_toolbar.h"
#include <Tactility/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);
}
}