#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>

extern int	alertId ;
extern int	messageId[3] ;
extern int	dspIconId ;
extern int	aboutOKBtnId ;
extern int	aboutOKFunc() ;

#define ALIGN	4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)

/*	MMI_init 用データ	*/

/*	ヘッダ	*/

MMIINIT	initDataIWVABOU = { "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,
							 166, 161, 474, 320, 8, 4, 0,
							MS_PANELL40 | MS_UFRAMEL40 | MS_FRAMEL40,
							NULL,   0,   0,
							   0,   0,   0,   0
						} ;

/* messageId[0] */

static MMIPACKET d002 = {	&messageId[0],
							&alertId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d002d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							 173, 216, 467, 239, 0,15, 8,
							MS_NONEL40,
							"WAVE版 音姫七変化",
							   2,  16,  16,
							MS_BOLDL40,
							   0,   0
						} ;

/* messageId[1] */

static MMIPACKET d003 = {	&messageId[1],
							&alertId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d003d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							 215, 247, 425, 264, 0,15, 8,
							MS_NONEL40,
							"Copyright (C) 1995 HiroshiTODA",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* dspIconId */

static MMIPACKET d004 = {	&dspIconId,
							&alertId,
							&MJ_ICONL40,
							OFFSET(ICONL40),
							MS_NONE
						} ;
static ICONL40	d004d = 	{	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_CENTERL40 | MS_DSPONLYL40,
							 178, 171, 215, 206, 8, 4, 8,
							MS_PANELL40 | MS_DFRAMEL40 | MS_FRAMEL40,
							0,
							0x0000,  37
						} ;

/* aboutOKBtnId */

static MMIPACKET d005 = {	&aboutOKBtnId,
							&alertId,
							&MJ_DBUTTONL40,
							OFFSET(DBUTTONL40),
							MS_NONE
						} ;
static DBUTTONL40	d005d = {	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
							 284, 278, 357, 303,12, 4, 8,
							MS_PANELL40 | MS_FRAMEL40,
							aboutOKFunc,
							0x0000
						} ;

/* messageId[2] */

static MMIPACKET d006 = {	&messageId[2],
							&alertId,
							&MJ_MSGL40,
							0,
							MS_NONE
						} ;
static MSGL40	d006d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							 286, 280, 354, 302, 0,15, 8,
							MS_NONEL40,
							"確  認",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

