summaryrefslogtreecommitdiff
path: root/gui/render.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-23 16:45:07 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-23 16:46:15 -0300
commit25061ecb551c4d789bd3c7efda8143f740d56365 (patch)
tree9cb4cdf16b4dc32b4211c77803ddd01fd75aaf07 /gui/render.c
parent0c6dc20dc5adcc1c93921b6fc9fb2405b651d07b (diff)
downloadeeshow-25061ecb551c4d789bd3c7efda8143f740d56365.tar.gz
eeshow-25061ecb551c4d789bd3c7efda8143f740d56365.tar.bz2
eeshow-25061ecb551c4d789bd3c7efda8143f740d56365.zip
in GUI mode, E toggles extra information (pin types)
Diffstat (limited to 'gui/render.c')
-rw-r--r--gui/render.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/render.c b/gui/render.c
index ec4db2e..64ddb7c 100644
--- a/gui/render.c
+++ b/gui/render.c
@@ -41,6 +41,7 @@
bool use_delta = 0;
+bool show_extra = 0;
/* ----- Helper functions -------------------------------------------------- */
@@ -235,6 +236,8 @@ void render_sheet(struct gui_sheet *sheet)
pl_render(sheet->hist->pl, sheet->hist->sch_ctx.sheets,
sheet->sch);
sch_render(sheet->sch);
+ if (show_extra)
+ sch_render_extra(sheet->sch);
cro_canvas_end(gfx_ctx,
&sheet->w, &sheet->h, &sheet->xmin, &sheet->ymin);
sheet->gfx_ctx = gfx_ctx;