⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 glib.c

📁 基于ARM平台的控制系统,自己带有MINIGUI,可以直接在VC下运行界面演示程序
💻 C
📖 第 1 页 / 共 3 页
字号:
	}else
	{
		RoundRectangle_little(left+1,top+1,right,bottom);
	}
}

//////////////////////////////////////////////////////////////////////////
//
// frequently used icon draw functions
//
//
//

#define MAX_ICONS			17 
#define MB_MAX_ICONS		4

//user
const unsigned char caUser30[]=
{
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3f,0x00,0x00,0x01,0xff,0xc0,0x00,0x07,0xff,0xc0,0x00,0x0f,0xff,0xc0,0x00,0x0f,0xff,0xc0,0x00,0x1f,0xfc,0x40,0x00,0x1f,0xf8,0x40,0x00,0x1f,0xf0,0xc0,0x00,0x1f,0xe3,0xc1,0x00,0x1f,0xa2,0x40,0x80,0x1f,0x20,0x40,0x40,0x1f,0x00,0x24,0x20,0x0f,0x80,0xc2,0x20,0x0f,0xc0,0x91,0x10,0x07,0x80,0x89,0x10,0x03,0x00,0x89,0x10,0x03,0x1f,0x11,0x10,0x06,0x04,0x02,0x10,0x0f,0x06,0x04,0x20,0x0f,0x82,0x08,0x20,0x1f,0xe3,0x00,0x40,0x1f,0xff,0x80,0x80,0x1f,0xff,0xc1,0x00,0x07,0xff,0xe0,0x00,0x00,0xff,0xe0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
//key
const unsigned char caKey32[]=
{
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1f,0xf0,0x00,0x03,0xe0,0x18,0x00,0x04,0x60,0x0c,0x00,0x09,0xfc,0x06,0x00,0x0a,0x16,0xe3,0x00,0x0c,0x73,0x11,0x80,0x08,0x89,0x88,0xc0,0x10,0x88,0xdc,0x60,0x10,0x88,0xe2,0x30,0x10,0x70,0xd1,0x18,0x10,0x00,0xcb,0x98,0x10,0x00,0xc4,0x30,0x08,0x01,0xc8,0x60,0x04,0x03,0x30,0xc0,0x02,0x06,0x11,0x80,0x01,0x0c,0x03,0x00,0x00,0x96,0x06,0x00,0x00,0x95,0x0c,0x00,0x01,0x14,0x98,0x00,0x01,0x14,0x70,0x00,0x00,0x94,0x00,0x00,0x00,0x54,0x00,0x00,0x00,0x94,0x00,0x00,0x00,0x94,0x00,0x00,0x01,0x14,0x00,0x00,0x01,0x14,0x00,0x00,0x01,0x14,0x00,0x00,0x00,0x84,0x00,0x00,0x00,0x48,0x00,0x00,0x00,0x30,0x00,0x00,
};
const unsigned char caIconBitMaps[MB_MAX_ICONS][128]=
{
{0x00,0x07,0x00,0x00,0x00,0x09,0x80,0x00,0x00,0x10,0xe0,0x00,0x00,0x10,0x70,0x00,0x00,0x20,0x78,0x00,0x00,0x20,0x38,0x00,0x00,0x40,0x3c,0x00,0x00,0x40,0x1c,0x00,0x00,0x80,0x1e,0x00,0x00,0x87,0x0e,0x00,0x01,0x0f,0x8f,0x00,0x01,0x0f,0x87,0x00,0x02,0x0f,0x87,0x80,0x02,0x0f,0x83,0x80,0x04,0x0f,0x83,0xc0,0x04,0x0f,0x81,0xc0,0x08,0x07,0x01,0xe0,0x08,0x07,0x00,0xe0,0x10,0x07,0x00,0xf0,0x10,0x02,0x00,0x70,0x20,0x02,0x00,0x78,0x20,0x00,0x00,0x38,0x40,0x03,0x00,0x3c,0x40,0x07,0x80,0x1c,0x80,0x07,0x80,0x1e,0x80,0x03,0x00,0x0e,0x80,0x00,0x00,0x0f,0x80,0x00,0x00,0x1f,0x40,0x00,0x00,0x3f,0x3f,0xff,0xff,0xff,0x0f,0xff,0xff,0xfe,0x07,0xff,0xff,0xfc,},
{0x00,0x1f,0xe0,0x00,0x00,0xe0,0x1c,0x00,0x03,0x00,0x03,0x00,0x04,0x00,0x00,0x80,0x08,0x00,0x00,0x40,0x10,0x0f,0xc0,0x20,0x20,0x19,0xe0,0x10,0x40,0x30,0xf0,0x18,0x40,0x3c,0xf0,0x0c,0x80,0x3c,0xf0,0x06,0x80,0x19,0xe0,0x06,0x80,0x01,0xc0,0x07,0x80,0x03,0x80,0x07,0x80,0x03,0x00,0x07,0x80,0x03,0x00,0x07,0x80,0x00,0x00,0x07,0x40,0x03,0x00,0x0f,0x40,0x07,0x80,0x0f,0x20,0x07,0x80,0x1e,0x10,0x03,0x00,0x3e,0x08,0x00,0x00,0x7c,0x04,0x00,0x00,0xf8,0x03,0x00,0x03,0xf0,0x01,0xe0,0x1f,0xe0,0x00,0xfc,0x3f,0xc0,0x00,0x3e,0x3f,0x00,0x00,0x06,0x38,0x00,0x00,0x01,0x38,0x00,0x00,0x00,0xb8,0x00,0x00,0x00,0x78,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x18,0x00,},
{0x00,0x1f,0xe0,0x00,0x00,0xff,0xfc,0x00,0x01,0xff,0xfe,0x00,0x07,0xff,0xff,0x80,0x0f,0xff,0xff,0xc0,0x1f,0xff,0xff,0xe0,0x1f,0xff,0xff,0xf0,0x3f,0xbf,0xf7,0xf8,0x7f,0x1f,0xe3,0xf0,0x7e,0x0f,0xc1,0xf4,0x7f,0x07,0x83,0xf6,0xff,0x83,0x07,0xfa,0xff,0xc0,0x0f,0xfa,0xff,0xe0,0x1f,0xfb,0xff,0xf0,0x3f,0xfb,0xff,0xf0,0x3f,0xfb,0xff,0xe0,0x1f,0xfb,0xff,0xc0,0x0f,0xfb,0xff,0x83,0x07,0xfb,0x7f,0x07,0x83,0xf7,0x7e,0x0f,0xc1,0xf7,0x7f,0x1f,0xe3,0xf6,0x3f,0xbf,0xf7,0xee,0x1f,0xff,0xff,0xde,0x1f,0xff,0xff,0xdc,0x0f,0xff,0xff,0xb8,0x05,0xff,0xfe,0x78,0x02,0xff,0xfd,0xf0,0x01,0x1f,0xe3,0xe0,0x00,0xe0,0x1f,0x80,0x00,0x3f,0xff,0x00,0x00,0x07,0xf8,0x00,},
{0x00,0x1f,0xe0,0x00,0x00,0xe0,0x1c,0x00,0x03,0x00,0x03,0x00,0x04,0x00,0x00,0xc0,0x08,0x07,0x80,0x20,0x10,0x0f,0xc0,0x10,0x20,0x0f,0xc0,0x08,0x40,0x07,0x80,0x0c,0x40,0x00,0x00,0x04,0x80,0x00,0x00,0x06,0x80,0x1f,0xc0,0x02,0x80,0x07,0xc0,0x03,0x80,0x07,0xc0,0x03,0x80,0x07,0xc0,0x03,0x80,0x07,0xc0,0x03,0x80,0x07,0xc0,0x03,0x80,0x07,0xc0,0x07,0x40,0x07,0xc0,0x07,0x20,0x1f,0xf0,0x0e,0x20,0x00,0x00,0x1e,0x10,0x00,0x00,0x3c,0x0c,0x00,0x00,0x78,0x02,0x00,0x00,0xf0,0x01,0x80,0x03,0xe0,0x00,0x70,0x1f,0xc0,0x00,0x08,0x1f,0x00,0x00,0x04,0x18,0x00,0x00,0x02,0x18,0x00,0x00,0x01,0x18,0x00,0x00,0x00,0x98,0x00,0x00,0x00,0x78,0x00,0x00,0x00,0x18,0x00,},
};
unsigned char Icons[MAX_ICONS][32]=
{
//open
{0x00,0x00,0x00,0x38,0x00,0x45,0x00,0x03,0x38,0x07,0x47,0xf0,0x40,0x10,0x40,0x10,0x43,0xff,0x44,0x01,0x48,0x02,0x50,0x04,0x60,0x08,0x7f,0xf0,0x00,0x00,0x00,0x00},

//save
{0x00,0x00,0x7f,0xfe,0x50,0x0a,0x50,0x0a,0x50,0x0a,0x50,0x0a,0x50,0x0a,0x50,0x0a,0x4f,0xf2,0x40,0x02,0x4f,0xfa,0x4f,0xca,0x4f,0xca,0x4f,0xca,0x3f,0xfe,0x00,0x00},

//new
{0x00,0x00,0x1f,0xe0,0x10,0x30,0x10,0x28,0x10,0x3c,0x10,0x04,0x10,0x04,0x10,0x04,0x10,0x04,0x10,0x04,0x10,0x04,0x10,0x04,0x10,0x04,0x1f,0xfc,0x00,0x00,0x00,0x00},

//property
{0x00,0x00,0x01,0xfb,0x02,0x07,0x05,0x03,0xfa,0x83,0x95,0x47,0xaa,0xbb,0x91,0x51,0x80,0x90,0x80,0x10,0xb7,0xd0,0x80,0x10,0xb7,0xd0,0x80,0x10,0xff,0xf0,0x00,0x00},

//search
{0x00,0x00,0xff,0x80,0x80,0xc0,0x80,0xa0,0x80,0xf0,0x80,0x10,0x80,0xf0,0x81,0x08,0x82,0x04,0x82,0x04,0x82,0x04,0x82,0x04,0x81,0x08,0x80,0xfe,0x80,0x17,0xff,0xf3},

//setting
{0x00,0x00,0x03,0xc0,0x06,0x70,0x01,0x88,0x00,0x88,0x00,0xcc,0x01,0x72,0x02,0x94,0x05,0x08,0x0a,0x00,0x14,0x00,0x28,0x00,0x50,0x00,0xa0,0x00,0xc0,0x00,0x00,0x00},

//folder
{0x00,0x00,0x3f,0x00,0x40,0x80,0x80,0x7c,0x80,0x06,0x80,0x06,0x80,0x06,0x80,0x06,0x80,0x06,0x80,0x06,0x80,0x06,0x80,0x06,0xff,0xfe,0x7f,0xfe,0x00,0x00,0x00,0x00},

//open-folder
{0x00,0x00,0x1f,0x00,0x20,0x80,0x40,0x7e,0x40,0x01,0x40,0x01,0xff,0xf1,0x80,0x09,0x80,0x09,0x40,0x05,0x40,0x05,0x20,0x03,0x20,0x01,0x1f,0xff,0x00,0x00,0x00,0x00},

//find
{0x00,0x00,0x1c,0x70,0x14,0x50,0x1c,0x70,0x3e,0xf8,0x2e,0xb8,0x7f,0xfc,0xdd,0xbe,0xdd,0xbe,0xdf,0xbe,0xfe,0xfe,0xb8,0x2e,0xb8,0x2e,0xf8,0x3e,0x00,0x00,0x00,0x00},

//question mark
{0x00,0x00,0x07,0xe0,0x08,0x30,0x13,0x98,0x16,0x58,0x16,0x98,0x0d,0x30,0x02,0x60,0x02,0xc0,0x02,0xc0,0x02,0xc0,0x01,0x80,0x02,0x60,0x02,0x60,0x01,0xc0,0x00,0x00},

//book-closed
{0x01,0x80,0x06,0x40,0x18,0x20,0x60,0x10,0xc0,0x08,0xa0,0x04,0x90,0x02,0x88,0x03,0x84,0x0e,0x42,0x32,0x21,0xc3,0x11,0x06,0x09,0x18,0x05,0x60,0x03,0x80,0x00,0x00},

//book-open
{0x20,0x00,0x50,0x00,0xc8,0x70,0xc9,0x90,0xc6,0x1c,0xc4,0x16,0xc4,0x16,0xc4,0x16,0xc4,0x16,0xc4,0x16,0xe4,0x26,0x74,0xc6,0x35,0x06,0x1f,0xfe,0x0f,0xfe,0x00,0x00},

//text file
{0x00,0x00,0x3f,0xe0,0x20,0x30,0x20,0x28,0x20,0x3c,0x27,0x84,0x20,0x04,0x27,0xc4,0x20,0x04,0x27,0xc4,0x20,0x04,0x27,0xc4,0x20,0x04,0x20,0x04,0x20,0x04,0x3f,0xfc},

//speaker
{0x01,0x80,0x02,0xc0,0x05,0x20,0x09,0x21,0x12,0x26,0x62,0x28,0xa3,0x20,0xa2,0xa0,0xa2,0xaf,0xa3,0x20,0x62,0x20,0x12,0x28,0x0a,0x26,0x05,0x21,0x02,0xc0,0x01,0x80},

//delete file
{0x00,0x00,0x7f,0x80,0x40,0x40,0x40,0x20,0x5e,0xe0,0x40,0x20,0x5f,0x20,0x40,0x20,0x5d,0x24,0x41,0xac,0x5c,0xf8,0x40,0x78,0x40,0x78,0x7f,0xfc,0x00,0xce,0x01,0x86},

//refresh all
{0x7f,0xfe,0x40,0x02,0x40,0x82,0x40,0xc2,0x47,0xe2,0x48,0xc2,0x48,0x82,0x48,0x02,0x40,0x12,0x41,0x12,0x43,0x12,0x47,0xe2,0x43,0x02,0x41,0x02,0x40,0x02,0x7f,0xfe},

//hand
{0x00,0x00,0x01,0x80,0x03,0x60,0x05,0x50,0x05,0x58,0x05,0x54,0x05,0x54,0x75,0x54,0x4d,0x54,0x24,0x04,0x10,0x04,0x10,0x04,0x08,0x04,0x04,0x08,0x07,0xf8,0x00,0x00},
};



const unsigned char Pencel16[]=
{//pencil

0xc0,0x00,0xf0,0x00,0x4c,0x00,0x22,0x00,0x23,0x00,0x1e,0x80,0x09,0x40,0x04,0xa0,0x02,0x50,0x01,0x28,0x00,0x94,0x00,0x4a,0x00,0x25,0x00,0x13,0x00,0x09,0x00,0x06,
};
/////////////////////////////////////////////
//@ltq001.2005-8-2.start 添加输入法相关的图标
const unsigned char IME_Icon_CH[]=
{
//中(输入法)
0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x00,0x10,0x10,0x10,0xfe,0xfe,0x44,0x92,0x44,0x92,0x28,0xfe,0x10,0x10,0x28,0x10,0xc6,0x00,0x00,0xff,0xff,0xff,0xff,0xff,0xff,
};
const unsigned char IME_Icon_EN[]=
{
//英(输入法)
0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x23,0x86,0x22,0x4a,0x52,0x50,0x53,0x90,0x72,0x50,0x8a,0x52,0x8b,0x8c,0x00,0x00,0xff,0xff,0xff,0xff,0xff,0xff,
};
const unsigned char IME_Icon_NU[]=
{
//数字123(输入法)
0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x63,0x18,0x24,0xa4,0x20,0x84,0x21,0x18,0x22,0x04,0x24,0x24,0x77,0x98,0x00,0x00,0xff,0xff,0xff,0xff,0xff,0xff,
};
//@ltq001.2005-8-2.end 添加输入法相关的图标

//setting
const unsigned char setting_icon[]={
	0x0,0xfc,0x1,0x4,0x2,0xfc,0x5,0xfb,0x5,0xe7,0x5,0xc7,0x5,0xcb,0x5,0xf7,0x9,0x8f,0x13,0xfe,0x27,0xfc,0x4f,0xf8,0x9f,0x80,0x3f,0x0,0x7e,0x0,0xfc,0x0,
};

//BOHN Logo
const unsigned char bohn_logo[]={
	0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xf0,0xf8,0x0,0x0,0x0,0x0,0x0,0x1,0xf0,0xe0,0x0,0x0,0x0,0x0,0x0,0x0,0x70,0xc0,0x0,0x0,0x0,0x0,0x0,0xf,0x30,0xc0,0x0,0x0,0x0,0x0,0x0,0x10,0x90,0x87,0xf8,0x1f,0xf,0x3c,0xe3,0xae,0x50,0x87,0xfc,0x3f,0x8f,0x3c,0xf3,0xa9,0x50,0x87,0xfe,0x7f,0xcf,0x3c,0xf3,0xae,0x50,0x87,0x9e,0x7b,0xcf,0x3c,0xf3,0xa9,0x50,0x87,0x9e,0x7b,0xcf,0x3c,0xfb,0x90,0x90,0x87,0x9e,0x7b,0xcf,0x3c,0xfb,0x8f,0x10,0x87,0xfc,0x7b,0xcf,0x3c,0xff,0x80,0x10,0x87,0xf8,0x7b,0xcf,0xfc,0xff,0x80,0x10,0x87,0xfc,0x7b,0xcf,0xfc,0xff,0x80,0x10,0x87,0x9e,0x7b,0xcf,0xfc,0xff,0x80,0x10,0x87,0x9e,0x7b,0xcf,0x3c,0xff,0x80,0x10,0x87,0x9e,0x7b,0xcf,0x3c,0xff,0x80,0x10,0x87,0x9e,0x7b,0xcf,0x3c,0xef,0x80,0x10,0x87,0x9e,0x7b,0xcf,0x3c,0xe7,0x80,0x10,0x87,0xfe,0x7f,0xcf,0x3c,0xe7,0x80,0x10,0x87,0xfe,0x3f,0x8f,0x3c,0xe3,0x80,0x10,0x87,0xfc,0x1f,0xf,0x3c,0xe3,0x80,0x10,0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x10,0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x30,0xe0,0x0,0x0,0x0,0x0,0x0,0x0,0x70,0xf8,0x0,0x0,0x0,0x0,0x0,0x0,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xf0,
};

//close
const unsigned char close_window[]={
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc,0x30,0x6,0x60,0x3,0xc0,0x1,0x80,0x3,0xc0,0x6,0x60,0xc,0x30,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
};

//display setting
const unsigned char disp_setting[]={
	0x0,0x0,0x0,0x0,0xf,0xff,0xff,0xf0,0x1f,0xff,0xff,0xf8,0x38,0x0,0x0,0x1c,0x70,0x0,0x0,0xe,0x61,0xff,0xff,0x86,0x63,0xff,0xff,0xc6,0x67,0xff,0xff,0xe6,0x67,0xff,0xef,0xe6,0x67,0xff,0xef,0xe6,0x67,0xff,0x83,0xe6,0x67,0xff,0xef,0xe6,0x67,0xff,0xef,0xe6,0x67,0xff,0xff,0xe6,0x67,0xff,0xff,0xe6,0x67,0xff,0xff,0xe6,0x67,0xff,0xff,0xe6,0x67,0xff,0xff,0xe6,0x63,0xff,0xff,0xc6,0x61,0xff,0xff,0x86,0x70,0x0,0x0,0xe,0x38,0x0,0x0,0x1c,0x1f,0xff,0xff,0xf8,0xf,0xff,0xff,0xf0,0x0,0x0,0x0,0x0,0x1f,0xff,0xff,0xf8,0x3f,0xff,0xff,0xfc,0x7f,0xff,0xff,0xfe,0x0,0x0,0x0,0x0,0x7f,0xff,0xff,0xfe,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
};
//fix mode
const unsigned char fix_mode[]={
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x3,0xff,0x80,0x0,0x6,0x1,0xc0,0x0,0xc,0x1,0xc0,0x0,0x18,0xff,0x80,0x0,0x31,0xff,0x30,0x0,0x33,0xfe,0x50,0x0,0x33,0xfc,0x90,0x0,0x33,0xe1,0x70,0x0,0x33,0xe1,0x70,0x0,0x33,0xe1,0x70,0x0,0x33,0xe3,0x70,0x0,0x33,0xe6,0x70,0x0,0x73,0xfc,0x70,0x0,0xe0,0x0,0xf0,0x1,0xc0,0x1,0xf0,0x3,0x83,0xff,0xf0,0x7,0x7,0xff,0xe0,0xe,0xf,0xff,0xc0,0x1c,0x1f,0xff,0x80,0x38,0x3f,0xff,0x0,0x30,0x7e,0x0,0x0,0x0,0xfc,0x0,0x0,0x1,0xf8,0x0,0x0,0x3,0xf0,0x0,0x0,0x7,0xe0,0x0,0x0,0xf,0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
};
//history log
const unsigned char his_log[]={
	0x1,0xf8,0x0,0x0,0x1e,0x6,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,0x80,0x0,0x0,0x0,0x40,0x0,0x0,0xc,0x40,0x0,0x0,0x13,0x20,0x0,0x1c,0xf,0xff,0xf0,0x3,0x7,0xff,0xf0,0x0,0xc1,0x0,0x30,0x0,0xf0,0xbf,0x30,0x0,0xcc,0x80,0x30,0x0,0xc3,0x7d,0x30,0x0,0xc0,0x0,0x30,0x0,0xcb,0xbf,0x30,0x0,0xc0,0x0,0x30,0x0,0xce,0xef,0x30,0x0,0xc0,0x0,0x30,0x0,0xcd,0xf7,0x30,0x0,0xc0,0x0,0x30,0x0,0xcf,0x7b,0x30,0x0,0xc0,0x0,0x30,0x0,0xcd,0xff,0x30,0x0,0xc0,0x0,0x30,0x0,0xcf,0xbd,0x30,0x0,0xc0,0x0,0x30,0x0,0xc0,0x0,0x30,0x0,0xff,0xff,0xf0,0x0,0xff,0xff,0xf0,0x0,0x3f,0xff,0xe0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
};
//network
const unsigned char net_set[]={
		0x0,0x0,0x0,0x0,0x4,0x0,0x0,0x10,0x4,0x0,0x0,0x10,0xe,0x0,0x0,0x10,0xa,0x0,0x0,0x10,0x7f,0xc0,0x7c,0x10,0x80,0x20,0x82,0x10,0x80,0x21,0x1,0x10,0x80,0x21,0x1,0x10,0x80,0x21,0x1,0x10,0x80,0x23,0x81,0x10,0x80,0x24,0x41,0x10,0x80,0x24,0x41,0x10,0x80,0x24,0x41,0x10,0x80,0x24,0x43,0xb8,0x7f,0xc4,0x42,0xa8,0x2a,0x84,0x47,0xfc,0x3b,0x84,0x48,0x2,0x11,0x4,0x48,0x2,0x11,0x4,0x48,0x2,0x11,0x4,0x48,0x2,0x11,0x3,0x88,0x2,0x11,0x1,0x8,0x2,0x11,0x1,0x8,0x2,0x11,0x1,0x8,0x2,0x10,0x82,0x8,0x2,0x10,0x7c,0x7,0xfc,0x10,0x0,0x0,0xa0,0x10,0x0,0x0,0xe0,0x10,0x0,0x0,0x40,0x10,0x0,0x0,0x40,0x0,0x0,0x0,0x0,
};
	
//user & pass
const unsigned char user_pass[]={
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x7f,0xc0,0x0,0x1,0xff,0xf0,0x0,0xf,0xff,0xf8,0x0,0x3f,0xff,0xf8,0x0,0x7f,0xff,0x18,0x0,0x7f,0xfe,0x10,0x0,0xff,0xe2,0x30,0x0,0xff,0xc2,0xf0,0x0,0xff,0x86,0x90,0x0,0xff,0x1e,0x10,0x0,0xfc,0x12,0x8,0x0,0xf8,0x2,0x30,0x0,0xf8,0x1,0x23,0xf8,0x7c,0x6,0x26,0xc,0x7e,0x4,0x2c,0x66,0x3c,0x7,0xc8,0x73,0x18,0x5,0x9,0x6b,0x18,0xf9,0xc,0xfb,0x30,0x20,0x8a,0x43,0x70,0x39,0xcd,0x23,0x7c,0x1f,0xfa,0x87,0xff,0x3f,0xf5,0x4e,0xff,0xff,0xcb,0xfc,0xff,0xff,0xd7,0xf8,0x3f,0xff,0x2e,0x0,0x7,0xfe,0x5c,0x0,0x0,0x2,0xb8,0x0,0x0,0x3,0xf0,0x0,0x0,0x1,0xe0,0x0,0x0,0x0,0x0,0x0,
};
//warnning
const unsigned char warnning[]={
	0x0,0x3,0xc0,0x0,0x0,0x7,0xf0,0x0,0x0,0xe,0x70,0x0,0x0,0xc,0x18,0x0,0x0,0x18,0x18,0x0,0x0,0x19,0x8c,0x0,0x0,0x31,0x8c,0x0,0x0,0x33,0xc6,0x0,0x0,0x63,0xc6,0x0,0x0,0x67,0xe3,0x0,0x0,0xc7,0xe3,0x0,0x0,0xcf,0xf1,0x80,0x1,0x8e,0x71,0x80,0x1,0x9c,0x38,0xc0,0x3,0x1c,0x38,0xc0,0x6,0x3c,0x3c,0x60,0x6,0x3c,0x3c,0x60,0xc,0x7c,0x3e,0x30,0xc,0x7c,0x3e,0x30,0x18,0xfe,0x7f,0x18,0x18,0xfe,0x7f,0x18,0x31,0xff,0xff,0x8c,0x31,0xff,0xff,0x8c,0x63,0xfe,0x7f,0xc6,0x63,0xfe,0x7f,0xc6,0xc7,0xff,0xff,0xe3,0xc7,0xff,0xff,0xe3,0x80,0x0,0x0,0x1,0xc0,0x0,0x0,0x3,0xff,0xff,0xff,0xff,0x7f,0xff,0xff,0xfe,0x0,0x0,0x0,0x0,
};
//fan
const unsigned char fan[]={
		0x0,0x0,0x0,0x0,0x1,0xff,0xff,0x80,0x6,0x0,0x0,0x60,0x8,0x1f,0xf8,0x10,0x10,0xf0,0xe,0x8,0x21,0x80,0x3,0x4,0x23,0x0,0x0,0x84,0x46,0x60,0xe,0x42,0x44,0xf0,0xf,0x22,0x4d,0xf0,0x1f,0x93,0x4b,0xf8,0x1f,0xd3,0x5b,0xf8,0x3f,0xdb,0x57,0xfc,0x3f,0xeb,0x57,0xfd,0xff,0xeb,0x57,0xff,0xff,0xeb,0x57,0xff,0xff,0xeb,0x50,0x7,0xe0,0xb,0x50,0x3,0xe0,0xb,0x50,0x1,0xc0,0xb,0x50,0x1,0xc0,0xb,0x58,0x3,0xe0,0x1b,0x48,0x7,0xe0,0x13,0x44,0xf,0xf0,0x33,0x44,0xf,0xf0,0x23,0x42,0x1f,0xf8,0x43,0x23,0x9f,0xf9,0x87,0x20,0xcf,0xf2,0x6,0x10,0x70,0xe,0xe,0x8,0xf,0xf0,0x1c,0x6,0x0,0x0,0x78,0x1,0xff,0xff,0xf0,0x0,0x7f,0xff,0xc0,
};
//compressor	
const unsigned char compressor[]={
	//0x6,0xc0,0x0,0xf8,0x0,0x18,0x30,0x3,0x6,0x0,0x27,0xd0,0x1d,0xf1,0x0,0x28,0x28,0x60,0x18,0x80,0x48,0x29,0x80,0xc,0x40,0x50,0x16,0x8,0x2,0x40,0x50,0x18,0x24,0x1,0x20,0x50,0x60,0x92,0x1,0x20,0x91,0x82,0x4a,0x0,0xa0,0xa2,0x45,0x29,0x0,0xa0,0xa4,0x28,0xa4,0x80,0x90,0xa4,0x0,0x92,0x80,0xb0,0xa4,0x0,0x4a,0x80,0x90,0xa4,0x0,0x2a,0x80,0xa0,0xa8,0x0,0x2a,0x0,0xa0,0xa8,0x0,0x28,0x0,0xa0,0xa8,0x20,0x20,0x1,0x20,0xa8,0x70,0x40,0x1,0x40,0xa8,0x20,0x20,0x1,0x40,0xa8,0x0,0x20,0x3,0xc0,0xa0,0x0,0x20,0x6,0x18,0xa4,0x0,0x40,0x18,0x4,0xa2,0x0,0x40,0x60,0x40,0xa1,0x0,0x81,0x80,0xc,0xa0,0x81,0x6,0x0,0x30,0xa1,0x5e,0x18,0x0,0xc0,0xa2,0x43,0xa0,0x83,0x0,0xbc,0x80,0x20,0xc,0x0,0x41,0x0,0x1e,0x30,0x0,0x3f,0x0,0x1,0xe0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	//0x0,0x0,0x0,0x0,0xf,0xff,0xff,0xf0,0xc,0x0,0x0,0x30,0xf,0x1f,0xfc,0x70,0xc,0x0,0x0,0x30,0xc,0x0,0x0,0x30,0xf,0xf0,0xf,0xf0,0x0,0x30,0xc,0x0,0x0,0x30,0xc,0x60,0x7,0x30,0xd,0xb0,0xe,0xb0,0xd,0x18,0x18,0xf0,0xf,0x8c,0x10,0xf0,0xe,0x86,0x31,0x3,0xc0,0x46,0x32,0x6,0x60,0x2e,0x3a,0xc,0x30,0x1c,0x1c,0x18,0x18,0x38,0xc,0x18,0x18,0x30,0x6,0x18,0x18,0x60,0x3,0xc,0x30,0x40,0x1,0x86,0x60,0xc0,0x1,0x83,0xc0,0xc0,0x1,0x80,0x0,0xc0,0x1,0x80,0x0,0xc0,0x1,0x80,0x0,0xc0,0x3,0x80,0x0,0xe0,0xf,0x80,0x0,0xf0,0xc,0x0,0x0,0x30,0xf,0xff,0xff,0xf0,0x7,0xff,0xff,0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x1,0xfc,0x1f,0x80,0x0,0x4,0x10,0x0,0x0,0x7f,0xfc,0x0,0x0,0x40,0x4,0x0,0x0,0x40,0x4,0x0,0x0,0xff,0xfe,0x0,0x0,0x80,0x2,0x0,0x0,0xff,0xfe,0x0,0x0,0x80,0x2,0x0,0x0,0xff,0xfe,0x0,0x0,0x80,0x2,0x0,0x0,0xff,0xfe,0x0,0x0,0x40,0x4,0x0,0x0,0x40,0x4,0x0,0x1c,0xcf,0xe6,0x0,0x22,0x90,0x12,0x0,0x3f,0x20,0x9,0x0,0x23,0x43,0x85,0x0,0x28,0x8c,0x65,0x0,0x20,0x88,0x23,0xfe,0x40,0x90,0x11,0x2,0x7f,0x10,0x11,0xc,0x15,0x10,0x11,0xee,0x15,0x8,0x21,0xa1,0x15,0xc,0x61,0x3d,0x15,0x3,0x81,0x7,0x15,0xff,0xff,0x0,0x1a,0x0,0x0,0x80,0x7,0xff,0xff,0xc0,0x4,0x0,0x0,0x40,0x4,0x0,0x0,0x40,0x7,0xff,0xff,0xc0,
};
//over cold
const unsigned char over_cold[]={
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0xff,0xff,0x80,0x7,0xff,0xff,0xf0,0x6,0x0,0x0,0x30,0xc,0x60,0x3,0x18,0xc,0x90,0x4,0x98,0x3f,0x8,0x8,0x7e,0xd,0x8,0x8,0x58,0xc,0x90,0x4,0x98,0xc,0x68,0xb,0x18,0xc,0x4,0x10,0x18,0xc,0x2,0x20,0x18,0xc,0x1,0x40,0x18,0xc,0x0,0x80,0x18,0xc,0x1,0x40,0x18,0xc,0x2,0x20,0x18,0xc,0x4,0x10,0x18,0xc,0x68,0xb,0x18,0xc,0x90,0x4,0x98,0x3f,0x8,0x8,0x7e,0xd,0x8,0x8,0x58,0xc,0x90,0x4,0x98,0xc,0x60,0x3,0x18,0x6,0x0,0x0,0x30,0x7,0xff,0xff,0xf0,0x0,0xff,0xff,0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
};

//sensor
const unsigned char sensor[]={
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x60,0x0,0x0,0x0,0x90,0x0,0x0,0x1,0x8,0x0,0x0,0x1,0x4,0x0,0x0,0x0,0x82,0x0,0x0,0x0,0x41,0x0,0x0,0x0,0x23,0x80,0x0,0x0,0x17,0xc0,0x0,0x0,0xf,0xe0,0x0,0x0,0x7,0xf0,0x0,0x0,0x3,0xf0,0x0,0x0,0x1,0xf0,0x0,0x0,0x0,0xf0,0x0,0x0,0x0,0x8,0x0,0x0,0x0,0x4,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x1,0x0,0x0,0xe,0x1,0x0,0x0,0x11,0x81,0x0,0x0,0x20,0x62,0x0,0x0,0x20,0x1c,0x0,0x0,0x20,0x0,0x0,0x0,0x1f,0xff,0x80,0x0,0x0,0x0,0x40,0x0,0x7f,0xff,0x80,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
};
//adjust down
const unsigned char adj_down[]={
	0x1,0x50,0x0,0x0,0xf,0xd0,0xf,0xc0,0xf,0xd0,0xf,0xc0,0xf,0xd4,0xf,0xc0,0x3f,0xf8,0x1f,0xf0,0xf,0xe0,0x7,0xc0,0x3,0x80,0x1,0x0,0x0,0x0,0x0,0x0,
};
//adjust up
const unsigned char adj_up[]={
	0x0,0x0,0x0,0x0,0x3,0x0,0x7,0x80,0xf,0xc0,0x1f,0xe0,0x3f,0xf0,0xf,0xc0,0xf,0xd4,0xf,0xc0,0xf,0xd0,0xf,0xc0,0xf,0xd0,0x0,0x0,0x1,0x50,0x0,0x0,
};
//key
const unsigned char pass_key[]={
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x3c,0x0,0xc2,0xff,0x5,0x0,0xb,0xa0,0x5,0x52,0x81,0x2d,0x42,0x0,0x3c,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
};
//oc unit
const unsigned char oc_unit[]={
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xe,0x0,0x0,0x0,0x1b,0x0,0x0,0x0,0x31,0x81,0xff,0x80,0x20,0x8f,0xf,0x80,0x31,0x9e,0x3,0x80,0x1b,0x3c,0x3,0x80,0xe,0x7c,0x1,0x80,0x0,0x78,0x1,0x80,0x0,0xf8,0x0,0x80,0x0,0xf8,0x0,0x0,0x0,0xf8,0x0,0x0,0x0,0xf8,0x0,0x0,0x0,0xf8,0x0,0x0,0x0,0xf8,0x0,0x0,0x0,0xf8,0x0,0x0,0x0,0x78,0x0,0x40,0x0,0x7c,0x0,0xc0,0x0,0x3c,0x1,0x80,0x0,0x1e,0x1,0x0,0x0,0xf,0x6,0x0,0x0,0x3,0xf8,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
};
//16*16 size of OC
const unsigned char oc_unit_16[]={
	0x0,0x0,0x0,0x0,0x30,0x0,0x49,0xf8,0x4f,0x18,0x36,0x8,0xc,0x0,0xc,0x0,0xc,0x0,0xc,0x0,0xc,0x0,0x6,0x4,0x7,0x8,0x1,0xf0,0x0,0x0,0x0,0x0,
};
//second mark
const unsigned char second[]={
	0x0,0x0,0x0,0x0,0x0,0x0,0x3,0xf0,0x6,0x30,0xc,0x10,0xc,0x0,0xf,0x0,0x7,0xe0,0x0,0xf0,0x0,0x30,0x8,0x30,0xc,0x60,0xf,0xc0,0x0,0x0,0x0,0x0,
};
//maintainner
const unsigned char maintainner[]={
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xfe,0x0,0x0,0x1,0x1,0x80,0x0,0x2,0x0,0x40,0x0,0x4,0x0,0x20,0x0,0x8,0x0,0x30,0x0,0x8,0x0,0x10,0x0,0x10,0x0,0x10,0x0,0x10,0x0,0x1c,0x0,0x10,0x0,0x4,0x0,0x1f,0xff,0xfc,0x0,0xf,0xf1,0xc0,0x0,0xf,0xd1,0x20,0x78,0xf,0x90,0x20,0x84,0xf,0x80,0x11,0x18,0x7,0xc0,0x62,0x22,0x7,0xe0,0x42,0x46,0x3,0xc0,0x42,0x4a,0x1,0x80,0x42,0x32,0x1,0x8f,0x84,0x4,0x3,0x2,0x8,0x38,0x7,0x83,0x10,0x40,0x7,0xc1,0x10,0x80,0xf,0xf1,0x8b,0x0,0xf,0xff,0xc0,0x0,0xf,0xff,0xe0,0x0,0x3,0xff,0xe0,0x0,0x0,0x7f,0xe0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
};


const unsigned char scrollup_u[]={
	0x0,0x40,0x0,0x0,0xe0,0x0,0x1,0xb0,0x0,0x3,0x18,0x0,0x6,0xc,0x0,0xc,0x6,0x0,0x18,0x3,0x0,0x30,0x1,0x80,0x60,0x0,0xc0,0xc0,0x0,0x60,0x80,0x0,0x20,0xfc,0x7,0xe0,0x4,0x4,0x0,0x4,0x4,0x0,0x4,0x4,0x0,0x4,0x4,0x0,0x4,0x4,0x0,0x4,0x4,0x0,0x7,0xfc,0x0,0x0,0x0,0x0,
};

const unsigned char scrollup_d[]={
	0x0,0x40,0x0,0x0,0xe0,0x0,0x1,0xf0,0x0,0x3,0xf8,0x0,0x7,0xfc,0x0,0xf,0xfe,0x0,0x1f,0xff,0x0,0x3f,0xff,0x80,0x7f,0xff,0xc0,0xff,0xff,0xe0,0xff,0xff,0xe0,0xff,0xff,0xe0,0x7,0xfc,0x0,0x7,0xfc,0x0,0x7,0xfc,0x0,0x7,0xfc,0x0,0x7,0xfc,0x0,0x7,0xfc,0x0,0x7,0xfc,0x0,0x0,0x0,0x0,
};

const unsigned char scrolldown_u[]={
	0x7,0xfc,0x0,0x4,0x4,0x0,0x4,0x4,0x0,0x4,0x4,0x0,0x4,0x4,0x0,0x4,0x4,0x0,0x4,0x4,0x0,0xfc,0x7,0xe0,0x80,0x0,0x20,0xc0,0x0,0x60,0x60,0x0,0xc0,0x30,0x1,0x80,0x18,0x3,0x0,0xc,0x6,0x0,0x6,0xc,0x0,0x3,0x18,0x0,0x1,0xb0,0x0,0x0,0xe0,0x0,0x0,0x40,0x0,0x0,0x0,0x0,
};
const unsigned char scrolldown_d[]={
	0x0,0x0,0x0,0x3,0xfe,0x0,0x3,0xfe,0x0,0x3,0xfe,0x0,0x3,0xfe,0x0,0x3,0xfe,0x0,0x3,0xfe,0x0,0x3,0xfe,0x0,0x7f,0xff,0xf0,0x7f,0xff,0xf0,0x7f,0xff,0xf0,0x3f,0xff,0xe0,0x1f,0xff,0xc0,0xf,0xff,0x80,0x7,0xff,0x0,0x3,0xfe,0x0,0x1,0xfc,0x0,0x0,0xf8,0x0,0x0,0x70,0x0,0x0,0x20,0x0,
};
/////////////////////////////////////////////


const ICON IconLib[]={
	{16,16,0},//open
	{16,16,Icons[0]},//open
	{16,16,Icons[1]},//save
	{16,16,Icons[2]},//new
	{16,16,Icons[3]},//property
	{16,16,Icons[4]},//search
	{16,16,Icons[5]},//setting
	{16,16,Icons[6]},//folder
	{16,16,Icons[7]},//open-folder
	{16,16,Icons[8]},//find
	{16,16,Icons[9]},//question mark
	{16,16,Icons[10]},//book-closed
	{16,16,Icons[11]},//book-open
	{16,16,Icons[12]},//text file
	{16,16,Icons[13]},//speaker
	{16,16,Icons[14]},//delete file
	{16,16,Icons[15]},//refresh all
	{16,16,Icons[16]},//hand
	
	{32,32,caIconBitMaps[0]},//WARNING
	{32,32,caIconBitMaps[1]},//QUESTION
	{32,32,caIconBitMaps[2]},//STOP
	{32,32,caIconBitMaps[3]},//INFORMATION
	
	{30,30,caUser30},	//user
	{32,32,caKey32},	//user
	{16,16,Pencel16},
	
	/////////////////////////////////////////////
	//@ltq001.2005-8-2.start 添加输入法相关的图标
	{16,16,IME_Icon_CH},	//中
	{16,16,IME_Icon_EN},	//英
	{16,16,IME_Icon_NU},	//123
	//@ltq001.2005-8-2.end 添加输入法相关的图标
	/////////////////////////////////////////////

	{16,16,setting_icon},
	{60,32,bohn_logo},
	{16,16,close_window},

	{32,32,disp_setting},
	{32,32,fix_mode},
	{32,32,his_log},
	{32,32,net_set},
	{32,32,user_pass},
	{32,32,warnning},
	{32,32,fan},
	{32,32,compressor},
	{32,32,sensor},
	{16,16,adj_up},
	{16,16,adj_down},
	{16,16,pass_key},

	{32,32,oc_unit},
	{16,16,oc_unit_16},
	{16,16,second},

	{32,32,maintainner},
	{32,32,over_cold},
	{20,20,scrollup_u},
	{20,20,scrollup_d},
	{20,20,scrolldown_u},
	{20,20,scrolldown_d},

};


void DrawICON(int ICON_ID,int x,int y,int bNeg)
{
	ICON *picon = (ICON *)IconLib + ICON_ID;
	NANA_BITMAP bmp;

	bmp.biBitCount = 1;
	bmp.biColorMask = 0;
	bmp.biHeight = picon->height;
	bmp.biWidth = picon->width;
	bmp.biReverseColor = bNeg;
	bmp.pData = (unsigned char *)picon->pBitmap;

	GHAL_put_bmp(x,y,&bmp);
}

ICON * GetIcon(int ICON_ID)
{
	return (ICON *)&(IconLib[ICON_ID]);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -