|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
#include <ra8_widget_book.h>
Data Fields | |
| const ra8_widget_paint_t * | paint |
| Draw backend (NULL -> draws nothing). | |
| const ra8_widget_book_t * | books |
| Array of count book records. | |
| void(* | on_open )(struct ra8_widget *w, uint16_t index) |
| Tap callback (opt/NULL). | |
| uint32_t | bg |
| Grid background colour, 0xRRGGBB. | |
| uint32_t | title_fg |
| Title text colour, 0xRRGGBB. | |
| uint32_t | author_fg |
| Author text colour, 0xRRGGBB. | |
| uint32_t | bar_track |
| Card progress track colour, 0xRRGGBB. | |
| uint32_t | bar_fill |
| Card progress fill colour, 0xRRGGBB. | |
| uint16_t | count |
| Number of book cards. | |
| uint16_t | cols |
| Grid columns (>= 1). | |
| uint16_t | selected |
| Last-tapped card index (observable). | |
| int16_t | pad |
| Grid inner padding, pixels. | |
| int16_t | gap |
| Gap between cards, pixels. | |
| int16_t | label_h |
| Title / author row height, pixels. | |
| int16_t | bar_h |
| Card progress-bar height, pixels. | |
Definition at line 93 of file ra8_widget_book.h.
| uint32_t ra8_widget_book_grid::author_fg |
Author text colour, 0xRRGGBB.
Definition at line 100 of file ra8_widget_book.h.
| uint32_t ra8_widget_book_grid::bar_fill |
Card progress fill colour, 0xRRGGBB.
Definition at line 102 of file ra8_widget_book.h.
| int16_t ra8_widget_book_grid::bar_h |
Card progress-bar height, pixels.
Definition at line 109 of file ra8_widget_book.h.
| uint32_t ra8_widget_book_grid::bar_track |
Card progress track colour, 0xRRGGBB.
Definition at line 101 of file ra8_widget_book.h.
| uint32_t ra8_widget_book_grid::bg |
Grid background colour, 0xRRGGBB.
Definition at line 98 of file ra8_widget_book.h.
| const ra8_widget_book_t* ra8_widget_book_grid::books |
Array of count book records.
Definition at line 95 of file ra8_widget_book.h.
| uint16_t ra8_widget_book_grid::cols |
Grid columns (>= 1).
Definition at line 104 of file ra8_widget_book.h.
| uint16_t ra8_widget_book_grid::count |
Number of book cards.
Definition at line 103 of file ra8_widget_book.h.
| int16_t ra8_widget_book_grid::gap |
Gap between cards, pixels.
Definition at line 107 of file ra8_widget_book.h.
| int16_t ra8_widget_book_grid::label_h |
Title / author row height, pixels.
Definition at line 108 of file ra8_widget_book.h.
| void(* ra8_widget_book_grid::on_open) (struct ra8_widget *w, uint16_t index) |
Tap callback (opt/NULL).
Definition at line 97 of file ra8_widget_book.h.
| int16_t ra8_widget_book_grid::pad |
Grid inner padding, pixels.
Definition at line 106 of file ra8_widget_book.h.
| const ra8_widget_paint_t* ra8_widget_book_grid::paint |
Draw backend (NULL -> draws nothing).
Definition at line 94 of file ra8_widget_book.h.
| uint16_t ra8_widget_book_grid::selected |
Last-tapped card index (observable).
Definition at line 105 of file ra8_widget_book.h.
| uint32_t ra8_widget_book_grid::title_fg |
Title text colour, 0xRRGGBB.
Definition at line 99 of file ra8_widget_book.h.