|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
A status band: a fill, a left + right label, and a bottom hairline. More...
#include <ra8_widget_status_bar.h>
A status band: a fill, a left + right label, and a bottom hairline.
Caller-owned plain data bound to a ra8_widget_t with ra8_widget_status_bar_init. render fills the rect with bg, places left at the left inset and right at the right inset (right alignment needs the backend's text_size; without it the right text falls back to the left inset), then fills a rule-coloured strip rule_h pixels tall at the band's bottom. A NULL left / right draws no text; a rule_h <= 0 draws no rule.