![]() |
BSB Developer Docs
|
A widget that provides a timer session overview. More...
#include <gui/widget.h>Go to the source code of this file.
Typedefs | |
| typedef struct OverviewLabel | OverviewLabel |
| OverviewLabel opaque structure. | |
Functions | |
| OverviewLabel * | overview_label_alloc (Widget *parent) |
| Create a new OverviewLabel instance. | |
| void | overview_label_free (OverviewLabel *instance) |
| Delete a OverviewLabel instance. | |
| Widget * | overview_label_get_base (OverviewLabel *instance) |
| Get a pointer to the base class instance. | |
| void | overview_label_set_intervals (OverviewLabel *instance, uint32_t work_time_mn, uint32_t rest_time_mn) |
| Set the displayed overview time. | |
A widget that provides a timer session overview.
Can be used only on the front display.
| OverviewLabel * overview_label_alloc | ( | Widget * | parent | ) |
Create a new OverviewLabel instance.
| [in,out] | parent | pointer to the parent Widget instance |
| void overview_label_free | ( | OverviewLabel * | instance | ) |
Delete a OverviewLabel instance.
| [in,out] | instance | pointer to the OverviewLabel instance to be deleted |
| Widget * overview_label_get_base | ( | OverviewLabel * | instance | ) |
Get a pointer to the base class instance.
The return value can be used in all Widget methods.
| [in,out] | instance | pointer to the OverviewLabel instance to be queried |
| void overview_label_set_intervals | ( | OverviewLabel * | instance, |
| uint32_t | work_time_mn, | ||
| uint32_t | rest_time_mn ) |
Set the displayed overview time.
| [in,out] | instance | pointer to the OverviewLabel instance to be modified |
| [in] | work_time_mn | work time to display, in minutes |
| [in] | rest_time_mn | rest time to display, in minutes |