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

The log viewer's state: the browse list and its page of the card, the footer message, the DELETE question, the import's analysis, the plot's samples, window and cursor, and the touches tracked. More...

#include <log_viewer_int.h>

Data Fields

view_t view
log_viewer_io_t io
log_viewer_tab_t tab
ui_tabs_t tabs
log_viewer_tab_t open_tab
unsigned written_seen
log_viewer_file_t files [LOG_VIEWER_MAX_FILES]
int n_files
int n_card
int first
int listed
card_state_t card
int sel
int scroll
char volume [LOG_VIEWER_NAME_MAX]
unsigned mounts
unsigned open_mounts
bool bar_drag
int bar_grab
char name [LOG_VIEWER_NAME_MAX]
lv_msg_kind_t msg_kind
ui_text_id_t msg_id
log_err_t msg_err
char msg_name [LOG_VIEWER_NAME_MAX]
bool message_ok
 Whether the message reports a result rather than a failure.
char doomed [LOG_VIEWER_NAME_MAX]
 Name of the file DELETE asked about; "" while no question is open.
uint64_t doomed_size
bool q_down
 Whether the contact that counts is down on the question.
uint8_t q_id
log_analysis_t an
bool have_analysis
int delim_index
log_conv_t conv
int picked [LOG_MAX_SERIES]
int n_picked
int col_scroll
log_data_t data
bool have_data
int cursor
log_text_t text
int text_scroll
int win0
int win_n
bool pinch
uint8_t pinch_id [2]
int16_t pinch_x [2]
float pinch_d0
float pinch_s0
float pinch_n0
bool panning
int16_t pan_x0
int pan_win0
int pan_cursor0
bool pressing
int press_row
int press_y0
int press_scroll0
bool dragged
int press_btn
uint8_t press_id
int16_t press_x
bool tap_have
bool tap_moved
uint8_t tap_id
int16_t tap_x0
int16_t tap_y0
bool valid [MAX_FBS]

Detailed Description

The log viewer's state: the browse list and its page of the card, the footer message, the DELETE question, the import's analysis, the plot's samples, window and cursor, and the touches tracked.

Field Documentation

◆ an

log_analysis_t lv_state_t::an

the import's analysis of the open file

◆ bar_drag

bool lv_state_t::bar_drag

whether a finger holds the scroll bar's thumb

◆ bar_grab

int lv_state_t::bar_grab

px below the thumb's top where the finger took it

◆ card

card_state_t lv_state_t::card

what the slot holds while listed is -1

◆ col_scroll

int lv_state_t::col_scroll

first column row shown on the import view

◆ conv

log_conv_t lv_state_t::conv

number convention; LOG_CONV_AUTO respects the file

◆ cursor

int lv_state_t::cursor

cursor sample index, -1 for none

◆ data

log_data_t lv_state_t::data

the plot's samples

◆ delim_index

int lv_state_t::delim_index

-1 auto, else index into log_csv_delimiters

◆ doomed_size

uint64_t lv_state_t::doomed_size

its size, bytes

◆ dragged

bool lv_state_t::dragged

whether the press moved far enough to be a drag

◆ files

log_viewer_file_t lv_state_t::files[LOG_VIEWER_MAX_FILES]

the page of the card's entries

◆ first

int lv_state_t::first

entries ahead of the page, in log_name_rank() order

◆ have_analysis

bool lv_state_t::have_analysis

whether an holds an analysis

◆ have_data

bool lv_state_t::have_data

whether data is loaded

◆ io

log_viewer_io_t lv_state_t::io

the I/O the screen reads the card through

◆ listed

int lv_state_t::listed

-1 no volume, 0 not read, 1 read

◆ mounts

unsigned lv_state_t::mounts

the I/O's mount number when the page was read

◆ msg_err

log_err_t lv_state_t::msg_err

LV_MSG_ERR: the verdict

◆ msg_id

