#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>

extern int	sourceMenuID ;
extern int	sourceMenuItemID ;
extern int	apliMenuExecFunc() ;

#define ALIGN	4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)

/*	MMI_init 用データ	*/

/*	ヘッダ	*/

MMIINIT	initDataSRCGUI = { "MmiInit",   2, 0 } ;

/* sourceMenuID */

static MMIPACKET d001 = {	&sourceMenuID,
							NULL,
							&MJ_MENUL40,
							OFFSET(MENUL40),
							MS_UNSELECT
						} ;
static MENUL40	d001d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_SAVEL40,
							   0,   0, 127, 113, 8,15, 8,
							MS_SRECTL40 | MS_BFRAMEL40 | MS_FRAMEL40,
							NULL,   0
						} ;

/* sourceMenuItemID */

static MMIPACKET d002 = {	&sourceMenuItemID,
							&sourceMenuID,
							&MJ_MITEML40,
							0,
							MS_NONE
						} ;
static MITEML40	d002d = {	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40 | MS_SKEYL40,
							  18,  73, 129,  93, 8,15, 8,
							MS_NONEL40,
							apliMenuExecFunc,
							0x0000,  -1,
							NULL,
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

