comparison src/ui3/bmi/mmiProgressBar.h @ 421:6a4d9f47793e

src/ui3/bmi: file renames to make the case consistent
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 21 Jan 2018 03:28:53 +0000
parents src/ui3/bmi/Mmiprogressbar.h@e8ddbb0837ed
children
comparison
equal deleted inserted replaced
420:e8ddbb0837ed 421:6a4d9f47793e
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