home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
pascal
/
library
/
dos
/
tegl_ii
/
intro
/
autorot.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-04-04
|
505b
|
31 lines
{-- Program to illustrate auto rotation of frames by using setautorotate. }
{-- Whichever frame is clicked on will move to the top. }
Uses
TEGLIntr,
TEGLUnit,
TEGLMain;
VAR fs : ImageStkPtr;
BEGIN
EasyTEGL;
EasyOut;
{-- create the first frame }
PushImage(1,1,100,100);
ShadowBox(1,1,100,100);
{-- then create the second frame }
PushImage(50,50,150,150);
ShadowBox(50,50,150,150);
SetAutoRotate(True);
TEGLSupervisor;
END.