#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>

extern int	alertId ;
extern int	aboutBtnId ;
extern int	eraseAboutFunc() ;
extern int	about_messageId ;

#define ALIGN	4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)

/*	MMI_init 用データ	*/

/*	ヘッダ	*/

MMIINIT	initDataMIABOU = { "MmiInit",   6, 0 } ;

/* alertId */

static MMIPACKET d001 = {	&alertId,
							NULL,
							&MJ_ALERTL40,
							OFFSET(ALERTL40),
							MS_NONE
						} ;
static ALERTL40	d001d = {	MS_BTLEFTL40 | MS_EVMOVEL40 | MS_EVMOSONL40 | MS_EVKEYONL40,
							 204, 184, 435, 294, 0, 7, 0,
							MS_SRECTL40 | MS_FRAMEL40,
							NULL, 102,1004,
							   0,   0,   0,   0
						} ;

/* NULL */

static MMIPACKET d002 = {	NULL,
							&alertId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d002d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							 212, 190, 429, 212, 8, 7, 8,
							MS_NONEL40,
							"囲碁棋譜記録プログラム ver1.04",
							   1,  12,  12,
							MS_BOLDL40,
							   0,   0
						} ;

/* aboutBtnId */

static MMIPACKET d003 = {	&aboutBtnId,
							&alertId,
							&MJ_DBUTTONL40,
							OFFSET(DBUTTONL40),
							MS_NONE
						} ;
static DBUTTONL40	d003d = {	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
							 280, 248, 359, 273,12, 7, 0,
							MS_PANELL40 | MS_FRAMEL40,
							eraseAboutFunc,
							0x8012
						} ;

/* NULL */

static MMIPACKET d004 = {	NULL,
							&alertId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d004d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							 283, 250, 355, 273, 8, 7, 8,
							MS_NONEL40,
							"確 認",
							   1,  12,  12,
							MS_BOLDL40,
							   0,   0
						} ;

/* NULL */

static MMIPACKET d005 = {	NULL,
							&alertId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d005d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							 211, 209, 428, 231, 8, 7, 8,
							MS_NONEL40,
							"Copyright (C) 久保田 俊也",
							   1,  12,  12,
							MS_BOLDL40,
							   0,   0
						} ;

/* about_messageId */

static MMIPACKET d006 = {	&about_messageId,
							&alertId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d006d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							 219, 230, 427, 246, 8, 7, 8,
							MS_NONEL40,
							NULL,
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

