From 0ab7c1236a1061df6a6e0cf57b136e641210dcb1 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Mon, 25 Nov 2002 16:57:16 +0000 Subject: [w3m-dev 03478] mouse action configuration * display.c (displayBuffer): mouse_menu -> mouse_action.menu_str mouse_action.lastline_str (redrawNLine): mouse_menu -> mouse_action.menu_str * fm.h (MouseMenuMap): deleted (MouseActionMap): added (MouseAction): added (mouse_action): added * func.c (default_mouse_action): added (setMouseAction0): added (setMouseAction1): added (setMouseAction2): added (initMouseMenu): deleted (initMouseAction): added * funcname.tab (CLOSE_TAB_MOUSE): added (MENU_MOUSE): added (MOVE_MOUSE): added (TAB_MOUSE): added * main.c (main): initMouseMenu() -> initMouseAction() mouse_menu -> mouse_action (posTab): mouse_menu -> mouse_action check y > LastTab->y (mouse_menu_action): deleted (do_mouse_action): added (process_mouse): mouse_menu -> mouse_action do_mouse_action() (movMs): added (menuMs): added (tabMs): added (closeTMs): added (reinit): initMouseMenu() -> initMouseAction() resource: MOUSE_MENU -> MOUSE (calcTabPos): mouse_menu -> mouse_action * menu.c (mainMn): mouse_menu -> mouse_action (selMn): mouse_menu -> mouse_action (tabMn): mouse_menu -> mouse_action (initMenu): add SelectTag to w3mMenuList * proto.h (movMs): added (menuMs): added (tabMs): added (closeTMs): added (initMouseMenu): deleted (initMouseAction): added * rc.c (sync_with_option): initMouseMenu() -> initMouseAction() * doc/README.func (CLOSE_TAB_MOUSE): added (MENU_MOUSE): added (MOVE_MOUSE): added (TAB_MOUSE): added * doc-jp/README.func (CLOSE_TAB_MOUSE): added (MENU_MOUSE): added (MOVE_MOUSE): added (TAB_MOUSE): added From: Hironori SAKAMOTO --- proto.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'proto.h') diff --git a/proto.h b/proto.h index 8403329..2f7e994 100644 --- a/proto.h +++ b/proto.h @@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.61 2002/11/24 16:02:22 ukai Exp $ */ +/* $Id: proto.h,v 1.62 2002/11/25 16:57:17 ukai Exp $ */ /* * This file was automatically generated by version 1.7 of cextract. * Manual editing not recommended. @@ -607,9 +607,21 @@ extern void mouse_end(void); extern void mouse_active(void); extern void mouse_inactive(void); extern void msToggle(void); +extern void movMs(void); +#ifdef USE_MENU +extern void menuMs(void); +#else +#define menuMs nulcmd +#endif +extern void tabMs(void); +extern void closeTMs(void); #else /* not USE_MOUSE */ #define mouse nulcmd #define msToggle nulcmd +#define movMs nulcmd +#define menuMs nulcmd +#define tabMs nulcmd +#define closeTMs nulcmd #endif /* not USE_MOUSE */ #ifdef USE_IMAGE @@ -631,7 +643,7 @@ extern char *getKeyData(int key); extern char *getWord(char **str); extern char *getQWord(char **str); #ifdef USE_MOUSE -extern void initMouseMenu(void); +extern void initMouseAction(void); #endif #ifdef USE_MENU -- cgit v1.2.3