home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Inside Multimedia 1995 August
/
IMM0895.ISO01.iso
/
magazin
/
optix
/
disk1
/
optxppac.set
/
COLROTAT.OPT
< prev
next >
Wrap
Text File
|
1995-05-05
|
2KB
|
90 lines
def(i)
def(j)
procedure jalousie(xl,yo,xr,yu,col,verz)
locals(i,j,l)
setcolor(col)
for i:=0 to 5 do
for j:=yo to yu step 6 do
line(xl,j+i,xr,j+i,0)
for l:=0 to verz do
next(l)
next(j)
next(i)
return
procedure quattro(x,y,b,h,s)
locals(i,r)
b:=b/2
h:=h/2
for i:=0 to b-1 step s do
r:=i*(((h/b)*10)/10)
copywin(x+1 ,y+1,x+(b-1)-i,y+(h-1)-r)
loadwin(x,y,0,0)
copywin(x+b+i,y+1,x+b+i-1+(b-1)-i,y+(h-1)-r)
loadwin(x+b+1+i,y,0,0)
copywin(x+1,y+h+r,x+(b-1)-i,y+h+r-1+(h-1)-r)
loadwin(x,y+h+1+r,0,0)
copywin(x+b+i,y+h+r,x+b+i-1+(b-1)-i,y+h+r-1+(h-1)-r)
loadwin(x+b+1+i,y+h+1+r,0,0)
next(i)
return
begin
jalousie(0,0,xmax,ymax,10,2)
readfont(1,'hel15x29.fnt')
font(1)
textcolor(249)
textcofs(4)
for i:=1 to 120 do
setrgbcolor(63-i,0,0+i,i)
setcolor(i)
viewport(120-i,120-i,200+i,120+i)
rectangle
viewport(440-i,360-i,520+i,360+i)
rectangle
viewport(120-i,360-i,200+i,360+i)
rectangle
viewport(440-i,120-i,520+i,120+i)
rectangle
next(i)
pause(500)
gradation(1,120,0,63,0,63,0,0)
for i:=0 to 15 do
for j:=1 to 6 do
rotsubpal(j)
pause(3)
next(j)
next(i)
gradation(1,120,63,0,0,0,63,0)
for i:=0 to 15 do
for j:=1 to 6 do
rotsubpal(j)
pause(3)
next(j)
next(i)
gradation(1,120,0,0,0,0,63,63)
for i:=0 to 15 do
for j:=1 to 6 do
rotsubpal(j)
pause(3)
next(j)
next(i)
quattro(0,120,320,240,5)
quattro(320,120,320,240,5)
quattro(160,0,320,240,5)
quattro(160,240,320,240,5)
pause(5000)
end