/usr/share/pcb/gpcb-menu.res is in pcb-common 20140316-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 | /* AUTOMATICALLY GENERATED FROM gpcb-menu.res.in DO NOT EDIT */
# -*- c -*-
# Note - gpcb-menu.res is used to build gpcb-menu.h
# Note - parameters are sensitive to extra spaces around the commas
Mouse =
{
Left = {
Mode(Notify)
ctrl = { Mode(Save) Mode(None) Mode(Restore) Mode(Notify) }
shift-ctrl = { Mode(Save) Mode(Remove) Mode(Notify) Mode(Restore) }
up = Mode(Release)
}
Right = {
Pan(1)
up = Pan(0)
shift = Popup(Popup1)
ctrl = Display(CycleCrosshair)
}
Middle = {
Mode(Stroke)
up = Mode(Release)
ctrl = { Mode(Save) Mode(Copy) Mode(Notify) }
up-ctrl = { Mode(Notify) Mode(Restore) }
shift-ctrl = { Display(ToggleRubberbandMode) Mode(Save) Mode(Move) Mode(Notify) }
up-shift-ctrl = { Mode(Notify) Mode(Restore) Display(ToggleRubberbandMode) }
}
Up = {
Zoom(0.8)
shift = Scroll(up)
ctrl = Scroll(left)
}
Down = {
Zoom(1.25)
shift = Scroll(down)
ctrl = Scroll(right)
}
# If you want zoom to center, do this instead.
#Up = { {Zoom(0.8) Center()} }
#Down = { {Zoom(1.25) Center()} }
scroll-left = {
Scroll(left)
}
scroll-right = {
Scroll(right)
}
}
MainMenu =
{
#
# File Menu
#
{"File" m=F
{"New" New() a={"Ctrl-N" "Ctrl<Key>n"}}
{"Open..." Load(Layout) tip="Load a layout from a file"}
-
{"Save" Save(Layout) tip="Saves current layout" m=S a={"Ctrl-S" "Ctrl<Key>s"}}
{"Save As..." Save(LayoutAs) tip="Saves current layout into a new file" m=A a={"Shift Ctrl-S" "Shift Ctrl<Key>s"}}
{"Revert" Load(Revert,none) tip="Revert to the layout stored on disk"}
-
{"Import Schematics" Import() }
{"Load element to buffer" PasteBuffer(Clear) Load(ElementTobuffer)}
{"Load layout to buffer" PasteBuffer(Clear) Load(LayoutTobuffer)}
{"Load netlist" Load(Netlist)}
{"Load vendor resource file" LoadVendorFrom()}
-
{"Save connection data of"
{" a single element" GetXY(Click to set the element mark <>) Save(ElementConnections)}
{" all elements" Save(AllConnections)}
{" unused pins" Save(AllUnusedPins)}
}
{"Export..." Export()}
-
{"Calibrate Printer..." PrintCalibrate()}
{"Print..." Print()}
-
{"Preferences..." DoWindows(Preferences)}
-
{"Quit" Quit() a={"Ctrl-Q" "Ctrl<Key>q"}}
}
#
# Edit Menu
#
{"Edit" m=E
{"Undo" Undo() a={"U" "<Key>u"}}
{"Redo" Redo() a={"Shift-R" "Shift<Key>r"}}
#{"Clear undo-buffer" Undo(ClearList) a={"Shift-Ctrl-U" "Shift Ctrl<Key>u"}}
-
{"Cut to buffer" GetXY(Click to set the snap point for this buffer)
PasteBuffer(Clear) PasteBuffer(AddSelected) RemoveSelected() Mode(PasteBuffer)
a={"Ctrl-X" "Ctrl<Key>x"}}
{"Copy to buffer" GetXY(Click to set the snap point for this buffer)
PasteBuffer(Clear) PasteBuffer(AddSelected) Unselect(All) Mode(PasteBuffer)
a={"Ctrl-C" "Ctrl<Key>c"}}
{"Paste buffer" Mode(PasteBuffer) a={"Ctrl-V" "Ctrl<Key>v"}}
-
{"Unselect all" Unselect(All) a={"Shift-Alt-A" "Shift Alt<Key>a"}}
{"Select all visible" Select(All) a={"Alt-A" "Alt<Key>a"}}
-
{"Edit name of"
{"text on layout" ChangeName(Object) a={"N" "<Key>n"}}
{"layout" ChangeName(Layout)}
{"active layer" ChangeName(Layer)}
}
{"Edit attributes of"
{"Layout" Attributes(Layout)}
{"CurrentLayer" Attributes(Layer)}
{"Element" Attributes(Element)}
}
-
{"Route Styles" @routestyles
-
{"Edit..." AdjustStyle(0)}
}
}
#
# View Menu
#
{"View" m=V
{"Enable visible grid" checked=drawgrid Display(Grid)}
{"Grid units"
{"mil" checked=grid_units_mil,1 SetUnits(mil)}
{"mm" checked=grid_units_mm,1 SetUnits(mm)}
}
{"Grid size"
{"No Grid" checked=grid,0 SetValue(Grid,1)}
-
{ "0.1 mil" checked=gridsize,0.1mil SetUnits(mil) SetValue(Grid,0.1mil)}
{ "1 mil" checked=gridsize,1mil SetUnits(mil) SetValue(Grid,1mil)}
{ "5 mil" checked=gridsize,5mil SetUnits(mil) SetValue(Grid,5mil)}
{ "10 mil" checked=gridsize,10mil SetUnits(mil) SetValue(Grid,10mil)}
{ "25 mil" checked=gridsize,25mil SetUnits(mil) SetValue(Grid,25mil)}
{ "50 mil" checked=gridsize,50mil SetUnits(mil) SetValue(Grid,50mil)}
{"100 mil" checked=gridsize,100mil SetUnits(mil) SetValue(Grid,100mil)}
-
{"0.01 mm" checked=gridsize,0.01mm SetUnits(mm) SetValue(Grid,0.01mm)}
{"0.05 mm" checked=gridsize,0.05mm SetUnits(mm) SetValue(Grid,0.05mm)}
{"0.1 mm" checked=gridsize,0.10mm SetUnits(mm) SetValue(Grid,0.1mm)}
{"0.25 mm" checked=gridsize,0.25mm SetUnits(mm) SetValue(Grid,0.25mm)}
{"0.5 mm" checked=gridsize,0.50mm SetUnits(mm) SetValue(Grid,0.5mm)}
{"1 mm" checked=gridsize,1mm SetUnits(mm) SetValue(Grid,1mm)}
-
{"Grid -" SetValue(Grid,-) a={"Shift-G" "Shift<Key>g"}}
{"Grid +" SetValue(Grid,+) a={"G" "<Key>g"}}
}
{"Realign grid" GetXY(Click to set the grid origin) Display(ToggleGrid)}
-
{"Displayed element name"
{"Description" Display(Description) checked=elementname,1}
{"Reference Designator" Display(NameOnPCB) checked=elementname,2}
{"Value" Display(Value) checked=elementname,3}
}
{"Enable Pinout shows number" checked=shownumber Display(ToggleName)}
{"Pins/Via show Name/Number" Display(PinOrPadName) a={"D" "<Key>d"}}
-
{"Zoom In 20%" Zoom(-1.2) m=Z a={"Z" "<Key>z"}}
{"Zoom Out 20%" Zoom(+1.2) m=O a={"Shift-Z" "Shift<Key>z"}}
{"More zooms and view changes"
{"Zoom Max" Zoom() m=M a={"V" "<Key>v"}}
{"Zoom In 2X" Zoom(-2)}
{"Zoom Out 2X" Zoom(+2)}
{"Zoom to 0.1mil/px" Zoom(=0.1mil)}
{"Zoom to 0.01mm/px" Zoom(=0.01mm)}
{"Zoom to 1mil/px" Zoom(=1mil)}
{"Zoom to 0.05mm/px" Zoom(=0.05mm)}
{"Zoom to 2.5mil/px" Zoom(=2.5mil)}
{"Zoom to 0.1mm/px" Zoom(=0.1mm)}
{"Zoom to 10mil/px" Zoom(=10mil)}
{"Zoom In 20% and center" Zoom(-1.2) Center() m=Z }
{"Zoom Out 20% and center" Zoom(+1.2) Center() m=O }
{"Flip up/down" checked=flip_y SwapSides(V) a={"Tab" "<Key>Tab"}}
{"Flip left/right" checked=flip_x SwapSides(H) a={"Shift-Tab" "Shift<Key>Tab"}}
{"Spin 180 degrees" SwapSides(R) a={"Ctrl-Tab" "Ctrl<Key>Tab"}}
{"Swap Sides" SwapSides() a={"Ctrl-Shift-Tab" "Ctrl Shift<Key>Tab"}}
{"Center cursor" Center() a={"C" "<Key>c"}}
}
-
{"Shown Layers"
@layerview
-
{"Edit Layer Groups" EditLayerGroups()}
}
{"Current Layer"
@layerpick
-
{"Delete current layer" MoveLayer(c,-1)}
{"Add new layer" MoveLayer(-1,c)}
{"Move current layer up" MoveLayer(c,up)}
{"Move current layer down" MoveLayer(c,down)}
}
}
#
# Settings menu
#
{"Settings" m=S
{"'All-direction' lines" checked=alldirection Display(Toggle45Degree) a={"." "<Key>."}}
{"Auto swap line start angle" checked=swapstartdir Display(ToggleStartDirection)}
{"Orthogonal moves" checked=orthomove Display(ToggleOrthoMove)}
{"Crosshair snaps to pins and pads" checked=snappin Display(ToggleSnapPin)}
{"Crosshair shows DRC clearance" checked=showdrc Display(ToggleShowDRC)}
{"Auto enforce DRC clearance" checked=autodrc Display(ToggleAutoDRC)}
{"Lock Names" checked=locknames Display(ToggleLockNames)}
{"Only Names" checked=onlynames Display(ToggleOnlyNames)}
{"Hide Names" checked=hidenames Display(ToggleHideNames)}
-
{"Rubber band mode" checked=rubberband Display(ToggleRubberBandMode)}
{"Require unique element names" checked=uniquename Display(ToggleUniqueNames)}
{"Auto-zero delta measurements" checked=localref Display(ToggleLocalRef)}
{"New lines, arcs clear polygons" checked=clearnew Display(ToggleClearLine)}
{"New polygons are full ones" checked=newfullpoly Display(ToggleFullPoly)}
{"Show autorouter trials" checked=liveroute Display(ToggleLiveRoute)}
{"Thin draw" checked=thindraw Display(ToggleThindraw) a={"|" "<Key>|"}}
{"Thin draw poly" checked=thindrawpoly Display(ToggleThindrawPoly) a={"Ctrl-Shift-P" "Ctrl Shift<Key>p"}}
{"Check polygons" checked=checkplanes Display(ToggleCheckPlanes)}
-
{"Vendor drill mapping" ToggleVendor() checked=VendorMapOn}
{"Import New Elements at" m=I
{" Center" Import(setnewpoint,center) m=C}
{" Mark" Import(setnewpoint,mark) m=M}
{" Crosshair" Import(setnewpoint) m=h}
-
{"Set Dispersion" Import(setdisperse) m=D}
}
}
#
# Select menu
#
{"Select" m=l
{"Select all visible" Select(All)}
{"Select all found" Select(Found)}
{"Select all connected" Select(Connection)}
-
{"Unselect all" Unselect(All)}
{"Unselect all found" Unselect(Found)}
{"Unselect all connected" Unselect(Connection)}
-
{"Select by name"
{"All objects" Select(ObjectByName) active=have_regex}
{"Elements" Select(ElementByName) active=have_regex}
{"Pads" Select(PadByName) active=have_regex}
{"Pins" Select(PinByName) active=have_regex}
{"Text" Select(TextByName) active=have_regex}
{"Vias" Select(ViaByName) active=have_regex}
}
-
{"Auto-place selected elements" AutoPlaceSelected() a={"Ctrl-P" "Ctrl<Key>p"}}
{"Disperse all elements" DisperseElements(All)}
{"Disperse selected elements" DisperseElements(Selected)}
-
{"Move selected elements to other side" Flip(SelectedElements) a={"Shift-B" "Shift<Key>b"}}
{"Move selected to current layer" MoveToCurrentLayer(Selected) a={"Shift-M" "Shift<Key>m"}}
{"Remove selected objects" RemoveSelected() a={"Shift-Delete" "Shift<Key>Delete"}}
{"Convert selection to element" Select(Convert)}
-
{"Optimize selected rats" DeleteRats(SelectedRats) AddRats(SelectedRats)}
{"Auto-route selected rats" AutoRoute(SelectedRats) a={"Alt-R" "Alt<Key>r"}}
{"Rip up selected auto-routed tracks" RipUp(Selected)}
-
{"Change size of selected objects"
{"Lines -10 mil" ChangeSize(SelectedLines,-10,mil) ChangeSize(SelectedArcs,-10,mil)}
{"Lines +10 mil" ChangeSize(SelectedLines,+10,mil) ChangeSize(SelectedArcs,+10,mil)}
{"Pads -10 mil" ChangeSize(SelectedPads,-10,mil)}
{"Pads +10 mil" ChangeSize(SelectedPads,+10,mil)}
{"Pins -10 mil" ChangeSize(SelectedPins,-10,mil)}
{"Pins +10 mil" ChangeSize(SelectedPins,+10,mil)}
{"Texts -10 mil" ChangeSize(SelectedTexts,-10,mil)}
{"Texts +10 mil" ChangeSize(SelectedTexts,+10,mil)}
{"Vias -10 mil" ChangeSize(SelectedVias,-10,mil)}
{"Vias +10 mil" ChangeSize(SelectedVias,+10,mil)}
}
-
{"Change drilling hole of selected objects"
{"Vias -10 mil" ChangeDrillSize(SelectedVias,-10,mil)}
{"Vias +10 mil" ChangeDrillSize(SelectedVias,+10,mil)}
{"Pins -10 mil" ChangeDrillSize(SelectedPins,-10,mil)}
{"Pins +10 mil" ChangeDrillSize(SelectedPins,+10,mil)}
}
-
{"Change square-flag of selected objects"
{"Elements" ChangeSquare(SelectedElements)}
{"Pins" ChangeSquare(SelectedPins)}
}
}
#
# Buffer menu
#
{"Buffer" m=B
{"Cut to buffer" GetXY(Click to set the snap point for this buffer)
PasteBuffer(Clear) PasteBuffer(AddSelected) RemoveSelected() Mode(PasteBuffer)}
{"Paste buffer" Mode(PasteBuffer)}
-
{"Rotate buffer 90 deg CCW" Mode(PasteBuffer) PasteBuffer(Rotate,1)
a={"Shift-F7" "Shift<Key>F7"}}
{"Rotate buffer 90 deg CW" Mode(PasteBuffer) PasteBuffer(Rotate,3)}
{"Arbitrarily Rotate Buffer" Mode(PasteBuffer) FreeRotateBuffer()}
{"Mirror buffer (up/down)" Mode(PasteBuffer) PasteBuffer(Mirror)}
{"Mirror buffer (left/right)" Mode(PasteBuffer) PasteBuffer(Rotate,1)
PasteBuffer(Mirror) PasteBuffer(Rotate,3)}
-
{"Clear buffer" PasteBuffer(Clear)}
{"Convert buffer to element" PasteBuffer(Convert)}
{"Break buffer elements to pieces" PasteBuffer(Restore)}
{"Save buffer elements to file" Save(PasteBuffer)}
-
{"Select Buffer #1" checked=buffer,1 PasteBuffer(1) m=1 a={"Shift-1" "Shift<Key>1"}}
{"Select Buffer #2" checked=buffer,2 PasteBuffer(2) m=2 a={"Shift-2" "Shift<Key>2"}}
{"Select Buffer #3" checked=buffer,3 PasteBuffer(3) m=3 a={"Shift-3" "Shift<Key>3"}}
{"Select Buffer #4" checked=buffer,4 PasteBuffer(4) m=4 a={"Shift-4" "Shift<Key>4"}}
{"Select Buffer #5" checked=buffer,5 PasteBuffer(5) m=5 a={"Shift-5" "Shift<Key>5"}}
}
#
# Connects menu
#
{"Connects" m=C
{"Lookup connection" GetXY(Click on the object) Connection(Find) a={"Ctrl-F" "Ctrl<Key>f"}}
{"Reset scanned pads/pins/vias" Connection(ResetPinsViasAndPads) Display(Redraw)}
{"Reset scanned lines/polygons" Connection(ResetLinesAndPolygons) Display(Redraw)}
{"Reset all connections" Connection(Reset) Display(Redraw) a={"Shift-F" "Shift<Key>f"}}
-
{"Optimize rats nest" Atomic(Save) DeleteRats(AllRats)
Atomic(Restore) AddRats(AllRats) Atomic(Block) a={"O" "<Key>o"}}
{"Erase rats nest" DeleteRats(AllRats) a={"E" "<Key>e"}}
{"Erase selected rats" DeleteRats(SelectedRats) a={"Shift-E" "Shift<Key>e"}}
-
{"Auto-route selected rats" AutoRoute(Selected)}
{"Auto-route all rats" AutoRoute(AllRats)}
{"Rip up all auto-routed tracks" RipUp(All)}
-
{"Optimize routed tracks"
{"Auto-Optimize" djopt(auto) a={"Shift-=" "Shift<Key>="}}
{"Debumpify" djopt(debumpify) }
{"Unjaggy" djopt(unjaggy) }
{"Vianudge" djopt(vianudge) }
{"Viatrim" djopt(viatrim) }
{"Ortho pull" djopt(orthopull) }
{"Simple optimization" djopt(simple) a={"=" "<Key>="}}
{"Miter" djopt(miter) }
{"Puller" a={"Y" "<Key>y"} Puller() }
{"Global Puller"
{"Selected" GlobalPuller(selected) }
{"Found" GlobalPuller(found) }
{"All" GlobalPuller() }
}
-
{"Only autorouted nets" OptAutoOnly() checked=optautoonly}
}
-
{"Design Rule Checker" DRC()}
-
{"Apply vendor drill mapping" ApplyVendor()}
}
#
# Info Menu
#
{"Info" m=I
{"Generate object report" ReportObject() a={"Ctrl-R" "Ctrl<Key>r"}}
{"Generate drill summary" Report(DrillReport)}
{"Report found pins/pads" Report(FoundPins)}
{"Key Bindings"
{"Remove" a={"Delete" "<Key>Delete"}
Mode(Save)
Mode(Remove)
Mode(Notify)
Mode(Restore)
}
{"Remove Selected" a={"Backspace" "<Key>BackSpace"}
RemoveSelected()
}
{"Remove Connected" a={"Shift-Backspace" "Shift<Key>BackSpace"}
Atomic(Save)
Connection(Reset)
Atomic(Restore)
Unselect(All)
Atomic(Restore)
Connection(Find)
Atomic(Restore)
Select(Connection)
Atomic(Restore)
RemoveSelected()
Atomic(Restore)
Connection(Reset)
Atomic(Restore)
Unselect(All)
Atomic(Block)
}
{"Set Same" a={"A" "<Key>a"} SetSame()}
{"Flip Object" a={"B" "<Key>b"} Flip(Object)}
{"Find Connections" a={"F" "<Key>f"} Connection(Reset) Connection(Find)}
{"ToggleHideName Object" a={"H" "<Key>h"} ToggleHideName(Object)}
{"ToggleHideName SelectedElement" a={"Shift-H" "Shift<Key>h"} ToggleHideName(SelectedElements)}
{"ChangeHole Object" a={"Ctrl-H" "Ctrl<Key>h"} ChangeHole(Object)}
{"ChangeJoin Object" a={"J" "<Key>j"} ChangeJoin(Object)}
{"ChangeJoin SelectedObject" a={"Shift-J" "Shift<Key>j"} ChangeJoin(SelectedObjects)}
{"Clear Object +" a={"K" "<Key>k"} ChangeClearSize(Object,+)}
{"Clear Object -" a={"Shift-K" "Shift<Key>k"} ChangeClearSize(Object,-)}
{"Clear Selected +" a={"Ctrl-K" "Ctrl<Key>k"} ChangeClearSize(SelectedObjects,+)}
{"Clear Selected -" a={"Shift-Ctrl-K" "Shift Ctrl<Key>k"} ChangeClearSize(SelectedObjects,-)}
{"Line Tool size +" a={"L" "<Key>l"} SetValue(LineSize,+)}
{"Line Tool size -" a={"Shift-L" "Shift<Key>l"} SetValue(LineSize,-)}
{"Move Object to current layer" a={"M" "<Key>m"} MoveToCurrentLayer(Object)}
{"MarkCrosshair" a={"Ctrl-M" "Ctrl<Key>m"} MarkCrosshair()}
{"Select shortest rat" a={"Shift-N" "Shift<Key>n"} AddRats(Close)}
{"AddRats to selected pins" a={"Shift-O" "Shift<Key>o"}
Atomic(Save)
DeleteRats(AllRats)
Atomic(Restore)
AddRats(SelectedRats)
Atomic(Block) }
{"ChangeOctagon Object" a={"Ctrl-O" "Ctrl<Key>o"} ChangeOctagon(Object)}
{"Polygon PreviousPoint" a={"P" "<Key>p"} Polygon(PreviousPoint)}
{"Polygon Close" a={"Shift-P" "Shift<Key>p"} Polygon(Close)}
{"ChangeSquare Object" a={"Q" "<Key>q"} ChangeSquare(ToggleObject)}
{"ChangeSize +" a={"S" "<Key>s"} ChangeSize(Object,+)}
{"ChangeSize -" a={"Shift-S" "Shift<Key>s"} ChangeSize(Object,-)}
{"ChangeDrill +5 mil" a={"Alt-S" "Alt<Key>s"} ChangeDrillSize(Object,+5,mil)}
{"ChangeDrill -5 mil" a={"Alt-Shift-S" "Alt Shift<Key>s"} ChangeDrillSize(Object,-5,mil)}
{"Text Tool scale +10 mil" a={"T" "<Key>t"} SetValue(TextScale,+10,mil)}
{"Text Tool scale -10 mil" a={"Shift-T" "Shift<Key>t"} SetValue(TextScale,-10,mil)}
{"Via Tool size +5 mil" a={"Shift-V" "Shift<Key>v"} SetValue(ViaSize,+5,mil)}
{"Via Tool size -5 mil" a={"Shift-Ctrl-V" "Shift Ctrl<Key>v"} SetValue(ViaSize,-5,mil)}
{"Via Tool drill +5 mil" a={"Alt-V" "Alt<Key>v"} SetValue(ViaDrillingHole,+5,mil)}
{"Via Tool drill -5 mil" a={"Alt-Shift-V" "Alt Shift<Key>v"} SetValue(ViaDrillingHole,-5,mil)}
{"AddRats Selected" a={"Shift-W" "Shift<Key>w"} AddRats(SelectedRats)}
{"Add All Rats" a={"W" "<Key>w"} AddRats(AllRats)}
{"Cycle Clip" a={"/" "<Key>/"} Display(CycleClip)}
{"Arrow Mode" a={"Space" "<Key>space"} Mode(Arrow) checked=arrowmode,1}
{"Temp Arrow ON" a={"[" "<Key>["} Mode(Save) Mode(Arrow) Mode(Notify)}
{"Temp Arrow OFF" a={"]" "<Key>]"} Mode(Release) Mode(Restore)}
-
{"Step Up" a={"Up" "<Key>Up"} Cursor(Warp,0,1,grid)}
{"Step Down" a={"Down" "<Key>Down"} Cursor(Warp,0,-1,grid)}
{"Step Left" a={"Left" "<Key>Left"} Cursor(Warp,-1,0,grid)}
{"Step Right" a={"Right" "<Key>Right"} Cursor(Warp,1,0,grid)}
{"Step +Up" a={"Up" "Shift<Key>Up"} Cursor(Pan,0,50,view)}
{"Step +Down" a={"Down" "Shift<Key>Down"} Cursor(Pan,0,-50,view)}
{"Step +Left" a={"Left" "Shift<Key>Left"} Cursor(Pan,-50,0,view)}
{"Step +Right" a={"Right" "Shift<Key>Right"} Cursor(Pan,50,0,view)}
{'"Click"' a={"Enter" "<Key>Enter"} Mode(Notify) Mode(Release)}
-
}
}
#
# Window Menu
#
{"Window" m=W
{"Library" DoWindows(Library) a={"i" "<Key>i"}}
{"Message Log" DoWindows(Log)}
{"DRC Check" DoWindows(DRC)}
{"Netlist" DoWindows(Netlist)}
{"Command Entry" Command() a={":" "<Key>:"}}
{"Pinout" Display(Pinout) a={"Shift-D" "Shift<Key>d"}}
-
{"About..." About()}
}
}
PopupMenus =
{
Popup1 =
{
{"Operations on selections"
{"Unselect all objects" Unselect(All)}
{"Remove selected objects" RemoveSelected()}
{"Copy selection to buffer"
GetXY(Click to set the snap point for this buffer)
PasteBuffer(Clear)
PasteBuffer(AddSelected)
Mode(PasteBuffer)
}
{"Cut selection to buffer"
GetXY(Click to set the snap point for this buffer)
PasteBuffer(Clear)
PasteBuffer(AddSelected)
RemoveSelected()
Mode(PasteBuffer)
}
{"Convert selection to element" Select(Convert)}
{"Auto place selected elements" AutoPlaceSelected()}
{"Autoroute selected elements" AutoRoute(SelectedRats)}
{"Rip up selected auto-routed tracks" RipUp(Selected)}
}
{"Operations on this location"
{"Generate object report" GetXY(Click on the object) Report(Object)}
}
-
{"Undo last operation" Undo()}
{"Redo last undone operation" Redo()}
-
{Tools
{"None" checked=nomode,1 Mode(None)}
{"Via" checked=viamode,1 Mode(Via) a={"F1" "<Key>F1"}}
{"Line" checked=linemode,1 Mode(Line) a={"F2" "<Key>F2"}}
{"Arc" checked=arcmode,1 Mode(Arc) a={"F3" "<Key>F3"}}
{"Text" checked=textmode,1 Mode(Text) a={"F4" "<Key>F4"}}
{"Rectangle" checked=rectanglemode,1 Mode(Rectangle) a={"F5" "<Key>F5"}}
{"Polygon" checked=polygonmode,1 Mode(Polygon) a={"F6" "<Key>F6"}}
{"Polygon Hole" checked=polygonholemode,1 Mode(PolygonHole)}
{"Buffer" checked=pastebuffermode,1 Mode(PasteBuffer) a={"F7" "<Key>F7"}}
{"Remove" checked=removemode,1 Mode(Remove) a={"F8" "<Key>F8"}}
{"Rotate" checked=rotatemode,1 Mode(Rotate) a={"F9" "<Key>F9"}}
{"Thermal" checked=thermalmode,1 Mode(Thermal) a={"F10" "<Key>F10"}}
{"Arrow" checked=arrowmode,1 Mode(Arrow) a={"F11" "<Key>F11"}}
{"Insert Point" checked=insertpointmode,1 Mode(InsertPoint) a={"Insert" "<Key>Insert"}}
{"Move" checked=movemode,1 Mode(Move)}
{"Copy" checked=copymode,1 Mode(Copy)}
{"Lock" checked=lockmode,1 Mode(Lock) a={"F12" "<Key>F12"}}
{"Cancel" Mode(Escape) a={"Esc" "<Key>Escape"}}
}
}
}
|