Revision 18136,
1.4 KB
checked in by ghudson, 22 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r18135,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | /* This file is part of the GtkHTML library |
---|
2 | |
---|
3 | Copyright (C) 2001, Ximian Inc. |
---|
4 | |
---|
5 | This library is free software; you can redistribute it and/or |
---|
6 | modify it under the terms of the GNU Library General Public |
---|
7 | License as published by the Free Software Foundation; either |
---|
8 | version 2 of the License, or (at your option) any later version. |
---|
9 | |
---|
10 | This library 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 GNU |
---|
13 | Library General Public License for more details. |
---|
14 | |
---|
15 | You should have received a copy of the GNU Library General Public License |
---|
16 | along with this library; see the file COPYING.LIB. If not, write to |
---|
17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
---|
18 | Boston, MA 02111-1307, USA. |
---|
19 | */ |
---|
20 | |
---|
21 | #ifndef _HTMLMAP_H |
---|
22 | #define _HTMLMAP_H |
---|
23 | |
---|
24 | #include <glib.h> |
---|
25 | #include "htmlobject.h" |
---|
26 | #include "htmlshape.h" |
---|
27 | |
---|
28 | #define HTML_MAP(x) ((HTMLMap *) x) |
---|
29 | |
---|
30 | struct _HTMLMap { |
---|
31 | char *name; |
---|
32 | GPtrArray *shapes; |
---|
33 | }; |
---|
34 | |
---|
35 | HTMLMap *html_map_new (const gchar *name); |
---|
36 | void html_map_destroy (HTMLMap *map); |
---|
37 | char * html_map_calc_point (HTMLMap *map, |
---|
38 | gint x, |
---|
39 | gint y); |
---|
40 | void html_map_add_shape (HTMLMap *map, |
---|
41 | HTMLShape *shape); |
---|
42 | |
---|
43 | #endif /* _HTMLMAP_H */ |
---|
44 | |
---|
45 | |
---|
Note: See
TracBrowser
for help on using the repository browser.