Commit Diff


commit - e72e360a1a5a74d85a721b8405790593b033277b
commit + f054210f2706748113c78cedfcdb9c2268f78928
blob - 1d5dd6b2d7e6223b357be323a729098c5e2f93bf
blob + 23b9c5917794a964e39e0148d8de0f7af90d5abe
--- include/html.h
+++ include/html.h
@@ -171,6 +171,7 @@ struct Item
 	Item*	next;		// successor in list of items
 	int		width;	// width in pixels (0 for floating items)
 	int		height;	// height in pixels
+	Rectangle	r;
 	int		ascent;	// ascent (from top to baseline) in pixels
 	int		anchorid;	// if nonzero, which anchor we're in
 	int		state;	// flags and values (see below)
@@ -223,6 +224,7 @@ struct Iimage
 	uchar	vspace;		// in pixels; buffer space on top and bottom
 	uchar	border;		// in pixels: border width to draw around image
 	Iimage*	nextimage;	// next in list of document's images
+	void *aux;
 };
 
 
@@ -230,6 +232,7 @@ struct Iformfield
 {
 	Item item;				// (with tag ==Iformfieldtag)
 	Formfield*	formfield;
+	void *aux;
 };