home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kyūkyoku!! X68000 Emulator
/
X68000Book.dat
/
mac
/
OLS
/
X68000
/
Ko-Window
/
kow142s.lzh
/
wsrv
/
sheet.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-12-09
|
2KB
|
59 lines
/*
* âVü[âgè╓Éö
*
* 1990.1.1
* CopyRight T.Kobayashi
*/
#ifndef AttrDefault
#define AttrDefault 9
#define AttrHighLight 4
#define AttrReverse 8
#define OptionXor 0x10
typedef enum {
OptionLine,
OptionBox,
OptionFill,
OptionShadow
}
SheetOption ;
#define ShadowUp 0
#define ShadowDown 1
typedef struct {
int h, v, hword ; /* æσé½é│ */
unsigned short *buf1 ; /* âoâbâtâ@é╓é╠â|âCâôâ^ */
unsigned short *buf2 ; /* âoâbâtâ@é╓é╠â|âCâôâ^ */
}
Sheet ;
#endif
#ifndef NULL
#define NULL (void*)0
#endif
#ifndef TRUE
#define FALSE 0
#define TRUE 1
#endif
/*
proto -e sheet.c > temp
*/
extern Sheet *SheetOpen( int, int );
extern void SheetClose( Sheet* );
extern void SheetClear( Sheet*, ClipClass*, int );
extern void SheetLine( Sheet*, ClipClass*, int, int, int, int, int, SheetOption );
extern void SheetPutPattern( Sheet*, ClipClass*, Sheet* );
extern void SheetCopy( Sheet*, ClipClass*, int, int, Sheet* );
extern void SheetMove( Sheet*, ClipClass*, int, int, ClipClass* );
extern void SheetScroll( Sheet*, ClipClass*, int, int );
extern void SheetSymbol( Sheet*, ClipClass*, int, int, char*, int, int );
/* by M.Tatsumi ( âUâïéQ ) , COR.*/
extern void SheetDot( Sheet*, ClipClass*, int, int, int );
extern void SheetCircle( Sheet*, ClipClass*, int, int, int, int, int, SheetOption );
#if 0
extern void SheetEllipse( Sheet*, ClipClass*, int, int, int, int, int, SheetOption );
extern void SheetTriangle( Sheet*, ClipClass*, int*, int, SheetOption );
extern void SheetPoly( Sheet*, ClipClass*, int, int*, int, SheetOption );
#endif