home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
C
/
CDOS10
/
SCRFCTS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-07-07
|
2KB
|
56 lines
#if !defined (SCRFCTS) /* Prevents multiple declarations errors */
#define SCRFCTS
/*----- Library Header Files ----------------------------------------------*/
#include <conio.h>
/*----- Type Definitions --------------------------------------------------*/
struct cur_info
{
unsigned char attribute ; /* Text attribute */
unsigned char curx ; /* X coordinate in current window */
unsigned char cury ; /* Y coordinate in current window */
unsigned int curtype ; /* Cursor shape */
} ;
/*----- Prototype ---------------------------------------------------------*/
void far scr_vsave /* Save all video informations except cursor */
( struct text_info huge *ti, /* Ptr to a text_info struct */
char huge*huge *savedscr /* Ptr to ptr to screen's save area */
) ;
/*----- Prototype ---------------------------------------------------------*/
void far scr_vrestore /* Restore all video informations except cursor */
( struct text_info huge *ti, /* Ptr to a text_info struct */
char huge*huge *savedscr /* Ptr to ptr to screen's save area */
) ;
/*----- Prototype ---------------------------------------------------------*/
void far scr_csave /* Save all cursor attributes */
( struct cur_info huge *ci ) ; /* Ptr to a cur_info struct */
/*----- Prototype ---------------------------------------------------------*/
void far scr_crestore /* Restore all cursor attributes */
( struct cur_info huge *ci ) ; /* Ptr to a cur_info struct */
/*----- End Header File ---------------------------------------------------*/
#endif