home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kyūkyoku!! X68000 Emulator
/
X68000Book.dat
/
mac
/
OLS
/
X68000
/
Ko-Window
/
kow142s.lzh
/
corlib
/
MgButton.h
< prev
next >
Wrap
Text File
|
1994-05-04
|
1KB
|
67 lines
/* Copyright 1992 H.Ogasawara (COR.) */
/* MenuButton é≡Æ╟ë┴ 1994 ébé`éa */
/* TouchButton é≡Æ╟ë┴ 1994 ébé`éa */
#define PushButton 0
#define PushButtonStr 1
#define PushButtonSht 2
#define ToggleButton 3
#define MenuButton 4
#define TouchButton 5
typedef struct mb {
int x1, y1, x2, y2;
struct mb *next;
int type;
int ret;
} MgButton;
typedef struct mbs {
int x1, y1, x2, y2;
struct mb *next;
int type;
int ret;
char *str;
short attr;
short font;
short h;
} MgButtonStr;
typedef struct mbt {
int x1, y1, x2, y2;
struct mb *next;
int type;
int ret;
Sheet *shon, *shoff;
} MgButtonSht;
typedef struct tbs {
int x1, y1, x2, y2;
struct mb *next;
int type;
int ret;
int *sw;
} MgButtonTgl;
typedef struct mmb {
int x1, y1, x2, y2;
struct mb *next;
int type;
int ret;
int (*exec)();
int opt;
#if 0
char **item; /* â|âbâvâAâbâvâüâjâàü[è╓ÉöùpæIæ≡ìÇû┌ */
int items; /* æIæ≡ìÇû┌Éö */
int font; /* ò╢ÄÜâtâHâôâg */
#endif
} MgButtonMenu;
typedef struct tcb {
int x1, y1, x2, y2;
struct mb *next;
int type;
int ret;
} MgButtonTouch;