|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
#include <ra8_widget.h>
Data Fields | |
| const ra8_widget_paint_t * | paint |
| Draw backend (NULL -> no draw). | |
| const char * | text |
| Label (NULL -> face only). | |
| void(* | on_press )(struct ra8_widget *w) |
| Press callback (optional / NULL). | |
| uint32_t | fg |
| Label colour, 0xRRGGBB. | |
| uint32_t | face |
| Face fill when released, 0xRRGGBB. | |
| uint32_t | face_pressed |
| Face fill when pressed, 0xRRGGBB. | |
| uint32_t | border |
| Outline colour, 0xRRGGBB. | |
| uint32_t | presses |
| Count of taps consumed (observable). | |
| int16_t | pad |
| Inner label inset, pixels. | |
| int16_t | border_w |
| Outline thickness, pixels (>= 0). | |
| ra8_widget_align_t | align |
| Label alignment. | |
| bool | pressed |
| Latched pressed state. | |
| uint8_t | reserved |
| Padding to a 4-byte boundary. | |
Definition at line 591 of file ra8_widget.h.
| ra8_widget_align_t ra8_widget_button::align |
Label alignment.
Definition at line 602 of file ra8_widget.h.
| uint32_t ra8_widget_button::border |
Outline colour, 0xRRGGBB.
Definition at line 598 of file ra8_widget.h.
| int16_t ra8_widget_button::border_w |
Outline thickness, pixels (>= 0).
Definition at line 601 of file ra8_widget.h.
| uint32_t ra8_widget_button::face |
Face fill when released, 0xRRGGBB.
Definition at line 596 of file ra8_widget.h.
| uint32_t ra8_widget_button::face_pressed |
Face fill when pressed, 0xRRGGBB.
Definition at line 597 of file ra8_widget.h.
| uint32_t ra8_widget_button::fg |
Label colour, 0xRRGGBB.
Definition at line 595 of file ra8_widget.h.
| void(* ra8_widget_button::on_press) (struct ra8_widget *w) |
Press callback (optional / NULL).
Definition at line 594 of file ra8_widget.h.
| int16_t ra8_widget_button::pad |
Inner label inset, pixels.
Definition at line 600 of file ra8_widget.h.
| const ra8_widget_paint_t* ra8_widget_button::paint |
Draw backend (NULL -> no draw).
Definition at line 592 of file ra8_widget.h.
| bool ra8_widget_button::pressed |
Latched pressed state.
Definition at line 603 of file ra8_widget.h.
| uint32_t ra8_widget_button::presses |
Count of taps consumed (observable).
Definition at line 599 of file ra8_widget.h.
| uint8_t ra8_widget_button::reserved |
Padding to a 4-byte boundary.
Definition at line 604 of file ra8_widget.h.
| const char* ra8_widget_button::text |
Label (NULL -> face only).
Definition at line 593 of file ra8_widget.h.