summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
Diffstat (limited to 'render/box.h')
-rw-r--r--render/box.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/render/box.h b/render/box.h
index b4ecfa631..c1250469a 100644
--- a/render/box.h
+++ b/render/box.h
@@ -77,6 +77,7 @@
#include <stdbool.h>
#include "libxml/HTMLparser.h"
#include "netsurf/utils/config.h"
+#include "netsurf/content/content_type.h"
#include "netsurf/css/css.h"
#include "netsurf/render/font.h"
#include "netsurf/utils/pool.h"
@@ -189,6 +190,9 @@ struct box {
char *usemap; /** (Image)map to use with this object, or 0 if none */
+ /** Background image for this box, or 0 if none */
+ struct content *background;
+
/** Object in this box (usually an image), or 0 if none. */
struct content* object;
/** Parameters for the object, or 0. */