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

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

Detailed Description

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.

Field Documentation

◆ cat

setting_cat_t stg_state_t::cat

the category the list shows

◆ chrome_valid

bool stg_state_t::chrome_valid[MAX_FBS]

per frame buffer: whether its chrome is current

◆ dragging

bool stg_state_t::dragging

whether the press became a scroll

◆ drawn_armed

bool stg_state_t::drawn_armed

ARMED at the last full draw: the warning's DISCARD and a list's SAFE-only rows

◆ drawn_asked

bool stg_state_t::drawn_asked

whether it read save asked

◆ drawn_cat

setting_cat_t stg_state_t::drawn_cat

category the last draw showed

◆ drawn_dirty

bool stg_state_t::drawn_dirty

whether the save button read dirty at the last draw

◆ drawn_failed

bool stg_state_t::drawn_failed

whether it read failed

◆ drawn_kp

bool stg_state_t::drawn_kp

whether it was open, as last drawn

◆ drawn_kp_rev

uint32_t stg_state_t::drawn_kp_rev

its revision, as last drawn

◆ drawn_list

bool stg_state_t::drawn_list

whether the list showed at the last draw

◆ drawn_tk

bool stg_state_t::drawn_tk

whether the keyboard was open at the last draw

◆ drawn_tk_rev

uint32_t stg_state_t::drawn_tk_rev

its revision at the last draw

◆ drawn_warn

bool stg_state_t::drawn_warn

whether the warning was drawn

◆ have_press

bool stg_state_t::have_press

whether a contact holds the screen

◆ held_for

float stg_state_t::held_for

seconds a key has been held within the slop

◆ hit_index

int stg_state_t::hit_index

tile index, or row index

◆ hit_kind

int stg_state_t::hit_kind

what the press hit, HIT_*

◆ kp

ui_keypad_t stg_state_t::kp

the keypad a number's value opens

◆ kp_id

setting_id_t stg_state_t::kp_id

the number it types

◆ last_y

int stg_state_t::last_y

y of the last move, px

◆ press_id

uint8_t stg_state_t::press_id

touch id of that contact

◆ press_x

int stg_state_t::press_x

x where the press began, px

◆ press_y

int stg_state_t::press_y

y where the press began, px

◆ repeating

bool stg_state_t::repeating

whether the held key has begun to repeat

◆ scroll

int stg_state_t::scroll

list scroll, px

◆ scroll_max

int stg_state_t::scroll_max

largest scroll, px

◆ tk

ui_textkey_t stg_state_t::tk

the keyboard of string tk_text

◆ tk_text

setting_text_id_t stg_state_t::tk_text

string the keyboard types

◆ warn

bool stg_state_t::warn

whether the warning is open

◆ warn_to

ui_screen_id_t stg_state_t::warn_to

screen the warning's way out leads to


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