home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Phoenix Heaven Sunny 2
/
APPARE2.BIN
/
oh_towns
/
tetujin
/
src.lzh
/
IGRERR.C
< prev
next >
Wrap
C/C++ Source or Header
|
1994-11-16
|
2KB
|
102 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int errorId ;
extern int errorOKBtnId ;
extern int errorOKFunc() ;
extern int errorIconId ;
extern int errormessage[2] ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init 用データ */
/* ヘッダ */
MMIINIT initDataIGRERR = { "MmiInit", 5, 0 } ;
/* errorId */
static MMIPACKET d001 = { &errorId,
NULL,
&MJ_ALERTL40,
OFFSET(ALERTL40),
MS_NONE
} ;
static ALERTL40 d001d = { MS_BTLEFTL40 | MS_EVMOVEL40 | MS_EVMOSONL40 | MS_EVKEYONL40,
102, 161, 410, 320, 8, 4, 0,
MS_PANELL40 | MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0,
0, 0, 0, 0
} ;
/* errorOKBtnId */
static MMIPACKET d002 = { &errorOKBtnId,
&errorId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d002d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
220, 278, 293, 303,12, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
errorOKFunc,
0x8012
} ;
/* errorIconId */
static MMIPACKET d003 = { &errorIconId,
&errorId,
&MJ_ICONL40,
OFFSET(ICONL40),
MS_NONE
} ;
static ICONL40 d003d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_CENTERL40 | MS_DSPONLYL40,
114, 171, 151, 206, 8, 4, 8,
MS_PANELL40 | MS_DFRAMEL40 | MS_FRAMEL40,
0,
0x0000, 25
} ;
/* errormessage[1] */
static MMIPACKET d004 = { &errormessage[1],
&errorId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d004d = { MS_CENTERL40 | MS_DSPONLYL40,
222, 280, 290, 302, 0,15, 8,
MS_NONEL40,
"確 認",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* errormessage[0] */
static MMIPACKET d005 = { &errormessage[0],
&errorId,
&MJ_MSGL40,
0,
MS_NONE
} ;
static MSGL40 d005d = { MS_CENTERL40 | MS_DSPONLYL40,
106, 212, 406, 235, 0,15,10,
MS_NONEL40,
"エラーが発生しました。",
2, 16, 16,
MS_BOLDL40,
0, 0
} ;