summaryrefslogtreecommitdiff
path: root/kicad/sch-render.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-26 01:18:10 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-26 01:40:30 -0300
commit975bcea4f1735372eb8d25dba32b61c3670af0d8 (patch)
treea6e646113d357584c2047bc9765a60969b2151df /kicad/sch-render.c
parentdfd916f49f4552be1d1dc44c6e0dc925a50c4c3f (diff)
downloadeeshow-975bcea4f1735372eb8d25dba32b61c3670af0d8.tar.gz
eeshow-975bcea4f1735372eb8d25dba32b61c3670af0d8.tar.bz2
eeshow-975bcea4f1735372eb8d25dba32b61c3670af0d8.zip
gfx/text.c (text_fig): rename to text_show
The days of only doing FIG are long gone ...
Diffstat (limited to 'kicad/sch-render.c')
-rw-r--r--kicad/sch-render.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kicad/sch-render.c b/kicad/sch-render.c
index 48015f6..5d3c9e0 100644
--- a/kicad/sch-render.c
+++ b/kicad/sch-render.c
@@ -62,7 +62,7 @@ static void dump_field(const struct comp_field *field, struct gfx *gfx,
txt.vert = text_flip(txt.vert);
}
- text_fig(&txt, gfx, COLOR_FIELD, LAYER_FIELD);
+ text_show(&txt, gfx, COLOR_FIELD, LAYER_FIELD);
}
@@ -108,8 +108,8 @@ static void do_hsheet_text(const struct sch_obj *obj,
file_txt.y += sheet->h + HSHEET_FIELD_OFFSET;
}
- text_fig(&sheet_txt, gfx, COLOR_HSHEET_SHEET, LAYER_HSHEET_FIELD);
- text_fig(&file_txt, gfx, COLOR_HSHEET_FILE, LAYER_HSHEET_FIELD);
+ text_show(&sheet_txt, gfx, COLOR_HSHEET_SHEET, LAYER_HSHEET_FIELD);
+ text_show(&file_txt, gfx, COLOR_HSHEET_FILE, LAYER_HSHEET_FIELD);
// free((void *) ctx->sheet);
// free((void *) ctx->file);