|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
SETUP's state: the open list and its scroll, the contact that holds the screen, the key repeat, the warning, the keyboard and the keypad, and what the last frame drew of each. More...
#include <settings_screen_int.h>
Data Fields | |
| bool | list |
| Whether the list of cat is open; the hub shows while false. | |
| setting_cat_t | cat |
| int | scroll |
| int | scroll_max |
| bool | have_press |
| uint8_t | press_id |
| int | hit_kind |
| int | hit_index |
| bool | dragging |
| int | press_x |
| int | press_y |
| int | last_y |
| float | held_for |
| bool | repeating |
| bool | chrome_valid [MAX_FBS] |
| bool | drawn_list |
| setting_cat_t | drawn_cat |
| bool | drawn_dirty |
| bool | drawn_asked |
| bool | drawn_failed |
| bool | warn |
| ui_screen_id_t | warn_to |
| bool | drawn_warn |
| bool | drawn_armed |
| ui_textkey_t | tk |
| setting_text_id_t | tk_text |
| bool | drawn_tk |
| uint32_t | drawn_tk_rev |
| ui_keypad_t | kp |
| setting_id_t | kp_id |
| bool | drawn_kp |
| uint32_t | drawn_kp_rev |
SETUP's state: the open list and its scroll, the contact that holds the screen, the key repeat, the warning, the keyboard and the keypad, and what the last frame drew of each.
| setting_cat_t stg_state_t::cat |
the category the list shows
| bool stg_state_t::chrome_valid[MAX_FBS] |
per frame buffer: whether its chrome is current
| bool stg_state_t::dragging |
whether the press became a scroll
| bool stg_state_t::drawn_armed |
ARMED at the last full draw: the warning's DISCARD and a list's SAFE-only rows
| bool stg_state_t::drawn_asked |
whether it read save asked
| setting_cat_t stg_state_t::drawn_cat |
category the last draw showed
| bool stg_state_t::drawn_dirty |
whether the save button read dirty at the last draw
| bool stg_state_t::drawn_failed |
whether it read failed
| bool stg_state_t::drawn_kp |
whether it was open, as last drawn
| uint32_t stg_state_t::drawn_kp_rev |
its revision, as last drawn
| bool stg_state_t::drawn_list |
whether the list showed at the last draw
| bool stg_state_t::drawn_tk |
whether the keyboard was open at the last draw
| uint32_t stg_state_t::drawn_tk_rev |
its revision at the last draw
| bool stg_state_t::drawn_warn |
whether the warning was drawn
| bool stg_state_t::have_press |
whether a contact holds the screen
| float stg_state_t::held_for |
seconds a key has been held within the slop
| int stg_state_t::hit_index |
tile index, or row index
| int stg_state_t::hit_kind |
what the press hit, HIT_*
| ui_keypad_t stg_state_t::kp |
the keypad a number's value opens
| setting_id_t stg_state_t::kp_id |
the number it types
| int stg_state_t::last_y |
y of the last move, px
| uint8_t stg_state_t::press_id |
touch id of that contact
| int stg_state_t::press_x |
x where the press began, px
| int stg_state_t::press_y |
y where the press began, px
| bool stg_state_t::repeating |
whether the held key has begun to repeat
| int stg_state_t::scroll |
list scroll, px
| int stg_state_t::scroll_max |
largest scroll, px
| ui_textkey_t stg_state_t::tk |
the keyboard of string tk_text
| setting_text_id_t stg_state_t::tk_text |
string the keyboard types
| bool stg_state_t::warn |
whether the warning is open
| ui_screen_id_t stg_state_t::warn_to |
screen the warning's way out leads to