3 /* Include file for definitions pertaining to Wine's text-console
14 typedef struct CONSOLE_DRIVER
18 void (*write
)(char, int, int, int);
19 void (*moveCursor
)(char, char);
20 void (*getCursorPosition
)(char *, char *);
21 void (*getCharacterAtCursor
)(char *, int *, int *, int *);
22 void (*clearScreen
)();
24 /* Keyboard Functions */
25 int (*checkForKeystroke
)(char *, char *);
26 void (*getKeystroke
)(char *, char *);
28 /* Accellerator Functions (Screen) */
29 void (*clearWindow
)(char, char, char, char, int, int);
30 void (*scrollUpWindow
)(char, char, char, char, char, int, int);
31 void (*scrollDownWindow
)(char, char, char, char, char, int, int);
33 /* Accellerator Functions (Keyboard) */
34 char (*getCharacter
)();
46 CONSOLE_device driver
; /* Global driver struct */
51 void CONSOLE_Write(char out
, int fg_color
, int bg_color
, int attribute
);
52 void CONSOLE_MoveCursor(char row
, char col
);
53 void CONSOLE_ClearWindow(char, char, char, char, int, int);
54 void CONSOLE_ScrollUpWindow(char, char, char, char, char, int, int);
55 void CONSOLE_ScrollDownWindow(char, char, char, char, char, int, int);
56 int CONSOLE_CheckForKeystroke(char *, char*);
57 void CONSOLE_GetKeystroke(char *, char *);
58 void CONSOLE_GetCursorPosition(char *, char *);
59 void CONSOLE_GetCharacterAtCursor(char *, int *, int *, int *);
60 void CONSOLE_Refresh();
61 void CONSOLE_SetRefresh(int);
62 int CONSOLE_GetRefresh();
63 void CONSOLE_ClearScreen();
64 char CONSOLE_GetCharacter();
68 void GENERIC_ClearWindow(char, char, char, char, int, int);
69 void GENERIC_ScrollUpWindow(char, char, char, char, char, int, int);
70 void GENERIC_ScrollDownWindow(char, char, char, char, char, int, int);
71 char GENERIC_GetCharacter();
73 /* TTY specific defines */
74 void TTY_Write(char out
, int fg_color
, int bg_color
, int attribute
);
76 void TTY_GetKeystroke(char *, char *);
81 void NCURSES_Write(char out
, int fg_color
, int bg_color
, int attribute
);
85 int NCURSES_CheckForKeystroke(char *, char *);
86 void NCURSES_GetKeystroke(char *, char *);
87 void NCURSES_MoveCursor(char ,char);
88 void NCURSES_GetCursorPosition(char *, char *);
89 void NCURSES_GetCharacterAtCursor(char *, int *, int *, int *);
90 void NCURSES_Refresh();
91 void NCURSES_ClearScreen();
93 #endif /* WINE_NCURSES */
95 /* Xterm specific defines */
100 #endif /* CONSOLE_H */