|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
A search-field + count-chip toolbar band with a tappable field. More...
#include <ra8_widget_toolbar.h>
A search-field + count-chip toolbar band with a tappable field.
Caller-owned plain data bound to a ra8_widget_t with ra8_widget_toolbar_init. The band is inset by pad; the count chip takes a fixed count_w on the right and the search field flexes to fill the rest. render fills bg, draws the border-framed field box with the hint placeholder, then the right-aligned count text. on_input consumes a touch that lands inside the search-field rect (incrementing searches and firing on_search); everything else is declined.