[w3m-dev 03452] image map
* display.c (displayBuffer): use getCurrentMapLabel() * fm.h (MapArea): delete ifdef MENU_MAP (image_map_list): added * main.c (followA): don't call retrieveCurrentImg() ifdef USE_IMAGE use retrieveCurrentMap() ifndef USE_IMAGE (_followForm): indent (drawAnchorCursor0): add AnchorList (drawAnchorCuror): pass AnchorList to drawAnchorCursor0 (follow_map): follow_map_panel * map.c (searchMapList): added (nearestMapArea): n, min default value to -1 (searchMapArea): added (getCurrentMapLabel): added (getMapXY): moved (retrieveCurrentMap): added (follow_map_menu): parsed_tagarg -> name rewrite to search map list/area (follow_map_panel): parsed_tagarg -> name rewrite to search map list/area (newMapArea): delete ifdef MENU_MAP (append_map_info): added (page_info_panel): append_map_info * proto.h (follow_map_menu): parsed_tagarg -> name (follow_map_panel): parsed_tagarg -> name (getCurrentMapLabel): added (retrieveCurrentMap): added * rc.c (CMT_IMAGE_MAP_LIST): added (image_map_list): added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
5
fm.h
5
fm.h
@@ -1,4 +1,4 @@
|
||||
/* $Id: fm.h,v 1.83 2002/11/18 17:26:06 ukai Exp $ */
|
||||
/* $Id: fm.h,v 1.84 2002/11/19 17:40:32 ukai Exp $ */
|
||||
/*
|
||||
* w3m: WWW wo Miru utility
|
||||
*
|
||||
@@ -290,7 +290,6 @@ typedef struct _MapArea {
|
||||
char *url;
|
||||
char *target;
|
||||
char *alt;
|
||||
#ifdef MENU_MAP
|
||||
#ifdef USE_IMAGE
|
||||
char shape;
|
||||
short *coords;
|
||||
@@ -298,7 +297,6 @@ typedef struct _MapArea {
|
||||
short center_x;
|
||||
short center_y;
|
||||
#endif
|
||||
#endif
|
||||
} MapArea;
|
||||
|
||||
typedef struct _MapList {
|
||||
@@ -878,6 +876,7 @@ global int displayImage init(TRUE);
|
||||
global int autoImage init(TRUE);
|
||||
global int useExtImageViewer init(TRUE);
|
||||
global int maxLoadImage init(4);
|
||||
global int image_map_list init(TRUE);
|
||||
#else
|
||||
global int displayImage init(FALSE); /* XXX: emacs-w3m use display_image=off */
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user