![]() |
BSB Developer Docs
|
A widget that provides a progress timeline. More...
#include <gui/widget.h>Go to the source code of this file.
Typedefs | |
| typedef struct ProgressView | ProgressView |
| ProgressView opaque structure. | |
Functions | |
| ProgressView * | progress_view_alloc (Widget *parent) |
| Create a new ProgressView instance. | |
| void | progress_view_free (ProgressView *instance) |
| Delete a ProgressView instance. | |
| Widget * | progress_view_get_base (ProgressView *instance) |
| Get a pointer to the base class instance. | |
| void | progress_view_set_progress (ProgressView *instance, uint32_t interval_idx, uint32_t cycles_count, bool wait_next) |
| Set the progress to display. | |
A widget that provides a progress timeline.
Can be used only on the front display.
| ProgressView * progress_view_alloc | ( | Widget * | parent | ) |
Create a new ProgressView instance.
| [in,out] | parent | pointer to the parent Widget instance |
| void progress_view_free | ( | ProgressView * | instance | ) |
Delete a ProgressView instance.
| [in,out] | instance | pointer to the ProgressView instance to be deleted |
| Widget * progress_view_get_base | ( | ProgressView * | 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 ProgressView instance to be queried |
| void progress_view_set_progress | ( | ProgressView * | instance, |
| uint32_t | interval_idx, | ||
| uint32_t | cycles_count, | ||
| bool | wait_next ) |
Set the progress to display.
| [in,out] | instance | pointer to the ProgressView instance to be modified |
| [in] | interval_idx | numerical index of the current interval |
| [in] | cycles_count | total count of timer cycles |
| [in] | wait_next | whether to play a waiting animation after the main transition |