ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_widget_book_t Struct Reference

One book card's data: cover colour, title, author, read progress. More...

#include <ra8_widget_book.h>

Detailed Description

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).

Invariant
percent is treated as a 0..100 percentage (clamped on render).
See also
ra8_widget_book_grid_t
Since
0.1.0

The documentation for this struct was generated from the following file: