From 3707be6292e5d8c93b121a698f67bb679ff8fba4 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 2 Mar 2011 18:41:17 +0000 Subject: Move printed to box flags. svn path=/trunk/netsurf/; revision=11888 --- render/box.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'render/box.h') diff --git a/render/box.h b/render/box.h index a24047001..3d00db98e 100644 --- a/render/box.h +++ b/render/box.h @@ -119,7 +119,8 @@ typedef enum { /** Type of a struct box. */ typedef enum { NEW_LINE = 1 << 0, /* first inline on a new line */ - STYLE_OWNED = 1 << 1 /* style is owned by this box */ + STYLE_OWNED = 1 << 1, /* style is owned by this box */ + PRINTED = 1 << 2 /* box has already been printed */ } box_flags; /* Sides of a box */ @@ -217,8 +218,6 @@ struct box { unsigned int rows; /**< Number of rows for TABLE only. */ unsigned int start_column; /**< Start column for TABLE_CELL only. */ - bool printed; /** Whether this box has already been printed*/ - struct box *next; /**< Next sibling box, or 0. */ struct box *prev; /**< Previous sibling box, or 0. */ struct box *children; /**< First child box, or 0. */ -- cgit v1.2.3