diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-22 15:02:17 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-22 15:02:17 +0000 |
commit | 0bcbbfbe11381ed4ff47d0ad4ff7b8d69fb8637e (patch) | |
tree | 3cbd74bd183989e57c61d1dd6e7b8ffb05b73c39 /terms.h | |
parent | [w3m-dev 02503] (diff) | |
download | w3m-0bcbbfbe11381ed4ff47d0ad4ff7b8d69fb8637e.tar.gz w3m-0bcbbfbe11381ed4ff47d0ad4ff7b8d69fb8637e.zip |
[w3m-dev 02509]
cygwin mouse support
Diffstat (limited to '')
-rw-r--r-- | terms.h | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: terms.h,v 1.3 2001/11/20 17:49:23 ukai Exp $ */ +/* $Id: terms.h,v 1.4 2001/11/22 15:02:17 ukai Exp $ */ #ifndef TERMS_H #define TERMS_H @@ -26,4 +26,18 @@ extern int LINES, COLS; #define CODE_JIS(x) ((x)==CODE_JIS_n||(x)==CODE_JIS_m||(x)==CODE_JIS_N||(x)==CODE_JIS_j||(x)==CODE_JIS_J) +#ifdef USE_MOUSE +/* Addition:mouse event */ +#define MOUSE_BTN1_DOWN 0 +#define MOUSE_BTN2_DOWN 1 +#define MOUSE_BTN3_DOWN 2 +#define MOUSE_BTN4_DOWN_RXVT 3 +#define MOUSE_BTN5_DOWN_RXVT 4 +#define MOUSE_BTN4_DOWN_XTERM 64 +#define MOUSE_BTN5_DOWN_XTERM 65 +#define MOUSE_BTN_UP 3 +#define MOUSE_BTN_RESET -1 +#define MOUSE_SCROLL_LINE 5 +#endif + #endif /* not TERMS_H */ |