29static const char*
s_tag =
"ra8_widget_panel";
89 const uint16_t* out_dirty,
98 if ((p ==
nullptr) || (p->children ==
nullptr)) {
126 if ((p ==
nullptr) || (p->children ==
nullptr)) {
135 for (uint16_t i = 0U; i < p->count; ++i) {
136 if (p->children[i].visible) {
165 if ((p ==
nullptr) || (p->children ==
nullptr)) {
168 bool handled =
false;
189 if (panel->count > 0U) {
190 if (panel->children ==
nullptr) {
193 if ((uint32_t)panel->box_cap < ((uint32_t)panel->count + 1U)) {
215 panel_w->rect = *frame;
228 panel_w->dirty =
false;
static const char * s_tag
Logging / check tag.
Annotation-attribute framework macros for ra8-firmware.
#define RA8_INTERNAL
Marker that a function is intended to be static (file-local).
Validation and Error-Checking Macros for ra8-firmware.
#define RA8_CHECK_NULL_PTR(ptr, tag, message)
Reject nullptr pointer, returning k_ra8_err_null_ptr.
@ k_ra8_err_invalid_arg
Invalid function argument.
@ k_ra8_ok
Success – operation completed with all postconditions satisfied.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Axis-aligned rectangle in framebuffer pixel coordinates.