RGB color structure.
Definition color.h:42
Definition timer_label.c:27
TimerLabel preset type.
Definition timer_label.h:19
Color base
Countdown base colour.
Definition timer_label.h:21
Color blink
Countdown blink colour.
Definition timer_label.h:22
void timer_label_set_time(TimerLabel *instance, uint32_t time_s)
Set the displayed time.
Definition timer_label.c:241
void timer_label_enable_background(TimerLabel *instance, bool enable)
Enable or disable the dark gradient background.
Definition timer_label.c:287
void timer_label_free(TimerLabel *instance)
Delete a TimerLabel instance.
Definition timer_label.c:231
void timer_label_hide(TimerLabel *instance, bool enable_animation)
Hide the label text and background (if enabled) with animation.
Definition timer_label.c:309
void timer_label_show(TimerLabel *instance, bool enable_animation)
Show the label text and background (if enabled) with animation.
Definition timer_label.c:292
Widget * timer_label_get_base(TimerLabel *instance)
Get a pointer to the base class instance.
Definition timer_label.c:236
void timer_label_set_preset(TimerLabel *instance, const TimerLabelPreset *preset)
Set the current preset (affects countdown blinking)
Definition timer_label.c:279
TimerLabel * timer_label_alloc(Widget *parent)
Create a new TimerLabel instance.
Definition timer_label.c:221