From 79a56a99f55eec76b6c5a6bf02a802ec80afd328 Mon Sep 17 00:00:00 2001
From: Stefan Schippers
Date: Mon, 7 Sep 2020 15:20:22 +0200
Subject: [PATCH] allow to launch xschem in fullscreen mode with --tcl "set
fullscreen 1"; doc updates for bus, dash, fill attributes
---
doc/xschem_man/dashes.png | Bin 0 -> 2281 bytes
doc/xschem_man/xschem_properties.html | 24 ++++++++++++++++++++++++
src/xinit.c | 10 ++++++++--
3 files changed, 32 insertions(+), 2 deletions(-)
create mode 100644 doc/xschem_man/dashes.png
diff --git a/doc/xschem_man/dashes.png b/doc/xschem_man/dashes.png
new file mode 100644
index 0000000000000000000000000000000000000000..35f672c2e762c5bc39f42093821cde46dca99ade
GIT binary patch
literal 2281
zcmY+Gc{J1w7sr2gVv6)w(lVB^mF%M#m2EI#8lrd^%UH5BgYmOwn@9;+CLXdDBGNP=
zOv#d^#PnpcO-&jkgApEE)>pmf{iA!%J>Ppj_x^GJxaZuPj6qvK_8i;;000DKX=Voi
zydVJZIPvrClJP=H@~-e-F}5)V0BXAEriZ|8E`zbQNABvmbLVccfT}8>|6{-o0PKW^
z@9Y3p)r`lxwKE{n5xf}a1BQDLy#dEd&@gXeh+iN9s-vN$>2cCO6psru_lr}$Eq$np9|80x`r+kOpMH%d0e~Gkb*Y`$*4
zET|hH`ljsrp~%_1hT=8JI8+{B%u_NK?9iPokQHOf`_*F6|JS&`ZEdWj<3;hs9|bbj
z_ioGlpZ-=yUG(5PYU|!VAb6czBRFgG2LlSfdR6mWll%i-WqUP8(*;&y@^~U9f*c`C
z{QO(n=UbnuTP5QVpCv%Jc1G&!AWl%cV3Zu09befh|A7tl5_z=u=7)`0u({8N
zx9AR}U0oW4>ra6|{5GeJ!QrQ|gGRcF);+w75z3iqgU#+{^*VX-IL&6bV?cJzpqC8Y
zb3|(6qkjhVBFVggZkMKAcRt{lQki9?m)YreRfSLG8IqF@2^QSAK51
ziA+2zBSzG_dvv>{a&npj58wG9Z2`MRLF6t_b>|Xkm5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be set on lines, arcs, polygons, rectangles:
+
+ - dash=n, where n = integer. This specifies dashed mode drawing for the specified object.
+
+
+
+ The following attribute may be set on arcs and polygons:
+
+ - fill=true. This specifies to fill the object with the layer predefined fill style.
+
+
+
+ The following attribute may be set on wires and lines:
+
+ - bus=true. This specifies to draw a wider line. Mostly used to display wire buses.
+
+
+
+
+
+
diff --git a/src/xinit.c b/src/xinit.c
index ebf3b4cb..bf3d6579 100644
--- a/src/xinit.c
+++ b/src/xinit.c
@@ -1102,7 +1102,6 @@ int Tcl_AppInit(Tcl_Interp *inter)
split_files=atoi(tclgetvar("split_files"));
netlist_show=atoi(tclgetvar("netlist_show"));
- fullscreen=atoi(tclgetvar("fullscreen"));
unzoom_nodrift=atoi(tclgetvar("unzoom_nodrift"));
if(color_ps==-1)
@@ -1351,16 +1350,23 @@ int Tcl_AppInit(Tcl_Interp *inter)
#endif
/* END X INITIALIZATION */
+
init_done=1; /* 20171008 moved before option processing, otherwise xwin_exit will not be invoked */
/* leaving undo buffer and other garbage around. */
-
/* */
/* Completing tk windows creation (see xschem.tcl, build_windows) and event binding */
/* *AFTER* X initialization done */
/* */
tcleval("build_windows");
+ fullscreen=atoi(tclgetvar("fullscreen"));
+ if(fullscreen) {
+ fullscreen = 0;
+ tcleval("update");
+ toggle_fullscreen();
+ }
+
/* */
/* START PROCESSING USER OPTIONS */
/* */