mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 16:29:34 +00:00
39 lines
1.2 KiB
C
39 lines
1.2 KiB
C
#include "sys/dsc.h"
|
|
|
|
/*-----------------------------------------------------------------------------------*/
|
|
#if CTK_CONF_ICON_BITMAPS
|
|
static unsigned char mttesticon_bitmap[3*3*8] = {
|
|
0x00, 0x7f, 0x43, 0x4c, 0x58, 0x53, 0x60, 0x6f,
|
|
0x00, 0xff, 0x00, 0x7e, 0x00, 0xff, 0x00, 0xff,
|
|
0x00, 0xfe, 0xc2, 0x32, 0x1a, 0xca, 0x06, 0xf6,
|
|
|
|
0x40, 0x5f, 0x40, 0x5f, 0x40, 0x5f, 0x40, 0x4f,
|
|
0x00, 0xff, 0x00, 0xff, 0x00, 0xfc, 0x01, 0xf3,
|
|
0x02, 0xfa, 0x02, 0x82, 0x3e, 0xfe, 0xfe, 0xfe,
|
|
|
|
0x60, 0x67, 0x50, 0x59, 0x4c, 0x43, 0x7f, 0x00,
|
|
0x07, 0xe7, 0x0f, 0xef, 0x0f, 0x0f, 0xff, 0x00,
|
|
0x8e, 0x06, 0x06, 0x06, 0x8e, 0xfe, 0xfe, 0x00
|
|
};
|
|
#endif /* CTK_CONF_ICON_BITMAPS */
|
|
|
|
#if CTK_CONF_ICON_TEXTMAPS
|
|
static char mttesticon_textmap[9] = {
|
|
'T', 'h', 'r',
|
|
'e', 'a', 'd',
|
|
'=', '=', '>'
|
|
};
|
|
#endif /* CTK_CONF_ICON_TEXTMAPS */
|
|
|
|
#if CTK_CONF_ICONS
|
|
static struct ctk_icon mttest_icon =
|
|
{CTK_ICON("Multithread test", mttesticon_bitmap, mttesticon_textmap)};
|
|
#endif /* CTK_CONF_ICONS */
|
|
/*-----------------------------------------------------------------------------------*/
|
|
DSC(mttest_dsc,
|
|
"MultithreadTest",
|
|
"mt-test.prg",
|
|
mt_process,
|
|
&mttest_icon);
|
|
/*-----------------------------------------------------------------------------------*/
|