|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
#include <ra8_widget_nav_bar.h>
Data Fields | |
| const ra8_widget_paint_t * | paint |
| Draw backend (NULL -> draws nothing). | |
| const char *const * | items |
| Array of count label strings. | |
| void(* | on_select )(struct ra8_widget *w, uint16_t index) |
| Tap callback (opt/NULL). | |
| uint32_t | bg |
| Strip background colour, 0xRRGGBB. | |
| uint32_t | fg_active |
| Active-item text colour, 0xRRGGBB. | |
| uint32_t | fg_muted |
| Inactive-item text colour, 0xRRGGBB. | |
| uint16_t | count |
| Number of items / cells. | |
| uint16_t | active |
| Highlighted item index. | |
| uint16_t | selected |
| Last-tapped item index (observable). | |
Definition at line 66 of file ra8_widget_nav_bar.h.
| uint16_t ra8_widget_nav_bar::active |
Highlighted item index.
Definition at line 75 of file ra8_widget_nav_bar.h.
| uint32_t ra8_widget_nav_bar::bg |
Strip background colour, 0xRRGGBB.
Definition at line 71 of file ra8_widget_nav_bar.h.
| uint16_t ra8_widget_nav_bar::count |
Number of items / cells.
Definition at line 74 of file ra8_widget_nav_bar.h.
| uint32_t ra8_widget_nav_bar::fg_active |
Active-item text colour, 0xRRGGBB.
Definition at line 72 of file ra8_widget_nav_bar.h.
| uint32_t ra8_widget_nav_bar::fg_muted |
Inactive-item text colour, 0xRRGGBB.
Definition at line 73 of file ra8_widget_nav_bar.h.
| const char* const* ra8_widget_nav_bar::items |
Array of count label strings.
Definition at line 68 of file ra8_widget_nav_bar.h.
| void(* ra8_widget_nav_bar::on_select) (struct ra8_widget *w, uint16_t index) |
Tap callback (opt/NULL).
Definition at line 70 of file ra8_widget_nav_bar.h.
| const ra8_widget_paint_t* ra8_widget_nav_bar::paint |
Draw backend (NULL -> draws nothing).
Definition at line 67 of file ra8_widget_nav_bar.h.
| uint16_t ra8_widget_nav_bar::selected |
Last-tapped item index (observable).
Definition at line 76 of file ra8_widget_nav_bar.h.