summaryrefslogtreecommitdiff
path: root/kicad/pl.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-24 14:07:45 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-24 14:19:21 -0300
commitbd9943d473ab96c5d37b0944ed33a1f6766d62e5 (patch)
tree59f27d8fa71f981928293bc8e55e7c0415d08db2 /kicad/pl.h
parentc58e2ecd39de8f433c787a8feb558509e664ac88 (diff)
downloadeeshow-bd9943d473ab96c5d37b0944ed33a1f6766d62e5.tar.gz
eeshow-bd9943d473ab96c5d37b0944ed33a1f6766d62e5.tar.bz2
eeshow-bd9943d473ab96c5d37b0944ed33a1f6766d62e5.zip
remove global gfx state (pass context as argument)
Diffstat (limited to 'kicad/pl.h')
-rw-r--r--kicad/pl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/kicad/pl.h b/kicad/pl.h
index 7aee176..3f19347 100644
--- a/kicad/pl.h
+++ b/kicad/pl.h
@@ -14,6 +14,7 @@
#ifndef KICAD_PL_H
#define KICAD_PL_H
+#include "gfx/gfx.h"
#include "file/file.h"
#include "kicad/sch.h"
@@ -21,8 +22,8 @@
struct pl_ctx;
-void pl_render(struct pl_ctx *pl, const struct sheet *sheets,
- const struct sheet *sheet);
+void pl_render(struct pl_ctx *pl, struct gfx *gfx,
+ const struct sheet *sheets, const struct sheet *sheet);
struct pl_ctx *pl_parse(struct file *file);
void pl_free(struct pl_ctx *pl);