mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-19 23:15:05 +00:00
- Added screenshot app & service (PC-only for now) - Updated docs with screenshots and new device photo - Add fake statusbar icons for PC/sim build - added `lv_screenshot` library based on `lv_100ask_screenshot` from https://github.com/100askTeam/lv_lib_100ask - T-Deck WiFi is now allocated into SPI RAM - Created `tt_service_find()` to find services by their id
22 lines
380 B
C
22 lines
380 B
C
#pragma once
|
|
|
|
#include "app.h"
|
|
#include "lvgl.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct {
|
|
lv_obj_t* mode_dropdown;
|
|
lv_obj_t* path_textarea;
|
|
lv_obj_t* start_stop_button_label;
|
|
lv_obj_t* timer_wrapper;
|
|
lv_obj_t* delay_textarea;
|
|
} ScreenshotUi;
|
|
|
|
void create_screenshot_ui(App app, ScreenshotUi* ui, lv_obj_t* parent);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |