mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-04-20 18:35:05 +00:00
- Created `tactility-headless` to support ESP32 firmwares that don't require graphics - `tactility` subproject now contains both PC and ESP32 code (to avoid having to split up `tactility` and `tactility-headless` into separate projects, which would result in a very complex dependency tree) - `tactility` subproject is now defined as component for ESP32 and as regular module for PC - Improvements for dispatcher - Added `project-structure.puml` to docs - `Gui` service now depends on `Loader` service instead of the reverse - Added `statusbar_updater` service for updating Wi-Fi and SD card icons
28 lines
647 B
C
28 lines
647 B
C
#pragma once
|
|
|
|
#include "app.h"
|
|
#include "lvgl.h"
|
|
#include "wifi_manage_bindings.h"
|
|
#include "wifi_manage_state.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct {
|
|
lv_obj_t* root;
|
|
lv_obj_t* enable_switch;
|
|
lv_obj_t* scanning_spinner;
|
|
lv_obj_t* networks_label;
|
|
lv_obj_t* networks_list;
|
|
lv_obj_t* connected_ap_container;
|
|
lv_obj_t* connected_ap_label;
|
|
} WifiManageView;
|
|
|
|
void wifi_manage_view_create(App app, WifiManageView* view, WifiManageBindings* bindings, lv_obj_t* parent);
|
|
void wifi_manage_view_update(WifiManageView* view, WifiManageBindings* bindings, WifiManageState* state);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|