summaryrefslogtreecommitdiff
path: root/gui/common.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-22 20:47:06 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-22 20:49:29 -0300
commit8dfb6b2c9f722d70b30e5794fe20ce9450dd05d4 (patch)
tree757749cdbd459d5460f893f6cf6116790845cb3b /gui/common.h
parentc9a05d88435e5cc47492b4b62f8312ad8011fd2c (diff)
downloadeeshow-8dfb6b2c9f722d70b30e5794fe20ce9450dd05d4.tar.gz
eeshow-8dfb6b2c9f722d70b30e5794fe20ce9450dd05d4.tar.bz2
eeshow-8dfb6b2c9f722d70b30e5794fe20ce9450dd05d4.zip
eeshow/: change file name handling from positional to be extension-driven
This also enables versioning for page layouts. We no longer need the option -P.
Diffstat (limited to 'gui/common.h')
-rw-r--r--gui/common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/common.h b/gui/common.h
index c67ef76..32a9a19 100644
--- a/gui/common.h
+++ b/gui/common.h
@@ -52,9 +52,11 @@ struct gui_hist {
struct gui_sheet *sheets; /* NULL if failed */
unsigned age; /* 0-based; uncommitted or HEAD = 0 */
+ struct pl_ctx *pl; /* NULL if none or failed */
+
/* caching support */
void **oids; /* file object IDs */
- int libs_open;
+ unsigned libs_open;
struct sch_ctx sch_ctx;
struct lib lib; /* combined library */
bool identical; /* identical with previous entry */
@@ -68,8 +70,6 @@ struct gui_ctx {
float scale; /* pixels = eeschema * scale */
int x, y; /* center, in eeschema coordinates */
- struct pl_ctx *pl; // @@@
-
struct gui_hist *hist; /* revision history; NULL if none */
struct hist *vcs_hist; /* underlying VCS data; NULL if none */