summaryrefslogtreecommitdiff
path: root/kicad/lib-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/lib-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/lib-render.c')
-rw-r--r--kicad/lib-render.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kicad/lib-render.c b/kicad/lib-render.c
index 8c9e328..88a161d 100644
--- a/kicad/lib-render.c
+++ b/kicad/lib-render.c
@@ -250,7 +250,7 @@ static void draw_pin_name(const struct comp *comp, const struct lib_pin *pin,
break;
}
- text_fig(&txt, gfx, COLOR_PIN_NAME, LAYER_PIN_NAME);
+ text_show(&txt, gfx, COLOR_PIN_NAME, LAYER_PIN_NAME);
}
@@ -311,7 +311,7 @@ static void draw_pin_num(const struct comp *comp, const struct lib_pin *pin,
break;
}
- text_fig(&txt, gfx, COLOR_PIN_NUMBER, LAYER_PIN_NUMBER);
+ text_show(&txt, gfx, COLOR_PIN_NUMBER, LAYER_PIN_NUMBER);
}
@@ -704,7 +704,7 @@ static void draw_text(const struct lib_text *text, struct gfx *gfx,
BUG("unknown rotation %d", txt.rot);
}
- text_fig(&txt, gfx, COLOR_COMP_DWG, WIDTH_COMP_DWG);
+ text_show(&txt, gfx, COLOR_COMP_DWG, WIDTH_COMP_DWG);
}