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

The screen's state. More...

#include <files_int.h>

Data Fields

files_io_t io
bool have_io
files_view_t view
fm_tree_t pane [2]
int scroll [2]
int active
bool read [2]
fm_err_t pane_err [2]
char enter_name [FM_NAME_BUF]
unsigned mount
bool need [2]
fm_go_t need_go [2]
bool need_look
bool keep_place [2]
 The pane's wish waiting is RESCAN's: its answer keeps the pane's place (place_keep() in files_screen.c).
fm_req_t req
bool busy
int req_pane
bool req_keep
float busy_s
uint64_t prog_done
uint64_t prog_total
bool cancel_asked
char select_after [2][FM_NAME_BUF]
 The name a pane selects once its next page is read: a new folder, a new file, a renamed entry.
fm_entry_t doomed
int doomed_pane
fm_entry_t info_entry
char info_dir [FM_PATH_SIZE]
fm_info_t info
fm_err_t info_err
ui_textkey_t tk
fs_name_for_t name_for
uint32_t drawn_tk_rev
fm_bench_t bench
char user_dir [CARD_DIR_MAX]
char auto_dir [CARD_DIR_MAX]
bool drawn_gate
fs_msg_kind_t msg_kind
ui_text_id_t msg_id
fm_err_t msg_err
char msg_a [FM_NAME_BUF]
char msg_b [FM_NAME_BUF]
bool message_ok
bool tap_have
bool tap_moved
uint8_t tap_id
int16_t tap_x0
int16_t tap_y0
int press
int press_pane
int press_row
int press_scroll0
bool dragged
int bar_grab
bool valid [MAX_FBS]

Detailed Description

The screen's state.

Field Documentation

◆ active

int fs_state_t::active

the pane OPEN and the rest act in

◆ auto_dir

char fs_state_t::auto_dir[CARD_DIR_MAX]

AUTO LOG FOLDER in force

◆ bar_grab

int fs_state_t::bar_grab

px below the thumb's top it was taken

◆ bench

fm_bench_t fs_state_t::bench

the io's bench, the log folders ours

◆ busy

bool fs_state_t::busy

handed over and not answered yet

◆ busy_s

float fs_state_t::busy_s

how long it has been under way, s

◆ cancel_asked

bool fs_state_t::cancel_asked

CANCEL was pressed on the job

◆ doomed

fm_entry_t fs_state_t::doomed

the entry

◆ doomed_pane

int fs_state_t::doomed_pane

its pane

◆ dragged

bool fs_state_t::dragged

a list press that scrolled

◆ drawn_gate

bool fs_state_t::drawn_gate

the gate as last drawn: shut

◆ drawn_tk_rev

uint32_t fs_state_t::drawn_tk_rev

its revision as last drawn

◆ enter_name

char fs_state_t::enter_name[FM_NAME_BUF]

the folder an ENTER goes into

◆ have_io

bool fs_state_t::have_io

◆ info

fm_info_t fs_state_t::info

the answer

◆ info_dir

char fs_state_t::info_dir[FM_PATH_SIZE]

its folder

◆ info_entry

fm_entry_t fs_state_t::info_entry

the entry

◆ info_err

fm_err_t fs_state_t::info_err

FM_OK, or why the card did not answer

◆ io

files_io_t fs_state_t::io

the card's task

◆ message_ok

bool fs_state_t::message_ok

a result, not a refusal

◆ mount

unsigned fs_state_t::mount

the card the panes are of; 0 none yet

◆ msg_a

char fs_state_t::msg_a[FM_NAME_BUF]

the first name it formats, or ""

◆ msg_b

char fs_state_t::msg_b[FM_NAME_BUF]

the second, RENAME's new name, or ""

◆ msg_err

fm_err_t fs_state_t::msg_err

FS_MSG_ERR: the answer

◆ msg_id

ui_text_id_t fs_state_t::msg_id

FS_MSG_TEXT: the text

◆ msg_kind

fs_msg_kind_t fs_state_t::msg_kind

what the message line holds

◆ name_for

fs_name_for_t fs_state_t::name_for

NEW > FOLDER, NEW > TEXT FILE, RENAME

◆ need

bool fs_state_t::need[2]

a page of the pane is to be read

◆ need_go

fm_go_t fs_state_t::need_go[2]

which page

◆ need_look

bool fs_state_t::need_look

the next one looks at the slot first

◆ pane

fm_tree_t fs_state_t::pane[2]

the two panes as last read

◆ pane_err

fm_err_t fs_state_t::pane_err[2]

what its last read answered

◆ press

int fs_state_t::press

◆ press_pane

int fs_state_t::press_pane

a row's or a bar's pane

◆ press_row

int fs_state_t::press_row

a row's index on the page

◆ press_scroll0

int fs_state_t::press_scroll0

the pane's scroll at the press

◆ prog_done

uint64_t fs_state_t::prog_done

a job's bytes done, as last drawn

◆ prog_total

uint64_t fs_state_t::prog_total

and to do

◆ read

bool fs_state_t::read[2]

the pane was read since the start

◆ req

fm_req_t fs_state_t::req

the request

◆ req_keep

bool fs_state_t::req_keep

a PAGE of RESCAN's: keep the place

◆ req_pane

int fs_state_t::req_pane

PAGE, ENTER, UP: its pane; -1 else

◆ scroll

int fs_state_t::scroll[2]

each pane's first row on screen

◆ tap_have

bool fs_state_t::tap_have

a press is held

◆ tap_id

uint8_t fs_state_t::tap_id

its contact

◆ tap_moved

bool fs_state_t::tap_moved

it went past the slop

◆ tap_x0

int16_t fs_state_t::tap_x0

where it came down

◆ tap_y0

int16_t fs_state_t::tap_y0

where it came down

◆ tk

ui_textkey_t fs_state_t::tk

the keyboard

◆ user_dir

char fs_state_t::user_dir[CARD_DIR_MAX]

USER LOG FOLDER in force

◆ valid

bool fs_state_t::valid[MAX_FBS]

each framebuffer holds the last frame

◆ view

files_view_t fs_state_t::view

what is on top


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