#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>

extern int	fileSubDialogId ;
extern int	fileBtnId ;
extern int	fileCompModeSet() ;
extern int	fileMesId ;

#define ALIGN	4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)

/*	MMI_init 用データ	*/

/*	ヘッダ	*/

MMIINIT	initDataIMEFILE = { "MmiInit",   3, 0 } ;

/* fileSubDialogId */

static MMIPACKET d001 = {	&fileSubDialogId,
							NULL,
							&MJ_DIALOGL40,
							OFFSET(DIALOGL40),
							MS_NONE
						} ;
static DIALOGL40	d001d = {	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
							  80, 258, 168, 339, 8,15, 8,
							MS_NONEL40,
							NULL,   0,   0
						} ;

/* fileBtnId */

static MMIPACKET d002 = {	&fileBtnId,
							&fileSubDialogId,
							&MJ_TICONL40,
							OFFSET(TICONL40),
							MS_NONE
						} ;
static TICONL40	d002d = {	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
							  89, 292, 164, 308, 8,15, 8,
							MS_NONEL40,
							fileCompModeSet,
							0x0000, 279, 280
						} ;

/* fileMesId */

static MMIPACKET d003 = {	&fileMesId,
							&fileSubDialogId,
							&MJ_MSGL40,
							0,
							MS_NONE
						} ;
static MSGL40	d003d = 	{	MS_LEFTL40 | MS_DSPONLYL40,
							 117, 292, 157, 308, 0,15, 8,
							MS_NONEL40,
							"圧  縮",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

