summaryrefslogtreecommitdiff
path: root/kicad/dwg.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-26 01:12:22 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-26 01:40:30 -0300
commitae518b0432c49abb21229f632020f54a2b159903 (patch)
tree6cd81474fadbde396fb0fc6024ec6d010d56141b /kicad/dwg.h
parentce09b77d3be3cf2f61142dbdf22b05afe881f59c (diff)
downloadeeshow-ae518b0432c49abb21229f632020f54a2b159903.tar.gz
eeshow-ae518b0432c49abb21229f632020f54a2b159903.tar.bz2
eeshow-ae518b0432c49abb21229f632020f54a2b159903.zip
kicad/dwg.c: add text style to label drawing functions
Diffstat (limited to 'kicad/dwg.h')
-rw-r--r--kicad/dwg.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/kicad/dwg.h b/kicad/dwg.h
index be1ac60..16242b7 100644
--- a/kicad/dwg.h
+++ b/kicad/dwg.h
@@ -15,6 +15,7 @@
#define KICAD_DWG_H
#include "gfx/gfx.h"
+#include "gfx/text.h"
enum dwg_shape {
@@ -32,13 +33,13 @@ struct dwg_bbox {
void dwg_label(struct gfx *gfx, int x, int y, const char *s, int dir, int dim,
- enum dwg_shape shape, struct dwg_bbox *bbox);
+ enum dwg_shape shape, enum text_style style, struct dwg_bbox *bbox);
void dwg_hlabel(struct gfx *gfx, int x, int y, const char *s, int dir, int dim,
- enum dwg_shape shape, struct dwg_bbox *bbox);
+ enum dwg_shape shape, enum text_style style, struct dwg_bbox *bbox);
void dwg_glabel(struct gfx *gfx, int x, int y, const char *s, int dir, int dim,
- enum dwg_shape shape, struct dwg_bbox *bbox);
+ enum dwg_shape shape, enum text_style style, struct dwg_bbox *bbox);
void dwg_text(struct gfx *gfx, int x, int y, const char *s, int dir, int dim,
- enum dwg_shape shape, struct dwg_bbox *bbox);
+ enum dwg_shape shape, enum text_style style, struct dwg_bbox *bbox);
void dwg_junction(struct gfx *gfx, int x, int y);
void dwg_noconn(struct gfx *gfx, int x, int y);