home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
progpas
/
tegl6b.arj
/
INTROPAK.EXE
/
lha
/
DROP.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-04-05
|
734b
|
36 lines
{-- This program show how an image that is covered can still be }
{-- disposed of without affecting the image overlapping it. }
Uses
TEGLIntr,
TEGLUnit,
TEGLMain;
VAR fs : ImageStkPtr;
BEGIN
EasyTEGL;
EasyOut;
PushImage(1,1,100,100);
ShadowBox(1,1,100,100);
fs := StackPtr;
PushImage(50,50,150,150);
ShadowBox(50,50,150,150);
WHILE Mouse_Buttons = 0 DO;
{-- the window manager will restore the covered areas of the screen }
{-- and in the case of the area that is overlapped the background that }
{-- has been saved by that frame is updated with the partial contents }
{-- of the disposed image. }
DropStackImage(fs);
TeglSupervisor;
END.