summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
Diffstat (limited to 'render/box.h')
-rw-r--r--render/box.h6
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 */