29static const char*
s_tag =
"ra8_widget_label";
36typedef enum : int16_t {
62 if (l->paint ==
nullptr) {
66 if (l->text ==
nullptr) {
69 if (l->paint->draw_text ==
nullptr) {
75 l->paint->draw_text(l->paint->user, tx, ty, l->text, l->fg, l->bg);
static const char * s_tag
Logging / check tag.
#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_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.