FreeCalypso > hg > tcs211-l1-reconst
comparison g23m/condat/ms/src/bmi/Icons/IcnDefs.c @ 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 #include "IcnDefs.h" | |
2 | |
3 #if 0 | |
4 | |
5 char NO_PALETTE[] = {0x00,0x00,0x00}; | |
6 char NO_BMP_DATA[] = {0x00,0x00,0x00}; | |
7 | |
8 //Function to get icon information | |
9 int icn_getIconData( int iconId, int * op_sx, int * op_sy, char* *op_bmpData, int *op_format) | |
10 { | |
11 char**palette; | |
12 *op_sx = 0; | |
13 *op_sy = 0; | |
14 *op_bmpData = NO_BMP_DATA; | |
15 *palette = NO_PALETTE; | |
16 #ifdef COLOURDISPLAY | |
17 switch (iconId) | |
18 { | |
19 case ICON_IDLE_Background: | |
20 | |
21 case ICON_IDLE_Battery4: icnBattery_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette); break; | |
22 case ICON_IDLE_Battery14: icnBattery_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette); break; | |
23 case ICON_IDLE_Battery24: icnBattery_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette); break; | |
24 case ICON_IDLE_Battery49: icnBattery_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette); break; | |
25 case ICON_IDLE_Battery100: icnBattery_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette); break; | |
26 case ICON_IDLE_forwarding: | |
27 case ICON_IDLE_keylock: | |
28 case ICON_IDLE_message: | |
29 case ICON_IDLE_signalStr49: icnSignalStr_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette); break; | |
30 case ICON_IDLE_signalStr99: icnSignalStr_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette); break; | |
31 case ICON_IDLE_signalStr149: icnSignalStr_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette); break; | |
32 case ICON_IDLE_signalStr199: icnSignalStr_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette); break; | |
33 case ICON_IDLE_signalStr255: icnSignalStr_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette); break; | |
34 case ICON_IDLE_homeZone: | |
35 case ICON_IDLE_gprs: icnGPRS_dataformat(op_bmpData, op_sx, op_sy, op_format, palette); break; | |
36 | |
37 case ICON_IDLE_voicemail: | |
38 | |
39 | |
40 //'main' icons | |
41 case ICON_MAIN_Application: | |
42 case ICON_MAIN_Divert: | |
43 case ICON_MAIN_Messages: | |
44 case ICON_MAIN_Phonebook: | |
45 case ICON_MAIN_RecentCalls: | |
46 case ICON_MAIN_Security: | |
47 case ICON_MAIN_Settings: | |
48 case ICON_MAIN_SIM_Toolkit: | |
49 case ICON_MAIN_WAP: | |
50 | |
51 //popup | |
52 case ICON_POPUP_CLOUDS: | |
53 | |
54 //network | |
55 case ICON_Bouygues: | |
56 case ICON_Vodafone: | |
57 case ICON_SFR: | |
58 case ICON_VodafoneD2: | |
59 case ICON_Chinamobile: | |
60 case ICON_Fareast: | |
61 case ICON_orange: | |
62 case ICON_sonofon: | |
63 case ICON_Tmobile: | |
64 | |
65 case ICON_BgdSquares: icnBgdSquares_dataformat(op_bmpData, op_sx, op_sy, op_format, palette); break; | |
66 default: | |
67 return(-1); | |
68 break; | |
69 | |
70 } | |
71 #endif | |
72 return (0); | |
73 } | |
74 #endif |