|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
One book card's data: cover colour, title, author, read progress. More...
#include <ra8_widget_book.h>
One book card's data: cover colour, title, author, read progress.
Pure data consumed by ra8_widget_book_grid_t – the grid owns the paint backend and the colours, so a card record is just the per-book content. The cover is a solid cover swatch (a real build would blit cover art here); percent is the 0..100 read progress shown in the card's bar (values above 100 saturate to a full bar).