mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
* refactor modules * moved esp_lvgl_port to libs/ * added missing file * fix for sim build * various sim/pc fixes * lvgl improvements * added missing cmake files
22 lines
404 B
C
22 lines
404 B
C
#pragma once
|
|
|
|
#include "lvgl.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef void(*NavAction)();
|
|
|
|
typedef struct {
|
|
const char* _Nullable title;
|
|
const char* _Nullable nav_icon; // LVGL compatible definition (e.g. local file or embedded icon from LVGL)
|
|
NavAction nav_action;
|
|
} Toolbar;
|
|
|
|
lv_obj_t* tt_lv_toolbar_create(lv_obj_t* parent, const Toolbar* toolbar);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|