#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	iconID ;

#define ALIGN	4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)

/*	MMI_init 用データ	*/

/*	ヘッダ	*/

MMIINIT	initDataGUI = { "MmiInit",   2, 0 } ;

/* dialogID */

static MMIPACKET d001 = {	&dialogID,
							&MJ_BASEOBJ,
							&MJ_DIALOGL40,
							OFFSET(DIALOGL40),
							MS_NONE
						} ;
static DIALOGL40	d001d = {	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_DSPONLYL40,
							 309, 229, 332, 252, 7, 0, 7,
							MS_NONEL40,
							NULL,   0,   0
						} ;

/* iconID */

static MMIPACKET d002 = {	&iconID,
							&dialogID,
							&MJ_ICONL40,
							0,
							MS_NONE
						} ;
static ICONL40	d002d = 	{	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
							 309, 229, 314, 234, 8, 0, 8,
							MS_NONEL40,
							0,
							0x0000, 512
						} ;

