diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-11-06 22:51:46 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-11-06 22:51:46 +0000 |
commit | 8c2cfecfb5e83d023609914dd101c23777fd2906 (patch) | |
tree | df076fe2b22f0ecc6ec97d32a6b59f8ffa278d9b /render/html_internal.h | |
parent | 46f369ca9ee79af5e7a121551fe9715101d27395 (diff) | |
download | netsurf-8c2cfecfb5e83d023609914dd101c23777fd2906.tar.gz netsurf-8c2cfecfb5e83d023609914dd101c23777fd2906.tar.bz2 |
Allow content handlers to have debug values set through API
Previously content handler debugging features were accessed by global
variables. This allows the setting of debugging parameters via a
content API giving per content control over debugging features.
Currently only used by the html content handler to toggle global
redraw debugging.
Diffstat (limited to 'render/html_internal.h')
-rw-r--r-- | render/html_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/html_internal.h b/render/html_internal.h index b57f240bd..1a878031b 100644 --- a/render/html_internal.h +++ b/render/html_internal.h @@ -176,7 +176,8 @@ typedef struct html_content { } html_content; - +/** Render padding and margin box outlines in html_redraw(). */ +extern bool html_redraw_debug; void html_set_status(html_content *c, const char *extra); |