#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>

extern int	backId ;
extern int	MJ_BASEOBJ ;
extern int	title_dispdialogId ;
extern int	title_messageId[12] ;
extern int	textcommentId[10] ;
extern int	buttonId ;
extern int	igo_oper() ;
extern int	deskTopId ;
extern int	deskTopBtnId[2] ;
extern int	exitFunc() ;
extern int	menuBarId ;
extern int	mitemBarId[4] ;
extern int	menu0Id ;
extern int	mitem0Id ;
extern int	showAboutFunc() ;
extern int	menu1Id ;
extern int	mitem1Id[9] ;
extern int	igo_init() ;
extern int	igo_read() ;
extern int	igo_write() ;
extern int	igo_samewrite() ;
extern int	igo_handy() ;
extern int	igo_print() ;
extern int	igo_line() ;
extern int	menu2Id ;
extern int	mitem2Id[13] ;
extern int	igo_title() ;
extern int	igo_comment() ;
extern int	igo_chg_put() ;
extern int	igo_chg_cancel() ;
extern int	igo_abandon() ;
extern int	menu3Id ;
extern int	igo_nummberdisp() ;
extern int	igo_rebirthset() ;
extern int	igo_autorebirth() ;
extern int	igo_judge() ;
extern int	igo_kaiten1() ;
extern int	igo_kaiten2() ;
extern int	igo_kaiten3() ;
extern int	igo_hanten() ;
extern int	MMI_DspSkb() ;

#define ALIGN	4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)

/*	MMI_init 用データ	*/

/*	ヘッダ	*/

MMIINIT	initDataMIDESK = { "MmiInit",  60, 0 } ;

/* backId */

static MMIPACKET d001 = {	&backId,
							&MJ_BASEOBJ,
							&MJ_DIALOGL40,
							OFFSET(DIALOGL40),
							MS_NONE
						} ;
static DIALOGL40	d001d = {	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
							   0,   0, 639, 479, 0, 5, 0,
							MS_NONEL40,
							NULL,   0,   0
						} ;

/* title_dispdialogId */

static MMIPACKET d002 = {	&title_dispdialogId,
							&backId,
							&MJ_DIALOGL40,
							OFFSET(DIALOGL40),
							MS_NONE
						} ;
static DIALOGL40	d002d = {	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
							   3,  30, 176, 479, 8, 7, 8,
							MS_FRAMEL40,
							NULL,   0,   0
						} ;

/* title_messageId[1] */

