aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-11 15:33:28 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-11 15:33:28 +0000
commitd4b7c51b76414905f5c447eb9e2c1f327e72c2a1 (patch)
tree6748354cbea522a417836ce11ee21cccc62e8cab /fm.h
parent[w3m-dev 03407] char GlobalKeymap -> unsigned char GlobalKeymap (diff)
downloadw3m-d4b7c51b76414905f5c447eb9e2c1f327e72c2a1.tar.gz
w3m-d4b7c51b76414905f5c447eb9e2c1f327e72c2a1.zip
[w3m-dev 03408] fix Bug#87472: MOUSE_SCROLL_LINE should be a run-time option
* fm.h (relative_wheel_scroll): added (fixed_wheel_scroll_count): added (relative_wheel_scroll_ratio): added * main.c (mouse_scroll_line): added (process_mouse): s/MOUSE_SCROLL_LINE/mouse_scroll_line()/ * menu.c (MOUSE_SCROLL_LINE): deleted * terms.h (MOUSE_SCROLL_LINE): deleted * rc.c (CMT_RELATIVE_WHEEL_SCROLL): added (CMT_RELATIVE_WHEEL_SCROLL_RATIO): added (CMT_FIXED_WHEEL_SCROLL_COUNT): added (wheelmode): added (params3): add relative_wheel_scroll, relative_wheel_scroll_ratio, fixed_wheel_scroll_count From: AIDA Shinra <aida-s@jcom.home.ne.jp>
Diffstat (limited to 'fm.h')
-rw-r--r--fm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fm.h b/fm.h
index cf70343..305a632 100644
--- a/fm.h
+++ b/fm.h
@@ -1,4 +1,4 @@
-/* $Id: fm.h,v 1.74 2002/11/11 15:22:39 ukai Exp $ */
+/* $Id: fm.h,v 1.75 2002/11/11 15:33:35 ukai Exp $ */
/*
* w3m: WWW wo Miru utility
*
@@ -964,6 +964,9 @@ global int rc_dir_is_tmp init(FALSE);
global int use_mouse init(TRUE);
extern int mouseActive;
global int reverse_mouse init(FALSE);
+global int relative_wheel_scroll init(FALSE);
+global int fixed_wheel_scroll_count init(5);
+global int relative_wheel_scroll_ratio init(30);
#endif /* USE_MOUSE */
#ifdef USE_COOKIE