annotate src/aci2/bmi/Icons/IcnGprs.c @ 307:6d1eac845d3e

make it possible to enable SERIAL_DYNAMIC_SWITCH on the configure.sh line
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 02 Nov 2017 05:49:53 +0000
parents 93999a60b835
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 #include "IcnDefs.h"
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 #ifdef WIDEICONS
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 const unsigned char I_gprsColour[] = {
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x7F,0x7F,0x7F,0x7F,0x7F,0x7F,0x7F,0x7F,0x7F,0x00,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x7F,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x7F,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 0x00,0x25,0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x7F,0x7F,0x00,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x7F,0x00,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x00,0x00,0x00,0x00,0x25,0x25,0x00,0x7F,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x00,0x00,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x00,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x25,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x00,0x00,0x00,0x7F,0x7F,0x7F,0x00,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x7F,0x7F,0x7F,0x7F,0x7F,0x7F,0x7F,0x00,0x00,0x25,0x00,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 0x00,0x00,0x00,0x00,0x00,0x25,0x25,0x25,0x25,0x00,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 0x25,0x25,0x25,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 0x00 };
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 #define ICON_SX 21
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 #else
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 const unsigned char I_gprsColour[] = {
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x56,0x56,0x56,0x56,0x56,0x56,0x56,0x56,0x00,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x56,0x00,0x00,0x00,0x00,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 0x56,0x00,0x25,0x25,0x25,0x25,0x00,0x00,0x56,0x56,0x00,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x56,0x00,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x25,0x25,0x25,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x00,0x25,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 0x25,0x25,0x25,0x00,0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x00,0x25,0x25,0x25,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 0x00,0x56,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x56,0x00,0x00,0x00,0x56,0x56,0x00,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x56,0x56,0x56,0x56,0x56,0x56,0x56,0x00,0x25,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 0x00,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x25,0x25,0x25,0x00,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 0x00 };
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 #define ICON_SX 19
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 #endif
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 //Return information about this bitmap
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 int icnGPRS_dataformat( char* *bmp, int *sx, int *sy, int *format, char **palette)
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 {
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 *bmp = (char*)I_gprsColour;
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 *sx = ICON_SX;
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 *sy = 22;
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 *format = ICON_TYPE_256Colour;
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 return (0);
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 }
93999a60b835 src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40