ui_text_id_t lv_state_t::msg_id

LV_MSG_TEXT: the text

◆ msg_kind

lv_msg_kind_t lv_state_t::msg_kind

what the message holds

◆ msg_name

char lv_state_t::msg_name[LOG_VIEWER_NAME_MAX]

the name it formats, or ""

◆ n_card

int lv_state_t::n_card

entries the volume holds; above n_files when paged

◆ n_files

int lv_state_t::n_files

rows on the page, at most LOG_VIEWER_MAX_FILES

◆ n_picked

int lv_state_t::n_picked

number of picked columns

◆ name

char lv_state_t::name[LOG_VIEWER_NAME_MAX]

the open file's name

◆ open_mounts

unsigned lv_state_t::open_mounts

the mount number when the open file's page was read

◆ open_tab

log_viewer_tab_t lv_state_t::open_tab

tab of the file named by name

◆ pan_cursor0

int lv_state_t::pan_cursor0

cursor before the touch

◆ pan_win0

int lv_state_t::pan_win0

window start where the pan began

◆ pan_x0

int16_t lv_state_t::pan_x0

finger x where the pan began, px

◆ panning

bool lv_state_t::panning

whether one finger pans the zoomed view

◆ picked

int lv_state_t::picked[LOG_MAX_SERIES]

column indices picked as series

◆ pinch

bool lv_state_t::pinch

whether two fingers are on the plot

◆ pinch_d0

float lv_state_t::pinch_d0

distance at the start, px

◆ pinch_id

uint8_t lv_state_t::pinch_id[2]

touch ids of the two fingers

◆ pinch_n0

float lv_state_t::pinch_n0

window width at the start, samples

◆ pinch_s0

float lv_state_t::pinch_s0

sample under the start midpoint

◆ pinch_x

int16_t lv_state_t::pinch_x[2]

their x at the start, px

◆ press_btn

int lv_state_t::press_btn

button pressed

◆ press_id

uint8_t lv_state_t::press_id

the finger that holds the plot cursor

◆ press_row

int lv_state_t::press_row

row pressed

◆ press_scroll0

int lv_state_t::press_scroll0

scroll where the press began

◆ press_x

int16_t lv_state_t::press_x

x of the press, px

◆ press_y0

int lv_state_t::press_y0

y where the press began, px

◆ pressing

bool lv_state_t::pressing

whether a press is on a list row or button

◆ q_id

uint8_t lv_state_t::q_id

touch id of that contact

◆ scroll

int lv_state_t::scroll

first row shown

◆ sel

int lv_state_t::sel

highlighted file, -1 for none

◆ tab

log_viewer_tab_t lv_state_t::tab

folder tab the browse view lists

◆ tabs

ui_tabs_t lv_state_t::tabs

the three folder tabs

◆ tap_have

bool lv_state_t::tap_have

whether a contact holds a press on a button or row

◆ tap_id

uint8_t lv_state_t::tap_id

touch id of that contact

◆ tap_moved

bool lv_state_t::tap_moved

whether it has moved further than the slop

◆ tap_x0

int16_t lv_state_t::tap_x0

x where it came down, px

◆ tap_y0

int16_t lv_state_t::tap_y0

y where it came down, px

◆ text

log_text_t lv_state_t::text

the report the TEXT view shows

◆ text_scroll

int lv_state_t::text_scroll

the TEXT view's first row on screen

◆ valid

bool lv_state_t::valid[MAX_FBS]

per frame buffer: whether its content is current

◆ view

view_t lv_state_t::view

the view on screen

◆ volume

char lv_state_t::volume[LOG_VIEWER_NAME_MAX]

the card's name when the page was read

◆ win0

int lv_state_t::win0

first sample shown

◆ win_n

int lv_state_t::win_n

samples shown

◆ written_seen

unsigned lv_state_t::written_seen

the logger's count of files created, as last seen


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