summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
Diffstat (limited to 'render/box.h')
-rw-r--r--render/box.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/render/box.h b/render/box.h
index 0aa8e56f3..76a3e69ac 100644
--- a/render/box.h
+++ b/render/box.h
@@ -1,19 +1,24 @@
/**
- * $Id: box.h,v 1.3 2002/06/18 21:24:21 bursa Exp $
+ * $Id: box.h,v 1.4 2002/06/26 23:27:30 bursa Exp $
*/
/**
* structures
*/
+typedef enum {
+ BOX_BLOCK, BOX_INLINE_CONTAINER, BOX_INLINE,
+ BOX_TABLE, BOX_TABLE_ROW, BOX_TABLE_CELL, BOX_FLOAT
+} box_type;
+
struct box {
- enum { BOX_BLOCK, BOX_INLINE_CONTAINER, BOX_INLINE,
- BOX_TABLE, BOX_TABLE_ROW, BOX_TABLE_CELL, BOX_FLOAT } type;
+ box_type type;
xmlNode * node;
struct css_style * style;
unsigned long x, y, width, height;
const char * text;
unsigned int length;
+ unsigned int colspan;
struct box * next;
struct box * children;
struct box * last;