|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
A row of tabs: their labels, where they are, which is selected and the press under way. More...
#include <ui_tabs.h>
Data Fields | |
| const char * | label [UI_TABS_MAX] |
| int16_t | text [UI_TABS_MAX] |
| gfx_rect_t | rect [UI_TABS_MAX] |
| int | count |
| int | selected |
| int | pressed |
| uint8_t | press_id |
A row of tabs: their labels, where they are, which is selected and the press under way.
| int ui_tabs_t::count |
tabs in the row
| const char* ui_tabs_t::label[UI_TABS_MAX] |
as given, for a -1 text
| uint8_t ui_tabs_t::press_id |
the touch id of that press
| int ui_tabs_t::pressed |
index, or -1
| gfx_rect_t ui_tabs_t::rect[UI_TABS_MAX] |
each tab, screen coordinates
| int ui_tabs_t::selected |
the tab shown
| int16_t ui_tabs_t::text[UI_TABS_MAX] |
a ui_text_id_t, or -1 for label