summaryrefslogtreecommitdiff
path: root/frontends/cocoa
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-01-13 10:01:25 +0000
committerVincent Sanders <vince@kyllikki.org>2017-01-13 10:03:24 +0000
commit7dab7cb43d4091648ceb40684ff70aff7091c648 (patch)
tree88e77a9be8ff1dea4c20db61a5788383e070942d /frontends/cocoa
parent8ffc2e753b04a9e794e7a6302d57d590b311e41f (diff)
downloadnetsurf-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/cocoa')
-rw-r--r--frontends/cocoa/font.h2
-rw-r--r--frontends/cocoa/plotter.h2
-rw-r--r--frontends/cocoa/plotter.m1
3 files changed, 2 insertions, 3 deletions
diff --git a/frontends/cocoa/font.h b/frontends/cocoa/font.h
index cabd2b933..ed0479765 100644
--- a/frontends/cocoa/font.h
+++ b/frontends/cocoa/font.h
@@ -19,7 +19,7 @@
#ifndef COCOA_FONT_H
#define COCOA_FONT_H
-#import "desktop/plot_style.h"
+#import "netsurf/plot_style.h"
void cocoa_draw_string( CGFloat x, CGFloat y, const char *bytes, size_t length, const struct plot_font_style *style );
diff --git a/frontends/cocoa/plotter.h b/frontends/cocoa/plotter.h
index 88f9fcab6..ce4865336 100644
--- a/frontends/cocoa/plotter.h
+++ b/frontends/cocoa/plotter.h
@@ -20,7 +20,7 @@
#define COCOA_PLOTTER_H
#import <Cocoa/Cocoa.h>
-#import "desktop/plot_style.h"
+#import "netsurf/plot_style.h"
extern const struct plotter_table cocoa_plotters;
diff --git a/frontends/cocoa/plotter.m b/frontends/cocoa/plotter.m
index 20b688414..dea3245bb 100644
--- a/frontends/cocoa/plotter.m
+++ b/frontends/cocoa/plotter.m
@@ -22,7 +22,6 @@
#import "utils/utils.h"
#import "netsurf/browser_window.h"
#import "netsurf/plotters.h"
-#import "desktop/plot_style.h"
#import "cocoa/font.h"
#import "cocoa/coordinates.h"