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

📄 char-bitmap.h

📁 Omap5910 上实现双核通信 DSP GateWay
💻 H
字号:
/*
 * Copyright (c) 2004-2005, Nokia
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice, this
 * list of conditions and the following disclaimer. 
 *
 * Redistributions in binary form must reproduce the above copyright notice,
 * this list of conditions and the following disclaimer in the documentation
 * and/or other materials provided with the distribution. 
 *
 * Neither the name of Nokia nor the names of its contributors may be used to
 * endorse or promote products derived from this software without specific
 * prior written permission. 
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 *
 * Toshihiro Kobayashi <toshihiro.kobayashi@nokia.com>
 * 2004/11/01:  DSP Gateway version 3.3
 */

#define BM_WID		64
#define BM_WID_WORD	4
#define BM_HEI		16
#define BM_SZ		BM_WID_WORD * BM_HEI

#define BITMAP_RED \
{ \
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0600, 0x0000, \
	0x0000, 0x0000, 0x0200, 0x0000, 0x0000, 0x0000, 0x0200, 0x0000, \
	0x0000, 0x0000, 0x0200, 0x0000, 0x0000, 0xc370, 0x03c1, 0x0000, \
	0x0000, 0x24c0, 0x0222, 0x0000, 0x0000, 0x1440, 0x0214, 0x0000, \
	0x0000, 0xf040, 0x0217, 0x0000, 0x0000, 0x1040, 0x0210, 0x0000, \
	0x0000, 0x1040, 0x0210, 0x0000, 0x0000, 0x1040, 0x0214, 0x0000, \
	0x0000, 0x2040, 0x0224, 0x0000, 0x0000, 0xc3f0, 0x07c3, 0x0000, \
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, \
}
#define BITMAP_GREEN \
{ \
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, \
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, \
	0x0000, 0x0000, 0x0000, 0x0000, 0xc000, 0xc37d, 0xb1c1, 0x0003, \
	0x2000, 0x24c2, 0x6222, 0x0004, 0x2000, 0x1442, 0x2414, 0x0004, \
	0x2000, 0xf042, 0x27f7, 0x0004, 0xc000, 0x1041, 0x2010, 0x0004, \
	0x2000, 0x1040, 0x2010, 0x0004, 0xe000, 0x1041, 0x2414, 0x0004, \
	0x1000, 0x2042, 0x2424, 0x0004, 0x1000, 0xc3f4, 0x73c3, 0x000e, \
	0x1000, 0x0004, 0x0000, 0x0000, 0xe000, 0x0003, 0x0000, 0x0000, \
}
#define BITMAP_BLUE \
{ \
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x1c03, 0x0000, 0x0000, \
	0x0000, 0x1002, 0x0000, 0x0000, 0x0000, 0x1002, 0x0000, 0x0000, \
	0x0000, 0x1002, 0x0000, 0x0000, 0x0000, 0x101e, 0x1c63, 0x0000, \
	0x0000, 0x1022, 0x2242, 0x0000, 0x0000, 0x1042, 0x4142, 0x0000, \
	0x0000, 0x1042, 0x7f42, 0x0000, 0x0000, 0x1042, 0x0142, 0x0000, \
	0x0000, 0x1042, 0x0142, 0x0000, 0x0000, 0x1042, 0x4142, 0x0000, \
	0x0000, 0x1022, 0x4262, 0x0000, 0x0000, 0xff1e, 0x3c9c, 0x0000, \
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, \
}
#define BITMAP_YELLOW \
{ \
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x1e00, 0x001e, 0x0000, \
	0x0000, 0x1000, 0x0010, 0x0000, 0x0000, 0x1000, 0x0010, 0x0000, \
	0x0000, 0x1000, 0x0010, 0x0000, 0xe700, 0x101c, 0x1c10, 0x0049, \
	0x4200, 0x1022, 0x2210, 0x0049, 0x4400, 0x1041, 0x4110, 0x0049, \
	0x2400, 0x107f, 0x4110, 0x0049, 0x2800, 0x1001, 0x4110, 0x0055, \
	0x1000, 0x1001, 0x4110, 0x0055, 0x1000, 0x1041, 0x4110, 0x0022, \
	0x0800, 0x1042, 0x2210, 0x0022, 0x0900, 0xff3c, 0x1cff, 0x0022, \
	0x0500, 0x0000, 0x0000, 0x0000, 0x0200, 0x0000, 0x0000, 0x0000, \
}
#define BITMAP_CYAN \
{ \
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, \
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, \
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xe75c, 0x3b3c, 0x0000, \
	0x0000, 0x4262, 0x4642, 0x0000, 0x0000, 0x4441, 0x4240, 0x0000, \
	0x0000, 0x2401, 0x427c, 0x0000, 0x0000, 0x2801, 0x4242, 0x0000, \
	0x0000, 0x1001, 0x4241, 0x0000, 0x0000, 0x1041, 0x4241, 0x0000, \
	0x0000, 0x0842, 0x4261, 0x0000, 0x0000, 0x093c, 0xe7de, 0x0000, \
	0x0000, 0x0500, 0x0000, 0x0000, 0x0000, 0x0200, 0x0000, 0x0000, \
}
#define BITMAP_MAGENTA \
{ \
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, \
	0x0000, 0x0000, 0x4000, 0x0000, 0x0000, 0x0000, 0x4000, 0x0000, \
	0x0000, 0x0000, 0x4000, 0x0000, 0xc360, 0xcdc3, 0xf3b1, 0x03c3, \
	0x2490, 0x2224, 0x4462, 0x0420, 0x0490, 0x1224, 0x4424, 0x0400, \
	0xc490, 0xf227, 0x4427, 0x07c0, 0x2490, 0x11c4, 0x4420, 0x0420, \
	0x1490, 0x1024, 0x4420, 0x0410, 0x1490, 0x11e4, 0x4424, 0x0414, \
	0x1490, 0x2216, 0x4424, 0x0614, 0xedb0, 0xc41d, 0x8e73, 0x0de3, \
	0x0000, 0x0410, 0x0000, 0x0000, 0x0000, 0x03e0, 0x0000, 0x0000, \
}
#define BITMAP_WHITE \
{ \
	0x0000, 0x8000, 0x0001, 0x0000, 0x0000, 0x8030, 0x0001, 0x0000, \
	0x0000, 0x0020, 0x0040, 0x0000, 0x0000, 0x0020, 0x0040, 0x0000, \
	0x0000, 0x0020, 0x0040, 0x0000, 0x9000, 0xe3a4, 0xc3f1, 0x0001, \
	0x9000, 0x0464, 0x2041, 0x0002, 0x9000, 0x0424, 0x1041, 0x0004, \
	0x9000, 0x0424, 0xf041, 0x0007, 0x5000, 0x0425, 0x1041, 0x0000, \
	0x5000, 0x0425, 0x1041, 0x0000, 0x2000, 0x0422, 0x1441, 0x0004, \
	0x2000, 0x0422, 0x2441, 0x0004, 0x2000, 0xfe72, 0xc38f, 0x0003, \
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, \
}
#define BITMAP_BLACK \
{ \
	0x0000, 0x0000, 0x0000, 0x0000, 0x3000, 0x01e0, 0x3000, 0x0000, \
	0x2000, 0x0100, 0x2000, 0x0000, 0x2000, 0x0100, 0x2000, 0x0000, \
	0x2000, 0x0100, 0x2000, 0x0000, 0xe000, 0xc101, 0x25c3, 0x0004, \
	0x2000, 0x2102, 0x2624, 0x0002, 0x2000, 0x0104, 0x2414, 0x0001, \
	0x2000, 0xc104, 0xa017, 0x0001, 0x2000, 0x2104, 0x6014, 0x0002, \
	0x2000, 0x1104, 0x2014, 0x0002, 0x2000, 0x1104, 0x2414, 0x0004, \
	0x2000, 0x1102, 0x2426, 0x0004, 0xe000, 0xeff1, 0x73cd, 0x000c, \
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, \
}

⌨️ 快捷键说明

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