|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
A tappable N-column grid of book cards. More...
#include <ra8_widget_book.h>
A tappable N-column grid of book cards.
Caller-owned plain data bound to a ra8_widget_t with ra8_widget_book_grid_init. books is a caller-owned array of count records tiled into cols columns (rows follow from the count), inset by pad and separated by gap. Each card stacks a cover, a label_h-tall title row, a label_h-tall author row, and a bar_h-tall progress bar. render paints the background then every card; on_input records the tapped card in selected and fires on_open.