![]() |
BSB Developer Docs
|
A widget that provides a text-based timer session summary. More...
#include <gui/widget.h>Go to the source code of this file.
Typedefs | |
| typedef struct SummaryLabel | SummaryLabel |
| SummaryLabel opaque structure. | |
Functions | |
| SummaryLabel * | summary_label_alloc (Widget *parent) |
| Create a new SummaryLabel instance. | |
| void | summary_label_free (SummaryLabel *instance) |
| Delete a SummaryLabel instance. | |
| Widget * | summary_label_get_base (SummaryLabel *instance) |
| Get a pointer to the base class instance. | |
| void | summary_label_set_cycles_count (SummaryLabel *instance, uint32_t cycles_count) |
| Set the number of cycles to show in the cycles display section. | |
| void | summary_label_switch_display (SummaryLabel *instance) |
| Switch the cycles display to the text message and vice versa. | |
A widget that provides a text-based timer session summary.
Can be used only on the front display.
| SummaryLabel * summary_label_alloc | ( | Widget * | parent | ) |
Create a new SummaryLabel instance.
| [in,out] | parent | pointer to the parent Widget instance |
| void summary_label_free | ( | SummaryLabel * | instance | ) |
Delete a SummaryLabel instance.
| [in,out] | instance | pointer to the SummaryLabel instance to be deleted |
| Widget * summary_label_get_base | ( | SummaryLabel * | 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 SummaryLabel instance to be queried |
| void summary_label_set_cycles_count | ( | SummaryLabel * | instance, |
| uint32_t | cycles_count ) |
Set the number of cycles to show in the cycles display section.
| [in,out] | instance | pointer to the SummaryLabel instance to be modified |
| [in] | cycles_count | number of cycles to show |
| void summary_label_switch_display | ( | SummaryLabel * | instance | ) |
Switch the cycles display to the text message and vice versa.
| [in,out] | instance | pointer to the SummaryLabel instance to be modified |