summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-04-29 20:37:42 +0100
committerVincent Sanders <vince@kyllikki.org>2020-04-29 20:37:42 +0100
commite8d0ba15ad4a91b4644cac0095f40bb3246ec509 (patch)
tree933e479208aec34f88b483b7e63c057d350339a0 /desktop
parenta64261c3bdde79d11c86960181f7b8b5255539be (diff)
downloadnetsurf-e8d0ba15ad4a91b4644cac0095f40bb3246ec509.tar.gz
netsurf-e8d0ba15ad4a91b4644cac0095f40bb3246ec509.tar.bz2
split html box processing code
reduce the module size of the html box handling code by splitting into smaller sections. No functional code change.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/frames.c1
-rw-r--r--desktop/scrollbar.h1
-rw-r--r--desktop/selection.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/desktop/frames.c b/desktop/frames.c
index 1ed114540..a03f86c8f 100644
--- a/desktop/frames.c
+++ b/desktop/frames.c
@@ -35,6 +35,7 @@
#include "content/hlcache.h"
#include "html/html.h"
#include "html/box.h"
+#include "html/box_inspect.h"
#include "desktop/browser_private.h"
#include "desktop/frames.h"
diff --git a/desktop/scrollbar.h b/desktop/scrollbar.h
index fa5e167f2..796520724 100644
--- a/desktop/scrollbar.h
+++ b/desktop/scrollbar.h
@@ -38,6 +38,7 @@
#define SCROLL_BOTTOM INT_MAX
struct scrollbar;
+struct redraw_context;
/**
* scrollbar message types
diff --git a/desktop/selection.c b/desktop/selection.c
index c8edda7b1..6c8f5d798 100644
--- a/desktop/selection.c
+++ b/desktop/selection.c
@@ -33,6 +33,7 @@
#include "utils/utils.h"
#include "netsurf/form.h"
#include "html/box.h"
+#include "html/box_inspect.h"
#include "html/html_internal.h"
#include "html/font.h"
#include "text/textplain.h"