| Tipro API Communicate with Tipro devices

Chameleon.h
1 /*##PBP DEPLOY*/
2 /****************************************************************************/
3 /* CHAMELEON DEFINES */
4 /****************************************************************************/
5
6 #define CHM_VIDEO_REVERSE 0x00
7 #define CHM_VIDEO_NORMAL 0x01
8
9 #define CHM_BLINK_OFF 0x00
10 #define CHM_BLINK_SLOW 0x01
11 #define CHM_BLINK_NORM 0x02
12 #define CHM_BLINK_FAST 0x03
13
14 #define CHM_COLOR_NONE 0x00
15 #define CHM_COLOR_BLUE 0x03
16 #define CHM_COLOR_GREEN 0x0C
17 #define CHM_COLOR_RED 0x30
18
19 /****************************************************************************/
20 /* CHAMELEON DATA TYPE */
21 /****************************************************************************/
22
23 // bitmap data structure
24 struct CHM_BITMAP_DATA
25 {
26 unsigned char nData[64];
27 };
28
29 struct CHM_KEY_ICON
30 {
31 int nKey;
32 int nVideoType;
33 int nIconIndex;
34 };
35
36 struct CHM_KEY_BACKLIGHTING
37 {
38 int nKey;
39 int nColor1;
40 int nColor2;
41 int nFreq;
42 };
43
44 struct CHM_ICON_DATA
45 {
46 int nLength;
47 CHM_KEY_ICON keyData[16];
48 };
49
50 struct CHM_BACKLIGHTING_DATA
51 {
52 int nLength;
53 CHM_KEY_BACKLIGHTING keyData[16];
54 };
CHM_ICON_DATA
Definition: Chameleon.h:44
CHM_KEY_ICON
Definition: Chameleon.h:29
CHM_KEY_BACKLIGHTING
Definition: Chameleon.h:36
CHM_BITMAP_DATA
Definition: Chameleon.h:24
CHM_BACKLIGHTING_DATA
Definition: Chameleon.h:50