diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2005-08-14 23:56:15 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2005-08-14 23:56:15 +0000 |
commit | 58d9b45e819cc2c1b9909f503cb6e9901b8c6d29 (patch) | |
tree | 1fab459d25d1053204e93da2d7b3b9580b721fde /render/imagemap.h | |
parent | d3a5e7251db1e09846affde32f3a202f762d2da7 (diff) | |
download | netsurf-58d9b45e819cc2c1b9909f503cb6e9901b8c6d29.tar.gz netsurf-58d9b45e819cc2c1b9909f503cb6e9901b8c6d29.tar.bz2 |
[project @ 2005-08-14 23:56:15 by jmb]
Move imagemap.[ch] into render/
Make imagemap URL extraction use box_extract_link
svn path=/import/netsurf/; revision=1847
Diffstat (limited to 'render/imagemap.h')
-rw-r--r-- | render/imagemap.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/render/imagemap.h b/render/imagemap.h new file mode 100644 index 000000000..35523c9a5 --- /dev/null +++ b/render/imagemap.h @@ -0,0 +1,21 @@ +/* + * This file is part of NetSurf, http://netsurf.sourceforge.net/ + * Licensed under the GNU General Public License, + * http://www.opensource.org/licenses/gpl-license + * Copyright 2004 John M Bell <jmb202@ecs.soton.ac.uk> + */ + +#ifndef _NETSURF_RENDER_IMAGEMAP_H_ +#define _NETSURF_RENDER_IMAGEMAP_H_ + +#include "libxml/HTMLtree.h" + +struct content; + +void imagemap_destroy(struct content *c); +void imagemap_dump(struct content *c); +bool imagemap_extract(xmlNode *node, struct content *c); +char *imagemap_get(struct content *c, const char *key, unsigned long x, + unsigned long y, unsigned long click_x, unsigned long click_y); + +#endif |