Contiki 2.5
mt-test-dsc.c
1 #include "sys/dsc.h"
2 
3 /*-----------------------------------------------------------------------------------*/
4 #if CTK_CONF_ICON_BITMAPS
5 static unsigned char mttesticon_bitmap[3*3*8] = {
6  0x00, 0x7f, 0x43, 0x4c, 0x58, 0x53, 0x60, 0x6f,
7  0x00, 0xff, 0x00, 0x7e, 0x00, 0xff, 0x00, 0xff,
8  0x00, 0xfe, 0xc2, 0x32, 0x1a, 0xca, 0x06, 0xf6,
9 
10  0x40, 0x5f, 0x40, 0x5f, 0x40, 0x5f, 0x40, 0x4f,
11  0x00, 0xff, 0x00, 0xff, 0x00, 0xfc, 0x01, 0xf3,
12  0x02, 0xfa, 0x02, 0x82, 0x3e, 0xfe, 0xfe, 0xfe,
13 
14  0x60, 0x67, 0x50, 0x59, 0x4c, 0x43, 0x7f, 0x00,
15  0x07, 0xe7, 0x0f, 0xef, 0x0f, 0x0f, 0xff, 0x00,
16  0x8e, 0x06, 0x06, 0x06, 0x8e, 0xfe, 0xfe, 0x00
17 };
18 #endif /* CTK_CONF_ICON_BITMAPS */
19 
20 #if CTK_CONF_ICON_TEXTMAPS
21 static char mttesticon_textmap[9] = {
22  'T', 'h', 'r',
23  'e', 'a', 'd',
24  '=', '=', '>'
25 };
26 #endif /* CTK_CONF_ICON_TEXTMAPS */
27 
28 #if CTK_CONF_ICONS
29 static struct ctk_icon mttest_icon =
30  {CTK_ICON("Multithread test", mttesticon_bitmap, mttesticon_textmap)};
31 #endif /* CTK_CONF_ICONS */
32 /*-----------------------------------------------------------------------------------*/
33 DSC(mttest_dsc,
34  "MultithreadTest",
35  "mt-test.prg",
36  mt_process,
37  &mttest_icon);
38 /*-----------------------------------------------------------------------------------*/