summaryrefslogtreecommitdiff
path: root/gui/gui.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2017-05-07 00:12:57 (GMT)
committerWerner Almesberger <werner@almesberger.net>2017-05-07 00:12:57 (GMT)
commitf405999fbaf5615f55f68adc3396566a66b562d7 (patch)
tree29533c0eabd5ab6da83f6f2c193162ad123a1b07 /gui/gui.h
parent076f5639036b136fe237856390c66b7fed18ebaf (diff)
downloadeeshow-f405999fbaf5615f55f68adc3396566a66b562d7.zip
eeshow-f405999fbaf5615f55f68adc3396566a66b562d7.tar.gz
eeshow-f405999fbaf5615f55f68adc3396566a66b562d7.tar.bz2
new undocumented option "-C width" to set component pop-up width (0: fit content)
Diffstat (limited to 'gui/gui.h')
-rw-r--r--gui/gui.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/gui/gui.h b/gui/gui.h
index d3f0fab..0698b33 100644
--- a/gui/gui.h
+++ b/gui/gui.h
@@ -1,8 +1,8 @@
/*
* gui/gui.h - GUI for eeshow
*
- * Written 2016 by Werner Almesberger
- * Copyright 2016 by Werner Almesberger
+ * Written 2016-2017 by Werner Almesberger
+ * Copyright 2016-2017 by Werner Almesberger
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -18,6 +18,13 @@
#include "kicad/ext.h"
+/*
+ * @@@ ought to pass this to run_gui, then share via common.h, but let's be
+ * pragmatic :-)
+ */
+
+extern unsigned comp_pop_width;
+
int run_gui(const struct file_names *fn, bool recurse, int limit,
const char **commands, unsigned n_commands);