rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
ui_textkey_t Struct Reference

A keyboard: what it was opened for, what is typed, and the press it holds. More...

#include <ui_textkey.h>

Data Fields

bool open
gfx_rect_t area
char title [48]
char text [UI_TEXTKEY_PASS_MAX+1]
int len
int max_len
bool refused
bool search
bool folder
bool file
uint8_t why
bool wifi
bool secret
bool show
ui_textkey_layer_t layer
int pressed
uint8_t press_id
uint32_t revision

Detailed Description

A keyboard: what it was opened for, what is typed, and the press it holds.

Field Documentation

◆ area

gfx_rect_t ui_textkey_t::area

where it draws, screen coordinates

◆ file

bool ui_textkey_t::file

a file name: see the top

◆ folder

bool ui_textkey_t::folder

a folder of the card: see the top

◆ layer

ui_textkey_layer_t ui_textkey_t::layer

the Wi-Fi layer shown

◆ len

int ui_textkey_t::len

bytes in text

◆ max_len

int ui_textkey_t::max_len

the most it takes

◆ open

bool ui_textkey_t::open

drawn and taking events

◆ press_id

uint8_t ui_textkey_t::press_id

the touch id of that press

◆ pressed

int ui_textkey_t::pressed

the key under the press, or -1

◆ refused

bool ui_textkey_t::refused

OK on an empty name

◆ revision

uint32_t ui_textkey_t::revision

bumped on every change a render shows

◆ search

bool ui_textkey_t::search

a search pattern: see the top

◆ secret

bool ui_textkey_t::secret

a password: masked, 8 at least

◆ show

bool ui_textkey_t::show

the password shown

◆ text

char ui_textkey_t::text[UI_TEXTKEY_PASS_MAX+1]

the text, '\0'-ended

◆ title

char ui_textkey_t::title[48]

what is typed, top left

◆ why

uint8_t ui_textkey_t::why

a folder's refusal, card_folder_t; a file name's, fm_name_t

◆ wifi

bool ui_textkey_t::wifi

a Wi-Fi name or password


The documentation for this struct was generated from the following file: