diff options
author | James Bursa <james@netsurf-browser.org> | 2004-02-02 00:22:59 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-02-02 00:22:59 +0000 |
commit | b0c5b7498704aff375da29fc701b1a7e6941b6ba (patch) | |
tree | a613c9fcf6cccf6d99d33034eefb9e3502f1c0a6 /render/box.h | |
parent | dbda424e61ae158f8cca6d58d6d967b93003b50c (diff) | |
download | netsurf-b0c5b7498704aff375da29fc701b1a7e6941b6ba.tar.gz netsurf-b0c5b7498704aff375da29fc701b1a7e6941b6ba.tar.bz2 |
[project @ 2004-02-02 00:22:59 by bursa]
Start at margin / padding / border support.
svn path=/import/netsurf/; revision=529
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/render/box.h b/render/box.h index b41e52c7c..f711a0f79 100644 --- a/render/box.h +++ b/render/box.h @@ -72,7 +72,11 @@ struct plugin_params {}; struct box { box_type type; struct css_style * style; - long x, y, width, height; + int x; /**< Coordinate of left padding edge relative to parent box. */ + int y; /**< Coordinate of top padding edge relative to parent box. */ + int width; /**< Width of content box (excluding padding etc.). */ + int height; /**< Height of content box (excluding padding etc.). */ + int margin[4], padding[4], border[4]; long min_width, max_width; char * text; unsigned int space : 1; /* 1 <=> followed by a space */ |