Category : C Source Code
Archive   : 3TCTGR.ZIP
Filename : WINDOW.H

 
Output of file : WINDOW.H contained in archive : 3TCTGR.ZIP

/* WINDOW.H - Definitions for WINDOW.INC developed for use with
* memory resident programs using Turbo C LARGE model
* Mark E Johnson 12/12/87
*/


void print(unsigned ,unsigned ,char *);
void dos_prt(char *);
void fast_write(unsigned , unsigned ,char *);
void peekbuff(int, int, void *, int);
void pokebuff(int, int, void *, int);
void gotoxy(unsigned ,unsigned );
int wherexy(unsigned *,unsigned *);
void d_page(void);
int win_save(int );
int set_color(int , int );
void clear_window(unsigned ,unsigned ,unsigned ,unsigned );
void box (int ,int ,int ,int ,int );
int what_mon(void);
void cls();
int cursor(int );
int get_key(char *,int *);


#define BLACK 0 /* THESE ARE FOR COLOR CARDS */
#define BLUE 1
#define GREEN 2
#define CYAN 3
#define RED 4
#define MAGENTA 5
#define BROWN 6
#define WHITE 7
#define L_BLUE 9 /* LIGHT-BLUE FOREGROUND ONLY */
#define L_GREEN 10 /* LIGHT-GREEN FOREGROUND ONLY */
#define YELLOW 14
#define IWHITE 15 /* INTENSE-WHITE FOREGROUND ONLY*/



#define UNDERLINE 1 /* THESE ARE FOR MONOCHROME CARDS */
#define NORMAL 7
#define HI_INTEN 15
#define REVERSE 112

#define TRUE 1
#define FALSE 0

unsigned int mon_type;
unsigned int page;
unsigned int attribute;
char wrt_meth = 'f';