19 TimerIndicatorProgressDirectionHorizontal,
20 TimerIndicatorProgressDirectionVertical,
21 TimerIndicatorProgressDirectionMax,
22} TimerIndicatorProgressDirection;
25 const char* anim_path;
29 const char* anim_path;
30 const char* mask_path;
31 TimerIndicatorProgressDirection direction;
32 int8_t start_offset_px;
37 const char* image_path;
47 const char* anim_path;
Definition timer_indicator.h:24
Definition timer_indicator.h:36
Definition timer_indicator.c:9
Definition timer_indicator.h:40
Definition timer_indicator.h:28
Definition timer_indicator.h:46
Widget * timer_indicator_get_base(TimerIndicator *instance)
Get a pointer to the base class instance.
Definition timer_indicator.c:141
void timer_indicator_set_progress(TimerIndicator *instance, float progress)
Set the progress value for the progress animation.
Definition timer_indicator.c:162
void timer_indicator_enable_animations(TimerIndicator *instance, bool enable)
Enable or disable animations shown by a TimerIndicator instance.
Definition timer_indicator.c:184
TimerIndicator * timer_indicator_alloc(Widget *parent)
Create a new TimerIndicator instance.
Definition timer_indicator.c:126
void timer_indicator_set_preset(TimerIndicator *instance, const TimerIndicatorPreset *preset, const TimerIndicatorTransition *transition)
Set the active preset for a TimerIndicator instance.
Definition timer_indicator.c:146
void timer_indicator_free(TimerIndicator *instance)
Delete a TimerIndicator instance.
Definition timer_indicator.c:136