21,595
社区成员
发帖
与我相关
我的任务
分享
GUI_FLASH const unsigned char acFontHZ12_237[24] = { // code 0xd7d6
_____X__,________,
_XXXXXXX,XXXX____,
_X______,___X____,
X__XXXXX,X_X_____,
________,X_______,
_______X,________,
______X_,__X_____,
_XXXXXXX,XXXX____,
______X_,________,
______X_,________,
____X_X_,________,
_____XX_,________
};
GUI_FLASH const unsigned char acFontHZ12_238[24] = { // code 0xd7ee
___XXXXX,XX______,
___X____,_X______,
___XXXXX,XX______,
___X____,_X______,
XXXXXXXX,XXXX____,
__X__X__,________,
__XXXXXX,XXX_____,
__X__X_X,__X_____,
__XXXX_X,_X______,
__X__X__,X_______,
XXXXXX_X,_X______,
_____XX_,__XX____
};
GUI_FLASH const GUI_CHARINFO GUI_FontHZ12_CharInfo[2] = {
{ 14, 14, 2, (void GUI_FLASH *)&acFontHZ12_237 }, //字
{ 14, 14, 2, (void GUI_FLASH *)&acFontHZ12_238 }, //最
};
static const GUI_FONT_PROP _FontHZ12_Prop1 = {
0x0102, /* first character */
0x0102, /* last character */
&GUI_FontHZ12_CharInfo[ 1], /* address of first character */
&_FontHZ12_Prop2 /* pointer to next GUI_FONT_PROP */
};
static const GUI_FONT_PROP _FontHZ12_Prop0 = {
0x0101, /* first character */
0x0101, /* last character */
&GUI_FontHZ12_CharInfo[ 0], /* address of first character */
&_FontHZ12_Prop1 /* pointer to next GUI_FONT_PROP */
};
static const GUI_FONT GUI_FontHZ12 = {
GUI_FONTTYPE_PROP_SJIS /* type of font */
,16 /* height of font */
,16 /* space of font y */
,1 /* magnification x */
,1 /* magnification y */
,(void GUI_FLASH *)(&_FontHZ12_Prop0)
};
static const GUI_WIDGET_CREATE_INFO _aDialogCreate[] = {
{ FRAMEWIN_CreateIndirect, "Menu", ID_FRAMEWIN_0, 0, 0, 240, 320, 0, 0x0, 0 },
{ BUTTON_CreateIndirect, "确定", ID_BUTTON_0, 10, 10, 60, 60, 0, 0x0, 0 },
{ BUTTON_CreateIndirect, "取消", ID_BUTTON_1, 83, 10, 60, 60, 0, 0x0, 0 },
};
BUTTON_SetDefaultFont(&GUI_FontHZ12);