summaryrefslogtreecommitdiff
path: root/gui/common.h
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/common.h
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/common.h')
-rw-r--r--gui/common.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gui/common.h b/gui/common.h
index 32a9a19..2ad96a8 100644
--- a/gui/common.h
+++ b/gui/common.h
@@ -37,7 +37,7 @@ struct gui_sheet {
int w, h; /* in eeschema coordinates */
int xmin, ymin;
- bool rendered; /* 0 if still have to render it */
+ bool rendered; /* 0 if we still have to render it */
struct overlay *over; /* current overlay */
struct aoi *aois; /* areas of interest; in schematics coord */
@@ -127,6 +127,10 @@ void progress_update(struct gui_ctx *ctx);
/* render.c */
+extern bool use_delta;
+extern bool show_extra;
+
+
void redraw(const struct gui_ctx *ctx);
void render_sheet(struct gui_sheet *sheet);
void render_delta(struct gui_ctx *ctx);
@@ -149,7 +153,7 @@ void show_history(struct gui_ctx *ctx, enum selecting sel);
/* gui.c */
-extern bool use_delta;
+void unrender_all(struct gui_ctx *ctx);
struct gui_sheet *find_corresponding_sheet(struct gui_sheet *pick_from,
struct gui_sheet *ref_in, const struct gui_sheet *ref);