BSB Developer Docs
Loading...
Searching...
No Matches
progress_bar.h
Go to the documentation of this file.
1
5#pragma once
6
7#include <gui/widget.h>
8#include <toolbox/color.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
15typedef struct ProgressBar ProgressBar;
16
25
31void progress_bar_free(ProgressBar* instance);
32
42
49void progress_bar_set_value(ProgressBar* instance, int32_t value);
50
51#ifdef __cplusplus
52}
53#endif
Color declaration and conversion API.
ProgressBar * progress_bar_alloc(Widget *parent)
Create a new ProgressBar instance.
Definition progress_bar.c:29
void progress_bar_set_value(ProgressBar *instance, int32_t value)
Set the current value of the ProgressBar.
Definition progress_bar.c:49
void progress_bar_free(ProgressBar *instance)
Delete an ProgressBar instance.
Definition progress_bar.c:39
Widget * progress_bar_get_base(ProgressBar *instance)
Get a pointer to the base class instance.
Definition progress_bar.c:44
Definition progress_bar.c:8
Definition widget_i.h:35
Base widget class.