summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-06-09 19:55:06 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-06-09 19:55:06 +0000
commit78594f3f60a2ce28f1d6ee95676bfa10492320fe (patch)
treee8d5e6e06d24e4b663ffb2bcd3115816879bdb0d /render/box.h
parentec820df42f083e60bdeb20d6fc1d83a9985091a3 (diff)
downloadnetsurf-78594f3f60a2ce28f1d6ee95676bfa10492320fe.tar.gz
netsurf-78594f3f60a2ce28f1d6ee95676bfa10492320fe.tar.bz2
[project @ 2004-06-09 19:55:06 by jmb]
Implement background-image, background-repeat, background-position and background-attachment CSS properties. background-attachment and background-position need more work. Some redraw issues remain. svn path=/import/netsurf/; revision=938
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. */