diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-01-13 10:01:25 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-01-13 10:03:24 +0000 |
commit | 7dab7cb43d4091648ceb40684ff70aff7091c648 (patch) | |
tree | 88e77a9be8ff1dea4c20db61a5788383e070942d /frontends/windows | |
parent | 8ffc2e753b04a9e794e7a6302d57d590b311e41f (diff) | |
download | netsurf-7dab7cb43d4091648ceb40684ff70aff7091c648.tar.gz netsurf-7dab7cb43d4091648ceb40684ff70aff7091c648.tar.bz2 |
move plot style header to netsurf include directory
move plotter style header and adjust all callers to use only what they
actually require.
Diffstat (limited to 'frontends/windows')
-rw-r--r-- | frontends/windows/corewindow.c | 1 | ||||
-rw-r--r-- | frontends/windows/font.c | 1 | ||||
-rw-r--r-- | frontends/windows/font.h | 4 |
3 files changed, 4 insertions, 2 deletions
diff --git a/frontends/windows/corewindow.c b/frontends/windows/corewindow.c index 8d853fb23..ff89d9271 100644 --- a/frontends/windows/corewindow.c +++ b/frontends/windows/corewindow.c @@ -43,7 +43,6 @@ #include "utils/utf8.h" #include "netsurf/keypress.h" #include "netsurf/mouse.h" -#include "desktop/plot_style.h" #include "windows/windbg.h" #include "windows/corewindow.h" diff --git a/frontends/windows/font.c b/frontends/windows/font.c index 1e99a78d6..791b8cd5c 100644 --- a/frontends/windows/font.c +++ b/frontends/windows/font.c @@ -32,6 +32,7 @@ #include "utils/utf8.h" #include "netsurf/layout.h" #include "netsurf/utf8.h" +#include "netsurf/plot_style.h" #include "windows/font.h" diff --git a/frontends/windows/font.h b/frontends/windows/font.h index 0e867554a..a1077e041 100644 --- a/frontends/windows/font.h +++ b/frontends/windows/font.h @@ -25,6 +25,8 @@ #ifndef NETSURF_WINDOWS_FONT_H #define NETSURF_WINDOWS_FONT_H +struct plot_font_style; + extern HWND font_hwnd; struct font_desc { @@ -47,7 +49,7 @@ extern nserror utf8_to_font_encoding(const struct font_desc* font, * \param style The font style. * \return The win32 font handle */ -HFONT get_font(const plot_font_style_t *style); +HFONT get_font(const struct plot_font_style *style); #endif /* NETSURF_WINDOWS_FONT_H */ |