|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
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] |
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.
| log_analysis_t lv_state_t::an |
the import's analysis of the open file
| bool lv_state_t::bar_drag |
whether a finger holds the scroll bar's thumb
| int lv_state_t::bar_grab |
px below the thumb's top where the finger took it
| card_state_t lv_state_t::card |
what the slot holds while listed is -1
| int lv_state_t::col_scroll |
first column row shown on the import view
| log_conv_t lv_state_t::conv |
number convention; LOG_CONV_AUTO respects the file
| int lv_state_t::cursor |
cursor sample index, -1 for none
| log_data_t lv_state_t::data |
the plot's samples
| int lv_state_t::delim_index |
-1 auto, else index into log_csv_delimiters
| uint64_t lv_state_t::doomed_size |
its size, bytes
| bool lv_state_t::dragged |
whether the press moved far enough to be a drag
| log_viewer_file_t lv_state_t::files[LOG_VIEWER_MAX_FILES] |
the page of the card's entries
| int lv_state_t::first |
entries ahead of the page, in log_name_rank() order
| bool lv_state_t::have_analysis |
whether an holds an analysis
| bool lv_state_t::have_data |
whether data is loaded
| log_viewer_io_t lv_state_t::io |
the I/O the screen reads the card through
| int lv_state_t::listed |
-1 no volume, 0 not read, 1 read
| unsigned lv_state_t::mounts |
the I/O's mount number when the page was read
| log_err_t lv_state_t::msg_err |
LV_MSG_ERR: the verdict
| ui_text_id_t lv_state_t::msg_id |
LV_MSG_TEXT: the text
| lv_msg_kind_t lv_state_t::msg_kind |
what the message holds
| char lv_state_t::msg_name[LOG_VIEWER_NAME_MAX] |
the name it formats, or ""
| int lv_state_t::n_card |
entries the volume holds; above n_files when paged
| int lv_state_t::n_files |
rows on the page, at most LOG_VIEWER_MAX_FILES
| int lv_state_t::n_picked |
number of picked columns
| char lv_state_t::name[LOG_VIEWER_NAME_MAX] |
the open file's name
| unsigned lv_state_t::open_mounts |
the mount number when the open file's page was read
| log_viewer_tab_t lv_state_t::open_tab |
tab of the file named by name
| int lv_state_t::pan_cursor0 |
cursor before the touch
| int lv_state_t::pan_win0 |
window start where the pan began
| int16_t lv_state_t::pan_x0 |
finger x where the pan began, px
| bool lv_state_t::panning |
whether one finger pans the zoomed view
| int lv_state_t::picked[LOG_MAX_SERIES] |
column indices picked as series
| bool lv_state_t::pinch |
whether two fingers are on the plot
| float lv_state_t::pinch_d0 |
distance at the start, px
| uint8_t lv_state_t::pinch_id[2] |
touch ids of the two fingers
| float lv_state_t::pinch_n0 |
window width at the start, samples
| float lv_state_t::pinch_s0 |
sample under the start midpoint
| int16_t lv_state_t::pinch_x[2] |
their x at the start, px
| int lv_state_t::press_btn |
button pressed
| uint8_t lv_state_t::press_id |
the finger that holds the plot cursor
| int lv_state_t::press_row |
row pressed
| int lv_state_t::press_scroll0 |
scroll where the press began
| int16_t lv_state_t::press_x |
x of the press, px
| int lv_state_t::press_y0 |
y where the press began, px
| bool lv_state_t::pressing |
whether a press is on a list row or button
| uint8_t lv_state_t::q_id |
touch id of that contact
| int lv_state_t::scroll |
first row shown
| int lv_state_t::sel |
highlighted file, -1 for none
| log_viewer_tab_t lv_state_t::tab |
folder tab the browse view lists
| ui_tabs_t lv_state_t::tabs |
the three folder tabs
| bool lv_state_t::tap_have |
whether a contact holds a press on a button or row
| uint8_t lv_state_t::tap_id |
touch id of that contact
| bool lv_state_t::tap_moved |
whether it has moved further than the slop
| int16_t lv_state_t::tap_x0 |
x where it came down, px
| int16_t lv_state_t::tap_y0 |
y where it came down, px
| log_text_t lv_state_t::text |
the report the TEXT view shows
| int lv_state_t::text_scroll |
the TEXT view's first row on screen
| bool lv_state_t::valid[MAX_FBS] |
per frame buffer: whether its content is current
| view_t lv_state_t::view |
the view on screen
| char lv_state_t::volume[LOG_VIEWER_NAME_MAX] |
the card's name when the page was read
| int lv_state_t::win0 |
first sample shown
| int lv_state_t::win_n |
samples shown
| unsigned lv_state_t::written_seen |
the logger's count of files created, as last seen