btbmp.c

来自「国家ASIC工程中心使用的嵌入式操作系统」· C语言 代码 · 共 36 行

C
36
字号
unsigned char	btbmp001[] = {	// 椭圆按钮
//头信息
0x42,0x4d,		// 位图的标识符('BM')
0x24,0x00,	// 位图的宽度(35 pixels)
0x18,0x00,	// 位图的高度(24 pixels)
0x01,			// 位图的像素深度(1 bits/pixel)
0x00,			// 位图的状态标志位
				// |7|6|5|4|3|2|1|0|
				// 0位:使用系统调色板
				// 1位:不使用压缩算法
0x02,0x00,0x00,0x00,	// 位图实际使用到的颜色数(2 colors)
0x10,0x00,0x00,0x00,		// 数据区的偏移量(16 bytes)
// 数据区
/*
0x00,0x03,0xf8,0x00,0x30,0x03,0xc0,0x78,0x03,0x01,0xc0,0x00,0x70,0x30,0x70,0x3f,
0x83,0xc3,0x0c,0x3f,0xff,0xfe,0x31,0x8f,0xff,0xff,0xf3,0x33,0xff,0xff,0xff,0xb6,
0x7f,0xff,0xff,0xff,0x4f,0xff,0xff,0xff,0xf4,0xff,0xff,0xff,0xff,0x9f,0xff,0xff,
0xff,0xf9,0xff,0xff,0xff,0xff,0x9f,0xff,0xff,0xff,0xf9,0xff,0xff,0xff,0xff,0x4f,
0xff,0xff,0xff,0xf4,0xff,0xff,0xff,0xff,0x67,0xff,0xff,0xff,0xf3,0x3f,0xff,0xff,
0xfb,0x19,0xff,0xff,0xff,0x30,0xff,0xff,0xff,0xe3,0x07,0xff,0xff,0xfc,0x30,0x1f,
0xff,0xff,0x03,0x00,0x3f,0xff,0x80,0x30,0x00,0x3f,0x80*/

0x00,0x03,0xf8,0x00,0x00,0x03,0xc0,0x78,0x00,
0x01,0xc0,0x00,0x70,0x00,0x70,0x3f,0x83,0xc0,
0x0c,0x3f,0xff,0xfe,0x01,0x8f,0xff,0xff,0xf0,
0x33,0xff,0xff,0xff,0x86,0x7f,0xff,0xff,0xfc,
0x4f,0xff,0xff,0xff,0xc4,0xff,0xff,0xff,0xfe,
0x9f,0xff,0xff,0xff,0xe9,0xff,0xff,0xff,0xfe,
0x9f,0xff,0xff,0xff,0xe9,0xff,0xff,0xff,0xfe,
0x4f,0xff,0xff,0xff,0xc4,0xff,0xff,0xff,0xfc,
0x67,0xff,0xff,0xff,0xc3,0x3f,0xff,0xff,0xf8,
0x19,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0xe0,
0x07,0xff,0xff,0xfc,0x00,0x1f,0xff,0xff,0x00,
0x00,0x3f,0xff,0x80,0x00,0x00,0x3f,0x80
};

⌨️ 快捷键说明

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