#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[2] ;

#define ALIGN	4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)

/*	MMI_init 用データ	*/

/*	ヘッダ	*/

MMIINIT	initDataCOMMAND = { "MmiInit",   3, 0 } ;

/* dialogID */

static MMIPACKET d001 = {	&dialogID,
							&MJ_BASEOBJ,
							&MJ_DIALOGL40,
							OFFSET(DIALOGL40),
							MS_NONE
						} ;
static DIALOGL40	d001d = {	MS_BTLEFTL40 | MS_EVMOSONL40,
							 253, 228, 388, 253, 8, 9,15,
							MS_PANELL40 | MS_BFRAMEL40 | MS_FRAMEL40,
							NULL,   0,   0
						} ;

/* messageID[0] */

static MMIPACKET d002 = {	&messageID[0],
							&dialogID,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d002d = 	{	MS_DSPONLYL40,
							 257, 232, 262, 237, 8, 5, 8,
							MS_NONEL40,
							"コマンド実行中",
							   0,  16,  16,
							MS_BOLDL40 | MS_OUTLINEL40,
							  -1,   0
						} ;

/* messageID[1] */

static MMIPACKET d003 = {	&messageID[1],
							&dialogID,
							&MJ_MSGL40,
							0,
							MS_NONE
						} ;
static MSGL40	d003d = 	{	MS_DSPONLYL40,
							 258, 233, 263, 238, 8,15,14,
							MS_NONEL40,
							"コマンド実行中",
							   0,  16,  16,
							MS_BOLDL40,
							   1,   0
						} ;

