Muteki
EABI code execution on Besta® RTOS devices.
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
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
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
53extern void PPROGRESSetPos(ui_progressbar_t *self, unsigned short position);
54
62extern 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__
Progress bar widget type definition.
struct ui_progressbar_s ui_progressbar_t
Progress bar widget type.
Definition progressbar.h:46
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.
void PPROGRESSetPos(ui_progressbar_t *self, unsigned short position)
Set the progress bar position.
unsigned short PPROGRESSetRange(ui_progressbar_t *self, unsigned short maximum)
Change the maximum position of the progress bar and refreshes the view.