#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>

extern int	dialogID ;
extern int	MJ_BASEOBJ ;
extern int	messageID[4] ;
extern int	poffIconID[2] ;
extern int	poffFunc() ;

#define ALIGN	4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)

/*	MMI_init 用データ	*/

/*	ヘッダ	*/

MMIINIT	initDataGUI = { "MmiInit",   7, 0 } ;

/* dialogID */

static MMIPACKET d001 = {	&dialogID,
							&MJ_BASEOBJ,
							&MJ_DIALOGL40,
							OFFSET(DIALOGL40),
							MS_NONE
						} ;
static DIALOGL40	d001d = {	MS_BTLEFTL40 | MS_EVMOSONL40,
							 291, 206, 349, 274, 8, 1,15,
							MS_UFRAMEL40 | MS_FRAMEL40,
							NULL,   0,   0
						} ;

/* messageID[0] */

static MMIPACKET d002 = {	&messageID[0],
							&dialogID,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d002d = 	{	MS_DSPONLYL40,
							 293, 207, 298, 212, 8, 5, 8,
							MS_NONEL40,
							"Dangerous",
							   1,  12,  12,
							MS_OUTLINEL40,
							  -2,   0
						} ;

/* messageID[1] */

static MMIPACKET d003 = {	&messageID[1],
							&dialogID,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d003d = 	{	MS_DSPONLYL40,
							 294, 208, 299, 213, 8,15,14,
							MS_NONEL40,
							"Dangerous",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* poffIconID[0] */

static MMIPACKET d004 = {	&poffIconID[0],
							&dialogID,
							&MJ_ICONL40,
							OFFSET(ICONL40),
							MS_NONE
						} ;
static ICONL40	d004d = 	{	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
							 301, 235, 338, 272, 8, 8, 8,
							MS_PANELL40 | MS_BFRAMEL40 | MS_FRAMEL40,
							poffFunc,
							0x0000, 512
						} ;

/* poffIconID[1] */

static MMIPACKET d005 = {	&poffIconID[1],
							&dialogID,
							&MJ_ICONL40,
							OFFSET(ICONL40),
							MS_NONE
						} ;
static ICONL40	d005d = 	{	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_DSPONLYL40,
							 306, 241, 332, 267, 8, 8, 8,
							MS_NONEL40,
							0,
							0x0000, 513
						} ;

/* messageID[2] */

static MMIPACKET d006 = {	&messageID[2],
							&dialogID,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d006d = 	{	MS_DSPONLYL40,
							 308, 220, 313, 225, 8, 5, 8,
							MS_NONEL40,
							"poff",
							   1,  12,  12,
							MS_OUTLINEL40,
							  -2,   0
						} ;

/* messageID[3] */

static MMIPACKET d007 = {	&messageID[3],
							&dialogID,
							&MJ_MSGL40,
							0,
							MS_NONE
						} ;
static MSGL40	d007d = 	{	MS_DSPONLYL40,
							 309, 221, 314, 226, 8,15,14,
							MS_NONEL40,
							"poff",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

