BSB Developer Docs
Loading...
Searching...
No Matches
busy_presets.h
1#pragma once
2
3#include <busy_timer/busy_timer.h>
4
5#include <toolbox/color.h>
6
8
11
12typedef enum {
13 BusyTransitionTypeDefault,
14 BusyTransitionTypeAutomatic,
15 BusyTransitionTypeSkip,
16 BusyTransitionTypeSelect,
17 BusyTransitionTypeWork,
18 BusyTransitionTypeRest,
19 BusyTransitionTypeWorkDone,
20 BusyTransitionTypeRestDone,
21 BusyTransitionTypeEnding,
22 BusyTransitionTypeMax,
23} BusyTransitionType;
24
25typedef enum {
26 BusyTimerIndicatorTypeWork,
27 BusyTimerIndicatorTypeRest,
28 BusyTimerIndicatorTypeWorkBig,
29 BusyTimerIndicatorTypeRestBig,
30 BusyTimerIndicatorTypeMax,
31} BusyTimerIndicatorType;
32
33typedef enum {
34 BusyTimerIndicatorTransitionTypeInfToSimple,
35 BusyTimerIndicatorTransitionTypeMax,
36} BusyTimerIndicatorTransitionType;
37
38typedef enum {
39 BusyTimerLabelTypeWork,
40 BusyTimerLabelTypeRest,
41 BusyTimerLabelTypeMax,
42} BusyTimerLabelType;
43
44typedef enum {
45 BusyAppPresetIdBusy,
46 BusyAppPresetIdCustom,
47 BusyAppPresetIdMax,
48} BusyAppPresetId;
49
50typedef struct {
51 const char* const header_img_path;
52 const char* const start_anim_path;
53 BusyTimerProfileId timer_profile_id;
55
56extern const TransitionOverlayPreset busy_transitions[BusyTransitionTypeMax];
57
58extern const TimerIndicatorPreset busy_timer_indicator_presets[BusyTimerIndicatorTypeMax];
59
60extern const TimerIndicatorTransition
61 busy_timer_indicator_transitions[BusyTimerIndicatorTransitionTypeMax];
62
63extern const TimerLabelPreset busy_timer_label_presets[BusyTimerLabelTypeMax];
64
65extern const BusyAppGlobalPreset busy_app_global_presets[BusyAppPresetIdMax];
Color declaration and conversion API.
Definition busy_presets.h:50
Definition timer_indicator.h:40
Definition timer_indicator.h:46
TimerLabel preset type.
Definition timer_label.h:19
Definition transition_overlay.h:39
A widget that shows the current timer status.
A widget that shows the remaining time.
Can be used only on the front display.