Contiki 2.6

mt-test-dsc.c

00001 #include "sys/dsc.h"
00002 
00003 /*-----------------------------------------------------------------------------------*/
00004 #if CTK_CONF_ICON_BITMAPS
00005 static unsigned char mttesticon_bitmap[3*3*8] = {
00006   0x00, 0x7f, 0x43, 0x4c, 0x58, 0x53, 0x60, 0x6f,
00007   0x00, 0xff, 0x00, 0x7e, 0x00, 0xff, 0x00, 0xff,
00008   0x00, 0xfe, 0xc2, 0x32, 0x1a, 0xca, 0x06, 0xf6,
00009 
00010   0x40, 0x5f, 0x40, 0x5f, 0x40, 0x5f, 0x40, 0x4f,
00011   0x00, 0xff, 0x00, 0xff, 0x00, 0xfc, 0x01, 0xf3,
00012   0x02, 0xfa, 0x02, 0x82, 0x3e, 0xfe, 0xfe, 0xfe,
00013 
00014   0x60, 0x67, 0x50, 0x59, 0x4c, 0x43, 0x7f, 0x00,
00015   0x07, 0xe7, 0x0f, 0xef, 0x0f, 0x0f, 0xff, 0x00,
00016   0x8e, 0x06, 0x06, 0x06, 0x8e, 0xfe, 0xfe, 0x00
00017 };
00018 #endif /* CTK_CONF_ICON_BITMAPS */
00019 
00020 #if CTK_CONF_ICON_TEXTMAPS
00021 static char mttesticon_textmap[9] = {
00022   'T', 'h', 'r',
00023   'e', 'a', 'd',
00024   '=', '=', '>'
00025 };
00026 #endif /* CTK_CONF_ICON_TEXTMAPS */
00027 
00028 #if CTK_CONF_ICONS
00029 static struct ctk_icon mttest_icon =
00030   {CTK_ICON("Multithread test", mttesticon_bitmap, mttesticon_textmap)};
00031 #endif /* CTK_CONF_ICONS */
00032 /*-----------------------------------------------------------------------------------*/
00033 DSC(mttest_dsc,
00034     "MultithreadTest",
00035     "mt-test.prg",
00036     mt_process,
00037     &mttest_icon);
00038 /*-----------------------------------------------------------------------------------*/