|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
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 |
A keyboard: what it was opened for, what is typed, and the press it holds.
| gfx_rect_t ui_textkey_t::area |
where it draws, screen coordinates
| bool ui_textkey_t::file |
a file name: see the top
| bool ui_textkey_t::folder |
a folder of the card: see the top
| ui_textkey_layer_t ui_textkey_t::layer |
the Wi-Fi layer shown
| int ui_textkey_t::len |
bytes in text
| int ui_textkey_t::max_len |
the most it takes
| bool ui_textkey_t::open |
drawn and taking events
| uint8_t ui_textkey_t::press_id |
the touch id of that press
| int ui_textkey_t::pressed |
the key under the press, or -1
| bool ui_textkey_t::refused |
OK on an empty name
| uint32_t ui_textkey_t::revision |
bumped on every change a render shows
| bool ui_textkey_t::search |
a search pattern: see the top
| bool ui_textkey_t::secret |
a password: masked, 8 at least
| bool ui_textkey_t::show |
the password shown
| char ui_textkey_t::text[UI_TEXTKEY_PASS_MAX+1] |
the text, '\0'-ended
| char ui_textkey_t::title[48] |
what is typed, top left
| uint8_t ui_textkey_t::why |
a folder's refusal, card_folder_t; a file name's, fm_name_t
| bool ui_textkey_t::wifi |
a Wi-Fi name or password