Muteki
EABI code execution on Besta® RTOS devices.
Toggle main menu visibility
Loading...
Searching...
No Matches
progressbar.h
Go to the documentation of this file.
1
/*
2
* Copyright 2026 dogtopus
3
* SPDX-License-Identifier: MIT
4
*/
5
10
11
#ifndef __MUTEKI_UI_WIDGETS_PROGRESSBAR_H__
12
#define __MUTEKI_UI_WIDGETS_PROGRESSBAR_H__
13
14
#include "
../types/progressbar.h
"
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
34
extern
ui_progressbar_t
*
CreateProgress
(
35
unsigned
short
tag,
36
short
x,
37
short
y,
38
short
width,
39
short
height,
40
unsigned
short
maximum,
41
unsigned
short
segment_count,
42
unsigned
short
flags
43
);
44
53
extern
void
PPROGRESSetPos
(
ui_progressbar_t
*self,
unsigned
short
position);
54
62
extern
unsigned
short
PPROGRESSetRange
(
ui_progressbar_t
*self,
unsigned
short
maximum);
63
64
#ifdef __cplusplus
65
}
// extern "C"
66
#endif
67
68
#endif
// __MUTEKI_UI_WIDGETS_PROGRESSBAR_H__
progressbar.h
Progress bar widget type definition.
ui_progressbar_t
struct ui_progressbar_s ui_progressbar_t
Progress bar widget type.
Definition
progressbar.h:46
CreateProgress
ui_progressbar_t * CreateProgress(unsigned short tag, short x, short y, short width, short height, unsigned short maximum, unsigned short segment_count, unsigned short flags)
Create a progress bar widget.
PPROGRESSetPos
void PPROGRESSetPos(ui_progressbar_t *self, unsigned short position)
Set the progress bar position.
PPROGRESSetRange
unsigned short PPROGRESSetRange(ui_progressbar_t *self, unsigned short maximum)
Change the maximum position of the progress bar and refreshes the view.
include
muteki
ui
widgets
progressbar.h
Generated by
1.18.0