static MMIPACKET d003 = {	&title_messageId[1],
							&title_dispdialogId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d003d = 	{	MS_LEFTL40 | MS_DSPONLYL40,
							   4,  48,  53,  66, 8,15, 8,
							MS_NONEL40,
							"対局者 黒",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* title_messageId[2] */

static MMIPACKET d004 = {	&title_messageId[2],
							&title_dispdialogId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d004d = 	{	MS_LEFTL40 | MS_DSPONLYL40,
							   4,  66,  54,  84, 8,15, 8,
							MS_NONEL40,
							"対局者 白",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* title_messageId[0] */

static MMIPACKET d005 = {	&title_messageId[0],
							&title_dispdialogId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d005d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							   4,  31,  79,  48, 8,15, 8,
							MS_NONEL40,
							"対局記録",
							   1,  12,  12,
							MS_NONEL40,
							   5,   0
						} ;

/* title_messageId[3] */

static MMIPACKET d006 = {	&title_messageId[3],
							&title_dispdialogId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d006d = 	{	MS_LEFTL40 | MS_DSPONLYL40,
							   4,  85,  53, 100, 8,15, 8,
							MS_NONEL40,
							"対局開始",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* title_messageId[4] */

static MMIPACKET d007 = {	&title_messageId[4],
							&title_dispdialogId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d007d = 	{	MS_LEFTL40 | MS_DSPONLYL40,
							   6, 122,  48, 138, 8,15, 8,
							MS_NONEL40,
							"対局終了",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* title_messageId[5] */

static MMIPACKET d008 = {	&title_messageId[5],
							&title_dispdialogId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d008d = 	{	MS_LEFTL40 | MS_DSPONLYL40,
							   7, 162,  53, 177, 8,15, 8,
							MS_NONEL40,
							"対局場所",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* title_messageId[6] */

static MMIPACKET d009 = {	&title_messageId[6],
							&title_dispdialogId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d009d = 	{	MS_LEFTL40 | MS_DSPONLYL40,
							   7, 208,  53, 223, 8,15, 8,
							MS_NONEL40,
							"コミ",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* title_messageId[7] */

static MMIPACKET d010 = {	&title_messageId[7],
							&title_dispdialogId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d010d = 	{	MS_LEFTL40 | MS_DSPONLYL40,
							   8, 230,  54, 245, 8,15, 8,
							MS_NONEL40,
							"結果",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* title_messageId[8] */

static MMIPACKET d011 = {	&title_messageId[8],
							&title_dispdialogId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d011d = 	{	MS_LEFTL40 | MS_DSPONLYL40,
							   5, 267,  51, 282, 8,15, 8,
							MS_NONEL40,
							"コメント",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* textcommentId[7] */

static MMIPACKET d012 = {	&textcommentId[7],
							&title_dispdialogId,
							&MJ_TEXTL40,
							OFFSET(TEXTL40),
							MS_NONE
						} ;
static TEXTL40	d012d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
							   5, 282, 172, 479, 9,15, 8,
							MS_FRAMEL40,
							0,
							   0,   0,   0,   0,
							   0,   0,   0,   0,   0,
							      -1,   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
						} ;

/* textcommentId[0] */

static MMIPACKET d013 = {	&textcommentId[0],
							&title_dispdialogId,
							&MJ_TEXTL40,
							OFFSET(TEXTL40),
							MS_NONE
						} ;
static TEXTL40	d013d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
							  60,  50, 172,  66, 9,15, 8,
							MS_FRAMEL40,
							0,
							   0,   0,   0,   0,
							   0,   0,   0,   0,   0,
							      -1,   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
						} ;

/* textcommentId[1] */

static MMIPACKET d014 = {	&textcommentId[1],
							&title_dispdialogId,
							&MJ_TEXTL40,
							OFFSET(TEXTL40),
							MS_NONE
						} ;
static TEXTL40	d014d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
							  60,  68, 172,  84, 9,15, 8,
							MS_FRAMEL40,
							0,
							   0,   0,   0,   0,
							   0,   0,   0,   0,   0,
							      -1,   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
						} ;

/* textcommentId[2] */

static MMIPACKET d015 = {	&textcommentId[2],
							&title_dispdialogId,
							&MJ_TEXTL40,
							OFFSET(TEXTL40),
							MS_NONE
						} ;
static TEXTL40	d015d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
							   5, 101, 173, 120, 9,15, 8,
							MS_FRAMEL40,
							0,
							   0,   0,   0,   0,
							   0,   0,   0,   0,   0,
							      -1,   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
						} ;

/* textcommentId[3] */

static MMIPACKET d016 = {	&textcommentId[3],
							&title_dispdialogId,
							&MJ_TEXTL40,
							OFFSET(TEXTL40),
							MS_NONE
						} ;
static TEXTL40	d016d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
							   6, 138, 172, 158, 9,15, 8,
							MS_FRAMEL40,
							0,
							   0,   0,   0,   0,
							   0,   0,   0,   0,   0,
							      -1,   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
						} ;

/* textcommentId[4] */

static MMIPACKET d017 = {	&textcommentId[4],
							&title_dispdialogId,
							&MJ_TEXTL40,
							OFFSET(TEXTL40),
							MS_NONE
						} ;
static TEXTL40	d017d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
							  60, 162, 171, 180, 9,15, 8,
							MS_FRAMEL40,
							0,
							   0,   0,   0,   0,
							   0,   0,   0,   0,   0,
							      -1,   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
						} ;

/* textcommentId[5] */

static MMIPACKET d018 = {	&textcommentId[5],
							&title_dispdialogId,
							&MJ_TEXTL40,
							OFFSET(TEXTL40),
							MS_NONE
						} ;
static TEXTL40	d018d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
							  60, 204, 172, 223, 9,15, 8,
							MS_FRAMEL40,
							0,
							   0,   0,   0,   0,
							   0,   0,   0,   0,   0,
							      -1,   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
						} ;

/* textcommentId[6] */

static MMIPACKET d019 = {	&textcommentId[6],
							&title_dispdialogId,
							&MJ_TEXTL40,
							OFFSET(TEXTL40),
							MS_NONE
						} ;
static TEXTL40	d019d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
							  60, 228, 171, 246, 9,15, 8,
							MS_FRAMEL40,
							0,
							   0,   0,   0,   0,
							   0,   0,   0,   0,   0,
							      -1,   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
						} ;

/* title_messageId[9] */

static MMIPACKET d020 = {	&title_messageId[9],
							&title_dispdialogId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d020d = 	{	MS_LEFTL40 | MS_DSPONLYL40,
							  78,  34, 172,  47, 8, 7, 8,
							MS_NONEL40,
							NULL,
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* title_messageId[10] */

static MMIPACKET d021 = {	&title_messageId[10],
							&title_dispdialogId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d021d = 	{	MS_LEFTL40 | MS_DSPONLYL40,
							   7, 183,  53, 198, 8,15, 8,
							MS_NONEL40,
							"置き石",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* textcommentId[8] */

static MMIPACKET d022 = {	&textcommentId[8],
							&title_dispdialogId,
							&MJ_TEXTL40,
							OFFSET(TEXTL40),
							MS_NONE
						} ;
static TEXTL40	d022d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
							  61, 183, 172, 201, 9,15, 8,
							MS_FRAMEL40,
							0,
							   0,   0,   0,   0,
							   0,   0,   0,   0,   0,
							      -1,   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
						} ;

/* title_messageId[11] */

static MMIPACKET d023 = {	&title_messageId[11],
							&title_dispdialogId,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d023d = 	{	MS_LEFTL40 | MS_DSPONLYL40,
							   5, 252,  54, 267, 8,15, 8,
							MS_NONEL40,
							"アゲハマ                            ",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* textcommentId[9] */

static MMIPACKET d024 = {	&textcommentId[9],
							&title_dispdialogId,
							&MJ_TEXTL40,
							OFFSET(TEXTL40),
							MS_NONE
						} ;
static TEXTL40	d024d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
							  60, 250, 171, 268, 9,15, 8,
							MS_FRAMEL40,
							0,
							   0,   0,   0,   0,
							   0,   0,   0,   0,   0,
							      12,   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
						} ;

/* buttonId */

static MMIPACKET d025 = {	&buttonId,
							&backId,
							&MJ_BUTTONL40,
							OFFSET(BUTTONL40),
							MS_NONE
						} ;
static BUTTONL40	d025d = {	MS_BTRIGHTL40 | MS_BTLEFTL40 | MS_REPEATL40 | MS_EVMOSONL40 | MS_UNHLTL40,
							   0,  21, 639, 479, 0, 0, 0,
							MS_NONEL40,
							igo_oper,
							0x0000
						} ;

/* deskTopId */

static MMIPACKET d026 = {	&deskTopId,
							&backId,
							&MJ_DIALOGL40,
							OFFSET(DIALOGL40),
							MS_NONE
						} ;
static DIALOGL40	d026d = {	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
							   0,   0, 639,  20,15, 1,15,
							MS_FRAMEL40,
							NULL,   0,   0
						} ;

/* deskTopBtnId[1] */

static MMIPACKET d027 = {	&deskTopBtnId[1],
							&deskTopId,
							&MJ_ICONL40,
							OFFSET(ICONL40),
							MS_NONE
						} ;
static ICONL40	d027d = 	{	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
							 610,   0, 630,  19, 0, 1,15,
							MS_PANELL40,
							exitFunc,
							0x0000, 290
						} ;

/* menuBarId */

static MMIPACKET d028 = {	&menuBarId,
							&deskTopId,
							&MJ_MENUL40,
							OFFSET(MENUL40),
							MS_NONE
						} ;
static MENUL40	d028d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40 | MS_HORIL40,
							   1,   0, 250,  20,15, 8, 0,
							MS_NONEL40,
							NULL,   0
						} ;

/* mitemBarId[0] */

static MMIPACKET d029 = {	&mitemBarId[0],
							&menuBarId,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d029d = {	MS_EVMOSONL40 | MS_LEFTL40,
							   1,   0,  92,  18, 1, 1,15,
							MS_PANELL40,
							0,
							0x0000, 295,
							NULL,
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* menu0Id */

static MMIPACKET d030 = {	&menu0Id,
							&mitemBarId[0],
							&MJ_MENUL40,
							OFFSET(MENUL40),
							MS_NONE
						} ;
static MENUL40	d030d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40 | MS_SAVEL40,
							 326, 303, 486, 328, 0,15, 0,
							MS_SRECTL40 | MS_FRAMEL40,
							NULL,   0
						} ;

/* mitem0Id */

static MMIPACKET d031 = {	&mitem0Id,
							&menu0Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d031d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 326, 307, 480, 323, 8,15, 8,
							MS_NONEL40,
							showAboutFunc,
							0x0041,  -1,
							"プログラムについて...     ",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitemBarId[1] */

static MMIPACKET d032 = {	&mitemBarId[1],
							&menuBarId,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d032d = {	MS_EVMOSONL40 | MS_LEFTL40 | MS_SKEYL40,
							  93,   0, 184,  19, 8, 2,15,
							MS_PANELL40,
							   0,
							0x0000,  -1,
							"ファイル ",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* menu1Id */

static MMIPACKET d033 = {	&menu1Id,
							&mitemBarId[1],
							&MJ_MENUL40,
							OFFSET(MENUL40),
							MS_NONE
						} ;
static MENUL40	d033d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40 | MS_SAVEL40,
							 234,  47, 332, 279, 0,15, 0,
							MS_SRECTL40 | MS_FRAMEL40,
							NULL,   0
						} ;

/* mitem1Id[0] */

static MMIPACKET d034 = {	&mitem1Id[0],
							&menu1Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d034d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 235,  48, 320,  63, 8,15, 8,
							MS_NONEL40,
							igo_init,
							0x004e,  -1,
							"新規作成  ",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem1Id[1] */

static MMIPACKET d035 = {	&mitem1Id[1],
							&menu1Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d035d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 235,  65, 320,  80, 8,15, 8,
							MS_NONEL40,
							igo_read,
							0x004c,  -1,
							"読 込...",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem1Id[2] */

static MMIPACKET d036 = {	&mitem1Id[2],
							&menu1Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d036d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 235,  81, 321,  96, 8,15, 8,
							MS_NONEL40,
							igo_write,
							0x0053,  -1,
							"保 存",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem1Id[3] */

static MMIPACKET d037 = {	&mitem1Id[3],
							&menu1Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d037d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 236,  97, 328, 118, 8,15, 8,
							MS_NONEL40,
							igo_samewrite,
							0x0057,  -1,
							"同名保存",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem1Id[4] */

static MMIPACKET d038 = {	&mitem1Id[4],
							&menu1Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d038d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 236, 118, 327, 133, 8,15, 8,
							MS_NONEL40,
							igo_handy,
							0x0048,  -1,
							"置碁設定...",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem1Id[7] */

static MMIPACKET d039 = {	&mitem1Id[7],
							&menu1Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d039d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 239, 138, 325, 156, 8,15, 8,
							MS_NONEL40,
							igo_print,
							0x0000,  -1,
							"印刷...",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem1Id[8] */

static MMIPACKET d040 = {	&mitem1Id[8],
							&menu1Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d040d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 240, 174, 326, 192, 8,15, 8,
							MS_NONEL40,
							igo_line,
							0x0000,  -1,
							"路盤設定...",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem1Id[5] */

static MMIPACKET d041 = {	&mitem1Id[5],
							&menu1Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d041d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 242, 227, 328, 242, 0,15, 0,
							MS_NONEL40,
							   0,
							0x0000,  -1,
							NULL,
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem1Id[6] */

static MMIPACKET d042 = {	&mitem1Id[6],
							&menu1Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d042d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 238, 253, 324, 271, 8,15, 8,
							MS_NONEL40,
							exitFunc,
							0x0051,  -1,
							"Quit",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitemBarId[2] */

static MMIPACKET d043 = {	&mitemBarId[2],
							&menuBarId,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d043d = {	MS_EVMOSONL40 | MS_LEFTL40 | MS_SKEYL40,
							 185,   0, 276,  19, 8, 9,15,
							MS_PANELL40,
							   0,
							0x0000,  -1,
							" 編  集   ",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* menu2Id */

static MMIPACKET d044 = {	&menu2Id,
							&mitemBarId[2],
							&MJ_MENUL40,
							OFFSET(MENUL40),
							MS_NONE
						} ;
static MENUL40	d044d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40 | MS_SAVEL40,
							 356,  54, 477, 220, 0,15, 0,
							MS_SRECTL40 | MS_FRAMEL40,
							NULL,   0
						} ;

/* mitem2Id[0] */

static MMIPACKET d045 = {	&mitem2Id[0],
							&menu2Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d045d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 358,  81, 465, 104, 8,15, 8,
							MS_NONEL40,
							igo_title,
							0x0050,  -1,
							"対局記録...",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem2Id[1] */

static MMIPACKET d046 = {	&mitem2Id[1],
							&menu2Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d046d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 359, 106, 468, 129, 8,15, 8,
							MS_NONEL40,
							igo_comment,
							0x0043,  -1,
							"コメント...",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem2Id[2] */

static MMIPACKET d047 = {	&mitem2Id[2],
							&menu2Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d047d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 360, 132, 470, 153, 8,15, 8,
							MS_NONEL40,
							igo_chg_put,
							0x0056,  -1,
							"変化登録",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem2Id[3] */

static MMIPACKET d048 = {	&mitem2Id[3],
							&menu2Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d048d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 363, 156, 471, 182, 8,15, 8,
							MS_NONEL40,
							igo_chg_cancel,
							0x0042,  -1,
							"変化戻り    ",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem2Id[10] */

static MMIPACKET d049 = {	&mitem2Id[10],
							&menu2Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d049d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 361, 185, 468, 208, 8,15, 8,
							MS_NONEL40,
							igo_abandon,
							0x0049,  -1,
							"着手放棄",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitemBarId[3] */

static MMIPACKET d050 = {	&mitemBarId[3],
							&menuBarId,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d050d = {	MS_EVMOSONL40 | MS_LEFTL40 | MS_SKEYL40,
							 276,   0, 367,  19, 8, 9,15,
							MS_PANELL40,
							   0,
							0x0000,  -1,
							" 表  示 ",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* menu3Id */

static MMIPACKET d051 = {	&menu3Id,
							&mitemBarId[3],
							&MJ_MENUL40,
							OFFSET(MENUL40),
							MS_NONE
						} ;
static MENUL40	d051d = 	{	MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40 | MS_SAVEL40,
							 484,  57, 618, 256, 0,15, 0,
							MS_SRECTL40 | MS_FRAMEL40,
							NULL,   0
						} ;

/* mitem2Id[4] */

static MMIPACKET d052 = {	&mitem2Id[4],
							&menu3Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d052d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 485,  59, 609,  74, 8,15, 8,
							MS_NONEL40,
							igo_nummberdisp,
							0x0044,  -1,
							"手順表示",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem2Id[5] */

static MMIPACKET d053 = {	&mitem2Id[5],
							&menu3Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d053d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 485,  78, 610,  94, 8,15, 8,
							MS_NONEL40,
							igo_rebirthset,
							0x0000,  -1,
							"再生設定...  ",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem2Id[11] */

static MMIPACKET d054 = {	&mitem2Id[11],
							&menu3Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d054d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 491, 107, 616, 123, 8,15, 8,
							MS_NONEL40,
							igo_autorebirth,
							0x0052,  -1,
							"自動再生  ",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem2Id[12] */

static MMIPACKET d055 = {	&mitem2Id[12],
							&menu3Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d055d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 494, 127, 614, 151, 8,15, 8,
							MS_NONEL40,
							igo_judge,
							0x004a,  -1,
							"形勢判断... ",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem2Id[6] */

static MMIPACKET d056 = {	&mitem2Id[6],
							&menu3Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d056d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 495, 148, 615, 172, 8,15, 8,
							MS_NONEL40,
							igo_kaiten1,
							0x0046,  -1,
							"右1/4回転 ",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem2Id[7] */

static MMIPACKET d057 = {	&mitem2Id[7],
							&menu3Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d057d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 492, 174, 612, 198, 8,15, 8,
							MS_NONEL40,
							igo_kaiten2,
							0x0000,  -1,
							"半回転 ",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem2Id[8] */

static MMIPACKET d058 = {	&mitem2Id[8],
							&menu3Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d058d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 494, 203, 614, 221, 8,15, 8,
							MS_NONEL40,
							igo_kaiten3,
							0x0000,  -1,
							"左1/4回転 ",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* mitem2Id[9] */

static MMIPACKET d059 = {	&mitem2Id[9],
							&menu3Id,
							&MJ_MITEML40,
							OFFSET(MITEML40),
							MS_NONE
						} ;
static MITEML40	d059d = {	MS_EVMOSONL40 | MS_LEFTL40,
							 493, 223, 613, 247, 8,15, 8,
							MS_NONEL40,
							igo_hanten,
							0x0047,  -1,
							"反転 ",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0,
							   0
						} ;

/* deskTopBtnId[0] */

static MMIPACKET d060 = {	&deskTopBtnId[0],
							&backId,
							&MJ_ICONL40,
							OFFSET(ICONL40),
							MS_NONE
						} ;
static ICONL40	d060d = 	{	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
							 577,   0, 597,  19, 0, 1,15,
							MS_PANELL40,
							MMI_DspSkb,
							0x0000, 292
						} ;

