home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
580a.lha
/
HDFView_v3.01
/
source.LZH
/
source
/
src
/
scroll.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-11-19
|
354 b
|
24 lines
#include <exec/types.h>
#include <intuition/intuition.h>
#include <proto/intuition.h>
#include <proto/exec.h>
VOID scrollUp(struct Screen *s, int top)
{
int pos;
pos=s->TopEdge;
MoveScreen(s,0,top-pos);
}
VOID scrollDown(struct Screen *s, int top)
{
int pos;
pos=s->TopEdge;
MoveScreen(s,0,top-pos);
}