comparison g23m/condat/ms/src/mfw/mfw_icn.h @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 /*
2 +--------------------------------------------------------------------+
3 | PROJECT: MMI-Framework (8417) $Workfile:: mfw_icn.h $|
4 | $Author:: Es $ CONDAT GmbH $Revision:: 5 $|
5 | CREATED: 23.11.98 $Modtime:: 23.03.00 8:58 $|
6 | STATE : code |
7 +--------------------------------------------------------------------+
8
9 MODULE : MFW_ICN
10
11 PURPOSE : icon types & constants
12
13 EXPORT :
14
15 TO DO :
16
17 $History:: mfw_icn.h $
18
19 Shashi Shekar B.S., a0876501, 16 Mar, 2006, OMAPS00061462
20 Icon support for SetupMenu & Select item.
21
22 *
23 * ***************** Version 5 *****************
24 * March 01, 2005 REF: ENH 29313 Deepa M.D
25 * Updated in $/GSM/Condat/MS/SRC/MFW
26 * Isolating colour build related changes from MMI LITE flag.
27 *The proper Feature flag COLORDISPLAY was used for all color
28 related changes.
29 * ***************** Version 5 *****************
30 * User: Es Date: 23.03.00 Time: 14:41
31 * Updated in $/GSM/Condat/MS/SRC/MFW
32 * Added icnUnhide(); removed 'update()' from 'hide()' and 'unhide()'
33 *
34 * ***************** Version 4 *****************
35 * User: Le Date: 6.01.00 Time: 9:23
36 * Updated in $/GSM/Condat/MS/SRC/MFW
37 * Alignment of MFW versions
38 *
39 * ***************** Version 4 *****************
40 * User: Rm Date: 12/03/99 Time: 10:16a
41 * Updated in $/GSM/Condat/SND-MMI/MFW
42 * new parameter by icnCycle
43 *
44 * ***************** Version 3 *****************
45 * User: Es Date: 24.11.99 Time: 11:55
46 * Updated in $/GSM/Condat/SND-MMI/MFW
47 * improved 'icnHide()' (really hides the icon now).
48 *
49 * ***************** Version 2 *****************
50 * User: Es Date: 22.11.99 Time: 10:29
51 * Updated in $/GSM/Condat/SND-MMI/MFW
52 *
53 * ***************** Version 1 *****************
54 * User: Es Date: 18.11.99 Time: 16:35
55 * Created in $/GSM/Condat/SND-MMI/MFW
56 * Initial
57 */
58
59 #ifndef _DEF_MFW_ICN_H_
60 #define _DEF_MFW_ICN_H_
61
62
63 /* ICON EVENTS */
64 #define E_ICN_VISIBLE 0x00000001 /* icon is displayed */
65
66 typedef struct MfwIcnAttrTag /* icon attribute structure */
67 {
68 MfwRect area; /* icon area */
69 U8 nIcons; /* number of icons */
70 U32 iconCol; /* index into colours to be used */
71 U8 icnType; /* 0=b+w, 2=256 col, 3=32bit col */
72 char *icons; /* icon bitmaps */
73 // Shashi Shekar B.S., a0876501, Feb 4, 2006, DR: OMAPS00061462
74 #ifdef FF_MMI_SAT_ICON
75 U8 selfExplanatory; /* Flag to show associated Text or not */
76 #endif
77 } MfwIcnAttr;
78
79 typedef struct MfwIcnTag /* icon control block */
80 {
81 MfwEvt mask; /* selection of events */
82 MfwEvt flags; /* current signaled event */
83 MfwCb handler; /* event handler */
84 MfwIcnAttr *attr; /* icon attributes */
85 U8 index; /* cycle index */
86 //March 01, 2005 REF: ENH 29313 Deepa M.D
87 // Isolating colour build related changes from MMI LITE flag.
88 // The proper Feature flag COLORDISPLAY was used for all color
89 //related changes.
90 #ifdef COLOURDISPLAY
91 U32 icnFgdColour;
92 U32 icnBgdColour;
93 #else
94 /*SPR 2686*/
95 U8 icnFgdColour;
96 U8 icnBgdColour;
97
98 #endif
99 } MfwIcn;
100
101 MfwHnd icnCreate (MfwHnd w, MfwIcnAttr *a, MfwEvt e, MfwCb f);
102
103 MfwRes icnInit (void);
104 MfwRes icnExit (void);
105
106 MfwRes icnDelete (MfwHnd i);
107 MfwRes icnShow (MfwHnd i);
108 MfwRes icnHide (MfwHnd i);
109 MfwRes icnUnhide (MfwHnd i);
110 MfwRes icnUpdate (MfwIcn *i);
111 MfwRes icnCycle (MfwHnd i,int o);
112
113 #endif
114