FreeCalypso > hg > fc-tourmaline
comparison src/ui/bmi/mmiProgressBar.h @ 3:67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 06:33:10 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2:3a14ee9a9843 | 3:67bfe9f274f6 |
---|---|
1 | |
2 #ifndef _DEF_MMI_PROGRESSBAR_H_ | |
3 #define _DEF_MMI_PROGRESSBAR_H_ | |
4 | |
5 | |
6 #include "MmiDialogs.h" | |
7 #include "mfw_mnu.h" | |
8 | |
9 //#define bar_width 150 | |
10 #define bar_width 100 | |
11 #define bar_height 20 | |
12 | |
13 #define x_screen 35 | |
14 #define y_screen 150 | |
15 | |
16 #define download_percentage 100 | |
17 #define playback_percentage 25 | |
18 | |
19 #define COLOR_RGB_DARK_RED "#8B0000" | |
20 #define COLOR_RGB_DARK_BLUE "#00008B" | |
21 #define COLOR_RGB_DARK_YELLOW "#FFD700" | |
22 #define COLOR_RGB_DARK_GREEN "#006400" | |
23 #define COLOR_RGB_DARK_GREY "#A9A9A9" | |
24 #define COLOR_RGB_DARK_CYAN "#008B8B" | |
25 #define COLOR_RGB_DARK_MAGENTA "#8B008B" | |
26 #define COLOR_RGB_BLACK "#000000" | |
27 #define COLOR_RGB_GREY "#808080" | |
28 #define COLOR_RGB_WHITE "#FFFFFF" | |
29 #define COLOR_RGB_BRIGHT_RED "#FF0000" | |
30 #define COLOR_RGB_BRIGHT_YELLOW "#FFFF00" | |
31 #define COLOR_RGB_BRIGHT_GREEN "#008000" | |
32 #define COLOR_RGB_BRIGHT_CYAN "#00FFFF" | |
33 #define COLOR_RGB_BRIGHT_BLUE "#0000FF" | |
34 #define COLOR_RGB_BRIGHT_MAGENTA "#FF00FF" | |
35 typedef float Float; | |
36 | |
37 typedef struct _tProgressData_ | |
38 { | |
39 /* administrative data */ | |
40 | |
41 T_MMI_CONTROL mmi_control; | |
42 T_MFW_HND win; | |
43 T_MFW_HND parent_win; | |
44 MfwHnd kbd; | |
45 | |
46 /* associated handlers */ | |
47 | |
48 } tProgressData; | |
49 | |
50 | |
51 | |
52 /******************************************************************** | |
53 | |
54 Prototypes | |
55 | |
56 ********************************************************************/ | |
57 | |
58 T_MFW_HND progress_bar(T_MFW_HND parent ); | |
59 static int ProgressBar_cb(MfwEvt , MfwWin * ); | |
60 | |
61 void MmiProgressIndication (UBYTE , UBYTE , UBYTE , UBYTE, int , int ); | |
62 | |
63 | |
64 #endif /* _DEF_MMI_PROGRESSBAR */ | |
65 | |
66 | |
67 | |
68 |