summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorPhil Mellor <phil@monkeyson.info>2002-09-11 14:24:02 +0000
committerPhil Mellor <phil@monkeyson.info>2002-09-11 14:24:02 +0000
commit811106028fd050cdee11fbc8732ba39f2de5e12a (patch)
tree0194609193dc142881958ff81bef57f07da71b54 /render
parenta46eef0002d061c3363756182a592be7646ae79b (diff)
downloadnetsurf-811106028fd050cdee11fbc8732ba39f2de5e12a.tar.gz
netsurf-811106028fd050cdee11fbc8732ba39f2de5e12a.tar.bz2
[project @ 2002-09-11 14:24:02 by monkeyson]
RISC OS Wimp GUI. svn path=/import/netsurf/; revision=33
Diffstat (limited to 'render')
-rw-r--r--render/box.c4
-rw-r--r--render/layout.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/render/box.c b/render/box.c
index 94c550c69..ee9f5b1b4 100644
--- a/render/box.c
+++ b/render/box.c
@@ -1,5 +1,5 @@
/**
- * $Id: box.c,v 1.12 2002/09/08 18:11:56 bursa Exp $
+ * $Id: box.c,v 1.13 2002/09/11 14:24:02 monkeyson Exp $
*/
#include <assert.h>
@@ -113,6 +113,8 @@ struct box * convert_xml_to_box(xmlNode * n, struct css_style * parent_style,
xmlNode * c;
char * s;
+ gui_multitask();
+
if (n->type == XML_ELEMENT_NODE) {
/* work out the style for this element */
*selector = xrealloc(*selector, (depth + 1) * sizeof(struct css_selector));
diff --git a/render/layout.c b/render/layout.c
index 7d15fb11b..53f4eedea 100644
--- a/render/layout.c
+++ b/render/layout.c
@@ -1,5 +1,5 @@
/**
- * $Id: layout.c,v 1.14 2002/09/08 18:11:56 bursa Exp $
+ * $Id: layout.c,v 1.15 2002/09/11 14:24:02 monkeyson Exp $
*/
#include <assert.h>
@@ -86,6 +86,8 @@ void layout_node(struct box * box, unsigned long width, struct box * cont,
box, width, cont, cx, cy);
#endif
+ gui_multitask();
+
switch (box->type) {
case BOX_BLOCK:
layout_block(box, width, cont, cx, cy);