summaryrefslogtreecommitdiff
path: root/kicad/sch-render.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-29 21:48:00 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-29 22:00:26 -0300
commit2f6677ab8f5f15fc09fc02d6ea86fd5b3f650a1d (patch)
tree0f0595cbd998d30e0178035f91b30f7ed6757e54 /kicad/sch-render.c
parent2c9e549c9554e0cabb4d4ccdb2c3a2238d62bcf4 (diff)
downloadeeshow-2f6677ab8f5f15fc09fc02d6ea86fd5b3f650a1d.tar.gz
eeshow-2f6677ab8f5f15fc09fc02d6ea86fd5b3f650a1d.tar.bz2
eeshow-2f6677ab8f5f15fc09fc02d6ea86fd5b3f650a1d.zip
get rid of sch_render_extra and move selection to rendering (WIP)
This works for eeshow, but this breaks the -e option of eeplot and eediff, permanently enabling it in FIG, and permanently disabling it in all the Cairo-based formats.
Diffstat (limited to 'kicad/sch-render.c')
-rw-r--r--kicad/sch-render.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/kicad/sch-render.c b/kicad/sch-render.c
index 81a97e4..830c99a 100644
--- a/kicad/sch-render.c
+++ b/kicad/sch-render.c
@@ -187,30 +187,3 @@ void sch_render(const struct sheet *sheet, struct gfx *gfx)
BUG("invalid object type \"%d\"", obj->type);
}
}
-
-
-void sch_render_extra(const struct sheet *sheet, struct gfx *gfx)
-{
- struct sch_obj *obj;
-
- for (obj = sheet->objs; obj; obj = obj->next)
- switch (obj->type) {
- case sch_obj_wire:
- case sch_obj_junction:
- case sch_obj_noconn:
- case sch_obj_glabel:
- case sch_obj_text:
- case sch_obj_sheet:
- break;
- case sch_obj_comp:
- {
- const struct sch_comp *comp = &obj->u.comp;
-
- lib_render_extra(comp->comp, gfx, comp->unit,
- comp->convert, comp->m);
- }
- break;
- default:
- BUG("invalid object type \"%d\"", obj->type);
- }
-}