fix bind instructions for Windows Alt-*-KeyPress combinations, doc updates for fill attributes in shapes.
This commit is contained in:
parent
a9013fc4d9
commit
6e5fe40c4a
10
Changelog
10
Changelog
|
|
@ -1,4 +1,14 @@
|
|||
2.9.8
|
||||
- enable "bus=true" attribute for lines as well as for wires.
|
||||
As a side effect LCC schematics with bussed wires will display thick buses
|
||||
- added command <Alt-b> (menu Symbol->Show only instance Bounding boxes) to toggle
|
||||
displaying instance detals / only bounding box.
|
||||
- added "dash=n" (n=integer) attribute for lines, polygons, rectangles, arcs to set dashed line style.
|
||||
n is the dash length in pixels.
|
||||
- verilog_ignore, spice_ignore, vhdl_ignore attributes on schematic pins are propagated to symbol pin attributes
|
||||
(if using make symbol from schematic, otherwise propagate by hand).
|
||||
These pins are not netlisted in the respective netlist format
|
||||
- -b option to detach xschem from terminal
|
||||
- NO_CAIRO builds also use 'layer=' attribute to display text on custom layers.
|
||||
- pdf and svg exports follow the enable_layer[] array to display/hide layers as does draw()
|
||||
- LCC function (Local Custom Cell):
|
||||
|
|
|
|||
|
|
@ -56,13 +56,15 @@ p{padding: 15px 30px 10px;}
|
|||
<h3> POLYGONS </h3>
|
||||
<p>
|
||||
Polygons are paths that can be drawn on any layer. Placements begins with the <kbd>'ctrl-w'</kbd> key
|
||||
and continues as long as the user clicks points on the drawing area. Placement ends when:
|
||||
and continues as long as the user clicks points on the drawing area. Placement ends when:</p>
|
||||
<ul>
|
||||
<li> the last point is coincident to the first point.</li>
|
||||
<li> or by clicking the <kbd>right mouse button</kbd>, for an open polygon. </li>
|
||||
<li> or by hitting the <kbd>Return</kbd> key, for a closed polygon
|
||||
(this can be done also by clicking the last point coincident to the first polygon point).</li>
|
||||
</ul>
|
||||
<p>
|
||||
A <kbd>fill=true</kbd> attribute may be given to have the shape filled with the layer fill style.
|
||||
</p>
|
||||
<img src="xschem_polygons.png">
|
||||
<h3> CIRCLES / ARCS </h3>
|
||||
|
|
@ -77,6 +79,7 @@ p{padding: 15px 30px 10px;}
|
|||
- (start point selected in stretch mode):by starting a move (<kbd>m</kbd>) operation and moving the mouse the start arc angle may be changed.<br>
|
||||
- (arch center selected in stretch mode): by starting a move (<kbd>m</kbd>) operation and moving the mouse the arc radius may be changed.<br>
|
||||
If a circle is needed then use the <kbd>Ctrl-Shift-C</kbd> key combination.
|
||||
<br>A <kbd>fill=true</kbd> attribute may be given to have the shape filled with the layer fill style.
|
||||
</p>
|
||||
<img src="xschem_elements_01.png">
|
||||
|
||||
|
|
|
|||
|
|
@ -2929,8 +2929,8 @@ proc build_windows {} {
|
|||
# on Windows Alt key mask is reported as 131072 (1<<17) so build masks manually with values passed from C code
|
||||
if {$::OS == "Windows" } {
|
||||
bind .drw <Alt-KeyPress> {xschem callback %T %x %y %N 0 0 [expr $Mod1Mask]}
|
||||
bind .drw <Control-Alt-KeyPress> {xschem callback %T %x %y %N 0 0 [expr $ShiftMask + $Mod1Mask]}
|
||||
bind .drw <Shift-Alt-KeyPress> {xschem callback %T %x %y %N 0 0 9 [expr $ControlMask + $Mod1Mask]}
|
||||
bind .drw <Control-Alt-KeyPress> {xschem callback %T %x %y %N 0 0 [expr $ControlMask + $Mod1Mask]}
|
||||
bind .drw <Shift-Alt-KeyPress> {xschem callback %T %x %y %N 0 0 [expr $ShiftMask + $Mod1Mask]}
|
||||
}
|
||||
|
||||
bind .drw <KeyPress> {xschem callback %T %x %y %N 0 0 %s}
|
||||
|
|
@ -2950,6 +2950,8 @@ proc build_windows {} {
|
|||
### MAIN PROGRAM
|
||||
###
|
||||
|
||||
namespace import -force ttk::*
|
||||
|
||||
set OS [lindex $tcl_platform(os) 0]
|
||||
|
||||
# tcl variable XSCHEM_LIBRARY_PATH should already be set in xschemrc
|
||||
|
|
|
|||
Loading…
Reference in New Issue