terms.h (719B)
1 /* $Id$ */ 2 #ifndef TERMS_H 3 #define TERMS_H 4 5 extern int LINES, COLS; 6 #if defined(__CYGWIN__) 7 extern int LASTLINE; 8 #endif 9 10 #ifdef USE_MOUSE 11 /* Addition:mouse event */ 12 #define MOUSE_BTN1_DOWN 0 13 #define MOUSE_BTN2_DOWN 1 14 #define MOUSE_BTN3_DOWN 2 15 #define MOUSE_BTN4_DOWN_RXVT 3 16 #define MOUSE_BTN5_DOWN_RXVT 4 17 #define MOUSE_BTN4_DOWN_XTERM 64 18 #define MOUSE_BTN5_DOWN_XTERM 65 19 #define MOUSE_BTN_UP 3 20 #define MOUSE_BTN_RESET -1 21 #endif 22 23 #ifdef __CYGWIN__ 24 #if CYGWIN_VERSION_DLL_MAJOR < 1005 && defined(USE_MOUSE) 25 extern int cygwin_mouse_btn_swapped; 26 #endif 27 #ifdef SUPPORT_WIN9X_CONSOLE_MBCS 28 extern void enable_win9x_console_input(void); 29 extern void disable_win9x_console_input(void); 30 #endif 31 #endif 32 33 #endif /* not TERMS_H */