summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-08-25 23:56:49 +0000
committerJames Bursa <james@netsurf-browser.org>2004-08-25 23:56:49 +0000
commite44249f6edb3781ebc6816e79791ba266a568935 (patch)
treea199eb5d2604a295cb469a8d5e66649a1fb9ff25 /render/box.h
parent26d107c444cd6e30a0dacf707470c6cda267d34b (diff)
downloadnetsurf-e44249f6edb3781ebc6816e79791ba266a568935.tar.gz
netsurf-e44249f6edb3781ebc6816e79791ba266a568935.tar.bz2
[project @ 2004-08-25 23:56:48 by bursa]
Experimental overflow: scroll code. svn path=/import/netsurf/; revision=1250
Diffstat (limited to 'render/box.h')
-rw-r--r--render/box.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/render/box.h b/render/box.h
index 8014b9856..c50c7ef00 100644
--- a/render/box.h
+++ b/render/box.h
@@ -155,6 +155,9 @@ struct box {
int padding[4]; /**< Padding: TOP, RIGHT, BOTTOM, LEFT. */
int border[4]; /**< Border width: TOP, RIGHT, BOTTOM, LEFT. */
+ int scroll_x; /**< Horizontal scroll of descendants. */
+ int scroll_y; /**< Vertical scroll of descendants. */
+
/**< Width of box taking all line breaks (including margins etc.). */
int min_width;
int max_width; /**< Width that would be taken with no line breaks. */