MiniGUI API Reference (MiniGUI-Processes)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
progressbar.h
Go to the documentation of this file.
1 //
3 // IMPORTANT NOTICE
4 //
5 // The following open source license statement does not apply to any
6 // entity in the Exception List published by FMSoft.
7 //
8 // For more information, please visit:
9 //
10 // https://www.fmsoft.cn/exception-list
11 //
13 
55 /*
56  * $Id: progressbar.h 10690 2008-08-18 09:32:47Z weiym $
57  *
58  * MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks,
59  * pSOS, ThreadX, NuCleus, OSE, and Win32.
60  */
61 
62 #ifndef _MGUI_CTRL_PROGRESSBAR_H
63 #define _MGUI_CTRL_PROGRESSBAR_H
64 
65 
66 #ifdef __cplusplus
67 extern "C" {
68 #endif /* __cplusplus */
69 
84 #define CTRL_PROGRESSBAR ("progressbar")
85 
86 #define PB_OKAY 0
87 
88 #define PB_ERR -1
89 
102 #define PBS_NOTIFY 0x0001L
103 
108 #define PBS_VERTICAL 0x0002L
109 
137 #define PBM_SETRANGE 0xF0A0
138 
154 #define PBM_SETSTEP 0xF0A1
155 
174 #define PBM_SETPOS 0xF0A2
175 
194 #define PBM_DELTAPOS 0xF0A3
195 
212 #define PBM_STEPIT 0xF0A4
213 
214 #define PBM_MSGMAX 0xF0B0
215 
229 #define PBN_REACHMAX 1
230 
237 #define PBN_REACHMIN 2
238 
245 #ifdef __cplusplus
246 }
247 #endif /* __cplusplus */
248 
249 #endif /* _MGUI_CTRL_PROGRESSBAR_H */
250