#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>

extern int	SearchIdSayAlert ;
extern int	SearchIdSayTextId ;
extern int	SearchIdSayTextDir ;
extern int	SearchIdSayGetPathName() ;
extern int	SearchIdSayDButtonOK ;
extern int	SearchIdSayFunc() ;
extern int	SearchIdSayDButtonNO ;

#define ALIGN	4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)

/*	MMI_init 用データ	*/

/*	ヘッダ	*/

MMIINIT	initDataSEARCHID = { "MmiInit",  11, 0 } ;

/* SearchIdSayAlert */

static MMIPACKET d001 = {	&SearchIdSayAlert,
							NULL,
							&MJ_ALERTL40,
							OFFSET(ALERTL40),
							MS_NONE
						} ;
static ALERTL40	d001d = {	MS_BTLEFTL40 | MS_EVMOVEL40 | MS_EVMOSONL40 | MS_EVKEYONL40,
							  78, 106, 557, 291,15, 5, 0,
							MS_ALERTL40 | MS_FRAMEL40,
							NULL,   0,   0,
							   0,   0,   0,   0
						} ;

/* NULL */

static MMIPACKET d002 = {	NULL,
							&SearchIdSayAlert,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d002d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							  82, 113, 552, 136, 0, 1,15,
							MS_NONEL40,
							"発　　言　　の　　検　　索",
							   1,  12,  12,
							MS_BOLDL40 | MS_OUTLINEL40,
							   0,   0
						} ;

/* NULL */

static MMIPACKET d003 = {	NULL,
							&SearchIdSayAlert,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d003d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							  82, 149, 552, 172, 0,15,15,
							MS_NONEL40,
							"検索するＩＤ (複数指定可)",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* NULL */

static MMIPACKET d004 = {	NULL,
							&SearchIdSayAlert,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d004d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							  82, 207, 552, 230, 0,15,15,
							MS_NONEL40,
							"検索するﾌｧｲﾙ or ﾃﾞｨﾚｸﾄﾘ (複数指定可)",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* SearchIdSayTextId */

static MMIPACKET d005 = {	&SearchIdSayTextId,
							&SearchIdSayAlert,
							&MJ_TEXTL40,
							OFFSET(TEXTL40),
							MS_NONE
						} ;
static TEXTL40	d005d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40,
							  87, 170, 547, 186,12, 0,15,
							MS_UFRAMEL40 | MS_FRAMEL40,
							0,
							   0,   0,   0,   0,
							   0,   0,   0,   0,   0,
							     128,   0,   0,
							   0,   0,   0,   0,
							   0,
							   0,   0,   0,   0,
							   1,  12,  12,   0,   0,
							   0,   0,   0,   0,   0,   0,   0,
							   0,   0,   0,   0,
							  24
						} ;

/* SearchIdSayTextDir */

static MMIPACKET d006 = {	&SearchIdSayTextDir,
							&SearchIdSayAlert,
							&MJ_TEXTL40,
							OFFSET(TEXTL40),
							MS_NONE
						} ;
static TEXTL40	d006d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40,
							  87, 225, 527, 241,12, 0,15,
							MS_UFRAMEL40 | MS_FRAMEL40,
							0,
							   0,   0,   0,   0,
							   0,   0,   0,   0,   0,
							     128,   0,   0,
							   0,   0,   0,   0,
							   0,
							   0,   0,   0,   0,
							   1,  12,  12,   0,   0,
							   0,   0,   0,   0,   0,   0,   0,
							   0,   0,   0,   0,
							  24
						} ;

/* NULL */

static MMIPACKET d007 = {	NULL,
							&SearchIdSayAlert,
							&MJ_ICONL40,
							OFFSET(ICONL40),
							MS_NONE
						} ;
static ICONL40	d007d = 	{	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
							 533, 225, 548, 240, 0, 0,14,
							MS_NONEL40,
							SearchIdSayGetPathName,
							0x0006, 293
						} ;

/* SearchIdSayDButtonOK */

static MMIPACKET d008 = {	&SearchIdSayDButtonOK,
							&SearchIdSayAlert,
							&MJ_DBUTTONL40,
							OFFSET(DBUTTONL40),
							MS_NONE
						} ;
static DBUTTONL40	d008d = {	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
							 375, 255, 454, 280, 0, 4, 0,
							MS_UFRAMEL40 | MS_FRAMEL40,
							SearchIdSayFunc,
							0x8012
						} ;

/* SearchIdSayDButtonNO */

static MMIPACKET d009 = {	&SearchIdSayDButtonNO,
							&SearchIdSayAlert,
							&MJ_DBUTTONL40,
							OFFSET(DBUTTONL40),
							MS_NONE
						} ;
static DBUTTONL40	d009d = {	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
							 464, 255, 543, 280, 0, 4, 0,
							MS_UFRAMEL40 | MS_FRAMEL40,
							SearchIdSayFunc,
							0x8011
						} ;

/* NULL */

static MMIPACKET d010 = {	NULL,
							&SearchIdSayAlert,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d010d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							 387, 256, 441, 279, 0,15,15,
							MS_NONEL40,
							"実行",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* NULL */

static MMIPACKET d011 = {	NULL,
							&SearchIdSayAlert,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d011d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							 478, 256, 532, 279, 0,15,15,
							MS_NONEL40,
							"取消",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

