C++ refactoring (#91)

This commit is contained in:
Ken Van Hoeylandt
2024-11-26 17:51:05 +01:00
committed by GitHub
parent d06137ba76
commit ca5d4b8226
159 changed files with 904 additions and 1086 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
#include "lvgl.h"
#include "Ui/Toolbar.h"
#include "ui/Toolbar.h"
static void app_show(tt::App app, lv_obj_t* parent) {
static void app_show(tt::app::App app, lv_obj_t* parent) {
lv_obj_t* toolbar = tt::lvgl::toolbar_create(parent, app);
lv_obj_align(toolbar, LV_ALIGN_TOP_MID, 0, 0);
@@ -10,9 +10,9 @@ static void app_show(tt::App app, lv_obj_t* parent) {
lv_obj_align(label, LV_ALIGN_CENTER, 0, 0);
}
extern const tt::AppManifest hello_world_app = {
extern const tt::app::Manifest hello_world_app = {
.id = "HelloWorld",
.name = "Hello World",
.type = tt::AppTypeUser,
.type = tt::app::TypeUser,
.on_show = &app_show,
};