From b0c5b7498704aff375da29fc701b1a7e6941b6ba Mon Sep 17 00:00:00 2001 From: James Bursa Date: Mon, 2 Feb 2004 00:22:59 +0000 Subject: [project @ 2004-02-02 00:22:59 by bursa] Start at margin / padding / border support. svn path=/import/netsurf/; revision=529 --- render/box.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'render/box.h') 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 */ -- cgit v1.2.3