home *** CD-ROM | disk | FTP | other *** search
- #include <jzscreen.h>
- #include <jaz.h>
-
- extern TSTKHEAD GSTKHEAD;
- extern THEADER GWNDHEAD;
- extern int GNUM;
-
- jzpshscr()
- {
- TWINDOW *wptr; /* work window pointer */
-
- wptr = jzappend(&GWNDHEAD,0,0,0,25,80,GNUM++); /* save current screen */
-
- jzpush(&GSTKHEAD,&wptr,sizeof(TWINDOW *)); /* save pointer address */
-
- }
-
- jzpopscr()
- {
-
- TWINDOW *wptr;
-
- wptr = (TWINDOW *) 0; /* initialize the address */
-
- jzpop(&GSTKHEAD,&wptr,0); /* restore pointer address */
-
- if (wptr) {
- jzrstwnd(wptr); /* restore window */
- jzclswnd(wptr->number); /* delete window from list */
- }
- }
-