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

A text-label leaf widget: a background fill plus an aligned string. More...

#include <ra8_widget.h>

Detailed Description

A text-label leaf widget: a background fill plus an aligned string.

The simplest concrete leaf – it paints its bg over its rect and draws text (aligned, vertically centred when the backend can measure it). It is display-only, so its vtable leaves on_input NULL: a label never consumes a touch. Caller-owned plain data, bound to a ra8_widget_t with ra8_widget_label_init.

Invariant
paint is NULL or points at a valid ra8_widget_paint_t.
See also
ra8_widget_label_init
Since
0.1.0

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