home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
msdos
/
c
/
jazlib.arc
/
JZCPYWND.C
< prev
next >
Wrap
Text File
|
1986-05-17
|
845b
|
24 lines
/*
┌────────────────────────────────────────────────────────────────────────────┐
│jzcpywnd.c │
│This routine copies a window into another window. This us useful in │
│situations where you have written information to a window and would like │
│to save the text in the window in order to move it to another location. │
│ │
│ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 │
└────────────────────────────────────────────────────────────────────────────┘
*/
#include <jaz.h>
#include <jzscreen.h>
extern THEADER g_header;
TWINDOW *jzcpywnd(fwindow , fwindnum)
TWINDOW *fwindow; /* pointer to window to copy */
int fwindnum; /* number to assign to this window */
{
return(jzappend(&g_header,0,fwindow->row1,fwindow->col1,
fwindow->row2,fwindow->col2,fwindnum));
}