![]() |
BSB Developer Docs
|
A widget that shows the remaining time. More...
Go to the source code of this file.
Data Structures | |
| struct | TimerBarPreset |
Typedefs | |
| typedef struct TimerBar | TimerBar |
| TimerBar opaque structure. | |
Functions | |
| TimerBar * | timer_bar_alloc (Widget *parent) |
| Create a new TimerBar instance. | |
| void | timer_bar_free (TimerBar *instance) |
| Delete a TimerBar instance. | |
| Widget * | timer_bar_get_base (TimerBar *instance) |
| Get a pointer to the base class instance. | |
| void | timer_bar_set_preset (TimerBar *instance, const TimerBarPreset *preset) |
| void | timer_bar_set_value (TimerBar *instance, float value) |
| Set the displayed value. | |
A widget that shows the remaining time.
Can be used only on the front display.
Create a new TimerBar instance.
| [in,out] | parent | pointer to the parent Widget instance |
| void timer_bar_free | ( | TimerBar * | instance | ) |
Delete a TimerBar instance.
| [in,out] | instance | pointer to the TimerBar instance to be deleted |
Get a pointer to the base class instance.
The return value can be used in all Widget methods.
| [in,out] | instance | pointer to the TimerBar instance to be queried |
| void timer_bar_set_value | ( | TimerBar * | instance, |
| float | value ) |
Set the displayed value.
| [in,out] | instance | pointer to the TimerBar instance to be modified |
| [in] | value | progress value (0.0 - no fill, 1.0 - fully filled) |