home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kyūkyoku!! X68000 Emulator
/
X68000Book.dat
/
mac
/
OLS
/
X68000
/
Ko-Window
/
kow142s.lzh
/
corlib
/
title.h
< prev
next >
Wrap
Text File
|
1991-08-01
|
1KB
|
88 lines
/* corlib */
/* 1991 żè}î┤öÄöV */
/* from clip.h */
typedef struct {
int x1,
y1,
x2,
y2;
} ClipPart;
typedef struct {
ClipPart clip;
} ClipClass;
/* from window.h */
typedef struct {
int type;
int check;
int client;
void *clientp;
int ownerid;
int attr;
int eventattr;
ClipClass curclip;
int hx,
hy;
void *parent;
void *last,
*next;
void *childtop,
*childbottom;
int id;
int (*event)();
} WindowPart;
typedef struct {
ClipPart clip;
WindowPart window;
} WindowClass;
/* from simple.h */
#define SimpleType 1
typedef struct {
int id,
(*event)();
} SimplePart;
typedef struct {
ClipPart clip;
WindowPart window;
SimplePart simple;
} SimpleClass;
/* from title.h */
#define TitleType 2
#define MAX_LABEL_LEN 31
#define Close 1
#define Push 2
#define Icon 4
#define Resize 8
#define Zoom 16
typedef struct {
int id,
(*event)();
int button;
unsigned char label[MAX_LABEL_LEN+1];
ClipClass close;
ClipClass push;
ClipClass icon;
ClipClass resize;
ClipClass zoom;
} TitlePart;
typedef struct {
ClipPart clip;
WindowPart window;
SimplePart simple;
TitlePart title;
} TitleClass;