diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-10-13 11:56:31 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-10-13 11:56:31 +0100 |
commit | 17be8cf216e08a57c511ec1ea43eae40874fa9de (patch) | |
tree | 270667cd4a3418b185e5432be1c7c8b7dca8792f /render/form.c | |
parent | 33c6073dbed882506e5a16fc43e7e2a71a2d6be2 (diff) | |
download | netsurf-17be8cf216e08a57c511ec1ea43eae40874fa9de.tar.gz netsurf-17be8cf216e08a57c511ec1ea43eae40874fa9de.tar.bz2 |
Put the font operations table alongside all the other core API
The netsurf core is driven from numerous operation tables most of
which are now set through a common netsurf_register() interface. The
font and plotting interfaces are currently separate and unlike all the
other operation tables are modified for differing contexts.
This change moves the font operations alongside all the other
operations table and remove unnecessary interaction with the renderers
font internals. Further this also removes the need for css internals
to be visible in frontends.
Diffstat (limited to 'render/form.c')
-rw-r--r-- | render/form.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/render/form.c b/render/form.c index 76a67ba5c..3dd3a6cdd 100644 --- a/render/form.c +++ b/render/form.c @@ -33,6 +33,13 @@ #include <string.h> #include <dom/dom.h> +#include "utils/corestrings.h" +#include "utils/log.h" +#include "utils/messages.h" +#include "utils/talloc.h" +#include "utils/url.h" +#include "utils/utf8.h" +#include "utils/utils.h" #include "content/fetch.h" #include "content/hlcache.h" #include "css/css.h" @@ -43,19 +50,13 @@ #include "desktop/plotters.h" #include "desktop/scrollbar.h" #include "desktop/textarea.h" + #include "render/box.h" #include "render/font.h" #include "render/form.h" #include "render/html.h" #include "render/html_internal.h" #include "render/layout.h" -#include "utils/corestrings.h" -#include "utils/log.h" -#include "utils/messages.h" -#include "utils/talloc.h" -#include "utils/url.h" -#include "utils/utf8.h" -#include "utils/utils.h" #define MAX_SELECT_HEIGHT 210 #define SELECT_LINE_SPACING 0.2 |