#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>

extern int	DB_quit ;
extern int	DB_quit_sub[6] ;
extern int	DB_quit_end() ;
extern int	DB_quit_cont() ;

#define ALIGN	4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)

/*	MMI_init 用データ	*/

/*	ヘッダ	*/

MMIINIT	initDataQUIT = { "MmiInit",   7, 0 } ;

/* DB_quit */

static MMIPACKET d001 = {	&DB_quit,
							NULL,
							&MJ_ALERTL40,
							OFFSET(ALERTL40),
							MS_NONE
						} ;
static ALERTL40	d001d = {	MS_BTLEFTL40 | MS_EVMOVEL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_SAVEL40,
							 166,  92, 472, 207, 8, 7, 2,
							MS_ALERTL40 | MS_FRAMEL40,
							NULL, 605,   0,
							   0,   0,   0,   0
						} ;

/* DB_quit_sub[0] */

static MMIPACKET d002 = {	&DB_quit_sub[0],
							&DB_quit,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d002d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							 251, 114, 410, 137, 1,15, 8,
							MS_NONEL40,
							"終わっていいのかな",
							   2,  16,  16,
							MS_BOLDL40,
							   0,   0
						} ;

/* DB_quit_sub[1] */

static MMIPACKET d003 = {	&DB_quit_sub[1],
							&DB_quit,
							&MJ_ICONL40,
							OFFSET(ICONL40),
							MS_NONE
						} ;
static ICONL40	d003d = 	{	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40 | MS_DSPONLYL40,
							 188, 107, 222, 141, 5,14, 1,
							MS_FRAMEL40,
							0,
							0x0000,  24
						} ;

/* DB_quit_sub[2] */

static MMIPACKET d004 = {	&DB_quit_sub[2],
							&DB_quit,
							&MJ_DBUTTONL40,
							OFFSET(DBUTTONL40),
							MS_NONE
						} ;
static DBUTTONL40	d004d = {	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
							 198, 157, 317, 182, 9, 7, 9,
							MS_PANELL40 | MS_DEFAULTL40,
							DB_quit_end,
							0x0000
						} ;

/* DB_quit_sub[3] */

static MMIPACKET d005 = {	&DB_quit_sub[3],
							&DB_quit,
							&MJ_DBUTTONL40,
							OFFSET(DBUTTONL40),
							MS_NONE
						} ;
static DBUTTONL40	d005d = {	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
							 334, 157, 445, 182,10, 7, 9,
							MS_PANELL40 | MS_DEFAULTL40,
							DB_quit_cont,
							0x0000
						} ;

/* DB_quit_sub[4] */

static MMIPACKET d006 = {	&DB_quit_sub[4],
							&DB_quit,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d006d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							 374, 160, 405, 180, 1,15, 8,
							MS_NONEL40,
							"続ける",
							   2,  16,  16,
							MS_NONEL40,
							   4,   0
						} ;

/* DB_quit_sub[5] */

static MMIPACKET d007 = {	&DB_quit_sub[5],
							&DB_quit,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d007d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							 236, 160, 279, 180, 1,15, 8,
							MS_NONEL40,
							"いいよ",
							   2,  16,  16,
							MS_NONEL40,
							   4,   0
						} ;

