MiniGUI API Reference (MiniGUI-Threads)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
progressbar.h
Go to the documentation of this file.
1 
43 /*
44  * $Id: progressbar.h 10690 2008-08-18 09:32:47Z weiym $
45  *
46  * MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks,
47  * pSOS, ThreadX, NuCleus, OSE, and Win32.
48  */
49 
50 #ifndef _MGUI_CTRL_PROGRESSBAR_H
51 #define _MGUI_CTRL_PROGRESSBAR_H
52 
53 
54 #ifdef __cplusplus
55 extern "C" {
56 #endif /* __cplusplus */
57 
72 #define CTRL_PROGRESSBAR ("progressbar")
73 
74 #define PB_OKAY 0
75 
76 #define PB_ERR -1
77 
90 #define PBS_NOTIFY 0x0001L
91 
96 #define PBS_VERTICAL 0x0002L
97 
125 #define PBM_SETRANGE 0xF0A0
126 
142 #define PBM_SETSTEP 0xF0A1
143 
162 #define PBM_SETPOS 0xF0A2
163 
182 #define PBM_DELTAPOS 0xF0A3
183 
200 #define PBM_STEPIT 0xF0A4
201 
202 #define PBM_MSGMAX 0xF0B0
203 
217 #define PBN_REACHMAX 1
218 
225 #define PBN_REACHMIN 2
226 
233 #ifdef __cplusplus
234 }
235 #endif /* __cplusplus */
236 
237 #endif /* _MGUI_CTRL_PROGRESSBAR_H */
238