#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>

extern int	DB_work ;
extern int	DB_work_sub[1] ;
extern int	DB_work_M[2] ;

#define ALIGN	4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)

/*	MMI_init 用データ	*/

/*	ヘッダ	*/

MMIINIT	initDataWORK = { "MmiInit",   4, 0 } ;

/* DB_work */

static MMIPACKET d001 = {	&DB_work,
							NULL,
							&MJ_ALERTL40,
							OFFSET(ALERTL40),
							MS_NONE
						} ;
static ALERTL40	d001d = {	MS_BTLEFTL40 | MS_EVMOVEL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_FIXEDL40 | MS_DSPONLYL40 | MS_SAVEL40,
							 120,  67, 519, 162, 9, 1, 7,
							MS_ALERTL40 | MS_FRAMEL40,
							NULL,   0,   0,
							   0,   0,   0,   0
						} ;

/* DB_work_sub[0] */

static MMIPACKET d002 = {	&DB_work_sub[0],
							&DB_work,
							&MJ_ICONL40,
							OFFSET(ICONL40),
							MS_NONE
						} ;
static ICONL40	d002d = 	{	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40 | MS_DSPONLYL40,
							 130,  82, 164, 116,15,12, 9,
							MS_FRAMEL40,
							0,
							0x0000,  23
						} ;

/* DB_work_M[0] */

static MMIPACKET d003 = {	&DB_work_M[0],
							&DB_work,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d003d = 	{	MS_LEFTL40 | MS_DSPONLYL40,
							 174,  88, 509, 111, 1, 9, 7,
							MS_NONEL40,
							"実行中です",
							   2,  16,  16,
							MS_BOLDL40,
							   0,   0
						} ;

/* DB_work_M[1] */

static MMIPACKET d004 = {	&DB_work_M[1],
							&DB_work,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d004d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							 126, 124, 513, 143, 1, 9, 7,
							MS_NONEL40,
							"続ける",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

