![]() |
BSB Developer Docs
|
A widget that displays a static ProgressBar. More...
Go to the source code of this file.
Typedefs | |
| typedef struct ProgressBar | ProgressBar |
| ProgressBar opaque structure. | |
Functions | |
| ProgressBar * | progress_bar_alloc (Widget *parent) |
| Create a new ProgressBar instance. | |
| void | progress_bar_free (ProgressBar *instance) |
| Delete an ProgressBar instance. | |
| Widget * | progress_bar_get_base (ProgressBar *instance) |
| Get a pointer to the base class instance. | |
| void | progress_bar_set_value (ProgressBar *instance, int32_t value) |
| Set the current value of the ProgressBar. | |
A widget that displays a static ProgressBar.
| ProgressBar * progress_bar_alloc | ( | Widget * | parent | ) |
Create a new ProgressBar instance.
| [in,out] | parent | pointer to the parent Widget instance |
| void progress_bar_free | ( | ProgressBar * | instance | ) |
Delete an ProgressBar instance.
| [in,out] | instance | pointer to the ProgressBar instance to be deleted |
| Widget * progress_bar_get_base | ( | ProgressBar * | 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 ProgressBar instance to be queried |
| void progress_bar_set_value | ( | ProgressBar * | instance, |
| int32_t | value ) |
Set the current value of the ProgressBar.
| [in,out] | instance | pointer to the ProgressBar instance to be modified |
| [in] | value | current value (0-100) |