home *** CD-ROM | disk | FTP | other *** search
- /* ------------------------------------------------------ */
- /* SCREEN.H */
- /* ------------------------------------------------------ */
-
- /*
- #if !defined (__TURBOC__)
- # define far
- #endif
- */
-
- /* Bildschirm-Segment Monochrom ------------------------- */
-
- #define MONOBASE 0xb000
-
- /* Bildschirm-Segment Color ----------------------------- */
-
- #define COLORBASE 0xb800
-
- /* Mono-Attribute --------------------------------------- */
-
- #define ATT_NORMAL 7
- #define ATT_INVERS 112
- #define ATT_SCHWARZ 0
- #define ATT_UNTERSTRICHEN 1
- #define ATT_HELL 8
- #define ATT_BLINK 128
-
- /* Farb-Attribute --------------------------------------- */
-
- #define ATT_BLAU_V 1
- #define ATT_GRUEN_V 2
- #define ATT_ROT_V 4
- #define ATT_INT_V 8
- #define ATT_BLAU_H 16
- #define ATT_GRUEN_H 32
- #define ATT_ROT_H 64
- #define ATT_INT_H 128
-
- /* maximale Fensterzahl und "kein-Fenster-Kennzeichen" -- */
-
- #define MAX_WINDOWS 10
- #define NOWIN -1
-
- /* hier an Monitor anpassen ! --------------------------- */
- #define SCREEN_SEGMENT COLORBASE /* ...oder MONOBASE */
-
-
- #define SCREEN_OFFSET(x,y) ((80*(y-1))+((x-1)))
-
- /* Funktions-Prototypen */
- void set_attribut(unsigned char);
- void make_relativ(int *, int *);
- void set_cursor(int, int);
- void cursor(int);
- void printxy(int, int, unsigned char);
- void printsxy(int, int, char *);
- unsigned char readxy(int, int);
- void readsxy(int, int, int, char *);
- void clrscr(int, int, int, int);
- void open_window(int, int, int, int, int);
- void close_window(void);
- /* ------------------------------------------------------ */
- /* Ende von SCREEN.H */