home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kyūkyoku!! X68000 Emulator
/
X68000Book.dat
/
mac
/
OLS
/
X68000
/
Ko-Window
/
kow142s.lzh
/
wsrv
/
scroll.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-11-25
|
692b
|
32 lines
#define ScrollType 3
#ifndef DirectionX
#define DirectionX 1
#define DirectionY 2
#endif
typedef struct {
int id, (*event)();
int dir ;
int maxh, maxv ;
SliderClass xslider, yslider ;
int xstep, ystep ;
}
ScrollPart ;
typedef struct {
ClipPart clip ;
WindowPart window ;
ScrollPart scroll ;
}
ScrollClass ;
/*
proto -e scroll.c > temp
*/
extern void ScrollSet( ScrollClass*, int, int, int, int, WindowClass*, int, int, int, int, int, int, int(*)() );
extern void ScrollResize( ScrollClass*, int, int, int, int );
extern void ScrollScroll( ScrollClass*, int, int );
extern int ScrollEvent( ScrollClass*, EventInfo* );