summaryrefslogtreecommitdiff
path: root/gui/common.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-22 05:37:23 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-22 05:37:23 -0300
commit9fe255f4aceb3ac5f5b0915d2a314b25d0e00863 (patch)
treea37632fd7b63090297e2e269eef95e28748511bd /gui/common.h
parentaedcf7b6fe9dcc07c0fc1badd73ca970cddc3e0c (diff)
downloadeeshow-9fe255f4aceb3ac5f5b0915d2a314b25d0e00863.tar.gz
eeshow-9fe255f4aceb3ac5f5b0915d2a314b25d0e00863.tar.bz2
eeshow-9fe255f4aceb3ac5f5b0915d2a314b25d0e00863.zip
eeshow/gui/common.h (struct gui_sheet): add back link to history
Diffstat (limited to 'gui/common.h')
-rw-r--r--gui/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/common.h b/gui/common.h
index 9882121..cf82f47 100644
--- a/gui/common.h
+++ b/gui/common.h
@@ -26,10 +26,12 @@
struct gui_ctx;
+struct gui_hist;
struct gui_sheet {
const struct sheet *sch;
struct gui_ctx *ctx; /* back link */
+ struct gui_hist *hist; /* back link */
struct cro_ctx *gfx_ctx;
int w, h; /* in eeschema coordinates */