Compiler warning cleanup (#113)

Cleanup + expose more methods for external ELFs
This commit is contained in:
Ken Van Hoeylandt
2024-12-08 19:59:01 +01:00
committed by GitHub
parent 415442e410
commit e4206e8637
30 changed files with 506 additions and 127 deletions
+7 -7
View File
@@ -18,18 +18,18 @@ namespace tt::service::gui {
/** Gui structure */
struct Gui {
// Thread and lock
Thread* thread;
Mutex* mutex;
PubSubSubscription* loader_pubsub_subscription;
Thread* thread = nullptr;
Mutex mutex = Mutex(Mutex::TypeRecursive);
PubSubSubscription* loader_pubsub_subscription = nullptr;
// Layers and Canvas
lv_obj_t* lvgl_parent;
lv_obj_t* lvgl_parent = nullptr;
// App-specific
ViewPort* app_view_port;
ViewPort* app_view_port = nullptr;
lv_obj_t* _Nullable keyboard;
lv_group_t* keyboard_group;
lv_obj_t* _Nullable keyboard = nullptr;
lv_group_t* keyboard_group = nullptr;
};
/** Update GUI, request redraw */