home *** CD-ROM | disk | FTP | other *** search
- {-- 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.
-