allow to launch xschem in fullscreen mode with --tcl "set fullscreen 1"; doc updates for bus, dash, fill attributes

This commit is contained in:
Stefan Schippers 2020-09-07 15:20:22 +02:00
parent f61c17a27b
commit 79a56a99f5
3 changed files with 32 additions and 2 deletions

BIN
doc/xschem_man/dashes.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -134,6 +134,30 @@ p{padding: 15px 30px 10px;}
By doing so you have defined a specific pin ordering of the symbol.
</p>
<img src="pin_order.png">
<h3> PRIMITIVE OBJECT PROPERTIES</h3>
<p>
The following attribute may be set on lines, arcs, polygons, rectangles:
<ul>
<li> <kbd>dash=n</kbd>, where n = integer. This specifies dashed mode drawing for the specified object.</li>
</ul>
</p>
<p>
The following attribute may be set on arcs and polygons:
<ul>
<li> <kbd>fill=true</kbd>. This specifies to fill the object with the layer predefined fill style.</li>
</ul>
</p>
<p>
The following attribute may be set on wires and lines:
<ul>
<li> <kbd>bus=true</kbd>. This specifies to draw a wider line. Mostly used to display wire buses.</li>
</ul>
</p>
<img src="dashes.png">
<!-- end of slide -->
<div class="filler"></div>
</div>

View File

@ -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 */
/* */