#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>

extern int	aboutALT ;
extern int	aboutDBTNfrm ;
extern int	aboutMSG[8] ;
extern int	aboutDBTNok ;
extern int	aboutDBTNokFunc() ;

#define ALIGN	4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)

/*	MMI_init 用データ	*/

/*	ヘッダ	*/

MMIINIT	initDataABOUT = { "MmiInit",  12, 0 } ;

/* aboutALT */

static MMIPACKET d001 = {	&aboutALT,
							NULL,
							&MJ_ALERTL40,
							OFFSET(ALERTL40),
							MS_NONE
						} ;
static ALERTL40	d001d = {	MS_BTLEFTL40 | MS_EVMOVEL40 | MS_EVMOSONL40 | MS_EVKEYONL40,
							  29,  93, 296, 285, 0, 4, 0,
							MS_UFRAMEL40 | MS_FRAMEL40,
							NULL, 500,   0,
							   0,   0,   0,   0
						} ;

/* aboutDBTNfrm */

static MMIPACKET d002 = {	&aboutDBTNfrm,
							&aboutALT,
							&MJ_DBUTTONL40,
							OFFSET(DBUTTONL40),
							MS_NONE
						} ;
static DBUTTONL40	d002d = {	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_DSPONLYL40,
							  32,  96, 293, 282, 0, 6, 8,
							MS_ALERTL40 | MS_DFRAMEL40 | MS_FRAMEL40,
							0,
							0x0000
						} ;

/* NULL */

static MMIPACKET d003 = {	NULL,
							&aboutALT,
							&MJ_DBUTTONL40,
							OFFSET(DBUTTONL40),
							MS_NONE
						} ;
static DBUTTONL40	d003d = {	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_DSPONLYL40,
							  40, 150, 286, 206, 8,12, 8,
							MS_DFRAMEL40 | MS_FRAMEL40,
							0,
							0x0000
						} ;

/* aboutMSG[0] */

static MMIPACKET d004 = {	&aboutMSG[0],
							&aboutALT,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d004d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							  83, 111, 242, 130, 0,15, 8,
							MS_NONEL40,
							"ＡＲＴｅｍiｓ",
							   0,  16,  16,
							MS_BOLDL40,
							  -4,   0
						} ;

/* aboutMSG[1] */

static MMIPACKET d005 = {	&aboutMSG[1],
							&aboutALT,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d005d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							  55, 187, 270, 206, 0,15,15,
							MS_NONEL40,
							"by Matsuuchi Ryosuke 1993-1995",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* aboutMSG[2] */

static MMIPACKET d006 = {	&aboutMSG[2],
							&aboutALT,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d006d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							  38, 151, 287, 166, 0,15,15,
							MS_NONEL40,
							"Fullcolor / 32Kcolors Paint Tool",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* aboutMSG[3] */

static MMIPACKET d007 = {	&aboutMSG[3],
							&aboutALT,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d007d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							 123, 129, 202, 144, 0,15, 8,
							MS_NONEL40,
							"version β2.2",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* aboutDBTNok */

static MMIPACKET d008 = {	&aboutDBTNok,
							&aboutALT,
							&MJ_DBUTTONL40,
							OFFSET(DBUTTONL40),
							MS_NONE
						} ;
static DBUTTONL40	d008d = {	MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
							 123, 252, 202, 271, 8, 6, 8,
							MS_UFRAMEL40 | MS_FRAMEL40,
							aboutDBTNokFunc,
							0x0000
						} ;

/* aboutMSG[4] */

static MMIPACKET d009 = {	&aboutMSG[4],
							&aboutALT,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d009d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							 141, 255, 184, 268, 0,15, 8,
							MS_NONEL40,
							"確認",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* aboutMSG[5] */

static MMIPACKET d010 = {	&aboutMSG[5],
							&aboutALT,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d010d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							  37, 166, 286, 181, 0,15,15,
							MS_NONEL40,
							"for FUJITSU FM-TOWNS series",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* aboutMSG[6] */

static MMIPACKET d011 = {	&aboutMSG[6],
							&aboutALT,
							&MJ_MSGL40,
							OFFSET(MSGL40),
							MS_NONE
						} ;
static MSGL40	d011d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							  55, 210, 270, 229, 0, 4, 8,
							MS_NONEL40,
							"Free Memory: 0000K",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

/* aboutMSG[7] */

static MMIPACKET d012 = {	&aboutMSG[7],
							&aboutALT,
							&MJ_MSGL40,
							0,
							MS_NONE
						} ;
static MSGL40	d012d = 	{	MS_CENTERL40 | MS_DSPONLYL40,
							  39, 228, 286, 247, 0, 4, 8,
							MS_NONEL40,
							"現在の画面: 32K, 512x480",
							   1,  12,  12,
							MS_NONEL40,
							   0,   0
						} ;

