home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
progs
/
sc
/
curs.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-07-19
|
857b
|
52 lines
#ifdef OS2
/* Remote/Local keyboard flag, row column stuff */
#ifdef CURS_C
int fRemote = 0;
int PCrows = 24;
#else
extern int fRemote;
extern int PCrows;
#endif
/* Prototypes for the OS/2 version */
VOID move(int y, int x);
VOID clrtoeol(void);
VOID printw(char *fmt, ... );
VOID vprintw(char *fmt, void *args);
VOID clrtobot(void);
VOID standout(void);
VOID standend(void);
VOID addstr(char *s);
VOID initscr(void);
VOID clear(void);
VOID endwin(void);
char inch(void);
VOID touchwin(void);
VOID refresh(void);
int ttgetc(void);
VOID ttputc(int c);
VOID ttputs(char *s);
VOID ttflush(void);
#endif
/* Define ROWS and COLS */
#ifdef MCH_AMIGA
# define COLS 79
# define ROWS 23
#else
# ifndef OS2
# define COLS 80
# define ROWS 24
# else
# define COLS 80
# define ROWS PCrows
# endif
#endif