mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-20 07:25:06 +00:00
- Created Files app to browse PC and ESP32 files. - Refactored toolbars so it's now a proper widget and allows for changing its properties from the app - Toolbar now has extra action buttons - Settings app now has a proper icon - Minor cleanup in Desktop app
27 lines
616 B
C
27 lines
616 B
C
#pragma once
|
|
|
|
#include "lvgl.h"
|
|
#include "wifi_connect_state.h"
|
|
#include "wifi_connect_bindings.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct {
|
|
lv_obj_t* ssid_textarea;
|
|
lv_obj_t* password_textarea;
|
|
lv_obj_t* connect_button;
|
|
lv_obj_t* cancel_button;
|
|
lv_obj_t* remember_switch;
|
|
lv_group_t* group;
|
|
} WifiConnectView;
|
|
|
|
void wifi_connect_view_create(App app, void* wifi, lv_obj_t* parent);
|
|
void wifi_connect_view_update(WifiConnectView* view, WifiConnectBindings* bindings, WifiConnectState* state);
|
|
void wifi_connect_view_destroy(WifiConnectView* view);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|