… | |
… | |
44 | |
44 | |
45 | struct element |
45 | struct element |
46 | { |
46 | { |
47 | enum |
47 | enum |
48 | { |
48 | { |
49 | element_point, element_polyline, element_polygon, element_circle, element_text, element_icon, element_image, element_arrows |
49 | element_point, element_polyline, element_polygon, element_circle, element_text, element_icon, element_image, element_arrows, element_maptile |
50 | } type; |
50 | } type; |
51 | struct color color; |
51 | struct color color; |
52 | int text_size; |
52 | int text_size; |
53 | union |
53 | union |
54 | { |
54 | { |
… | |
… | |
136 | struct circle; |
136 | struct circle; |
137 | struct cursor; |
137 | struct cursor; |
138 | struct element; |
138 | struct element; |
139 | struct icon; |
139 | struct icon; |
140 | struct image; |
140 | struct image; |
|
|
141 | struct maptile; |
141 | struct itemgra; |
142 | struct itemgra; |
142 | struct layer; |
143 | struct layer; |
143 | struct layout; |
144 | struct layout; |
144 | struct polygon; |
145 | struct polygon; |
145 | struct polyline; |
146 | struct polyline; |
… | |
… | |
163 | struct polyline *polyline_new(struct attr *parent, struct attr **attrs); |
164 | struct polyline *polyline_new(struct attr *parent, struct attr **attrs); |
164 | struct circle *circle_new(struct attr *parent, struct attr **attrs); |
165 | struct circle *circle_new(struct attr *parent, struct attr **attrs); |
165 | struct text *text_new(struct attr *parent, struct attr **attrs); |
166 | struct text *text_new(struct attr *parent, struct attr **attrs); |
166 | struct icon *icon_new(struct attr *parent, struct attr **attrs); |
167 | struct icon *icon_new(struct attr *parent, struct attr **attrs); |
167 | struct image *image_new(struct attr *parent, struct attr **attrs); |
168 | struct image *image_new(struct attr *parent, struct attr **attrs); |
|
|
169 | struct maptile *maptile_new(struct attr *parent, struct attr **attrs); |
168 | struct arrows *arrows_new(struct attr *parent, struct attr **attrs); |
170 | struct arrows *arrows_new(struct attr *parent, struct attr **attrs); |
169 | int element_add_attr(struct element *e, struct attr *attr); |
171 | int element_add_attr(struct element *e, struct attr *attr); |
170 | /* end of prototypes */ |
172 | /* end of prototypes */ |
171 | #endif |
173 | #endif |