Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * Copyright 2004 John M Bell <jmb202@ecs.soton.ac.uk>
  3.  *
  4.  * This file is part of NetSurf, http://www.netsurf-browser.org/
  5.  *
  6.  * NetSurf is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; version 2 of the License.
  9.  *
  10.  * NetSurf is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  * GNU General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU General Public License
  16.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  17.  */
  18.  
  19. #ifndef _NETSURF_RENDER_IMAGEMAP_H_
  20. #define _NETSURF_RENDER_IMAGEMAP_H_
  21.  
  22. #include <dom/dom.h>
  23.  
  24. #include "utils/nsurl.h"
  25.  
  26. struct html_content;
  27. struct hlcache_handle;
  28.  
  29. void imagemap_destroy(struct html_content *c);
  30. void imagemap_dump(struct html_content *c);
  31. nserror imagemap_extract(struct html_content *c);
  32.  
  33. nsurl *imagemap_get(struct html_content *c, const char *key,
  34.                 unsigned long x, unsigned long y,
  35.                 unsigned long click_x, unsigned long click_y,
  36.                 const char **target);
  37.  
  38. #endif
  39.