! ! COPYRIGHT ! ! PCB, interactive printed circuit board design ! Copyright (C) 1994,1995,1996, 1997 Thomas Nau ! Copyright (C) 1998, 1999, 2000, 2001, 2002 harry eaton ! ! 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 ! the Free Software Foundation; either version 2 of the License, or ! (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program; if not, write to the Free Software ! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ! ! RCS: $Id: Pcb.ad.raw,v 1.1 2005/12/18 00:11:31 dj Exp $ ! !--------------------------------------------------------------------------- ! resources as defined by pcb ! pcb.alignmentDistance: 200 pcb.allDirectionLines: Off pcb.backupInterval: 60 pcb.charactersPerLine: 78 pcb.connectedColor: green pcb.crosshairColor: red pcb.crossColor: yellow pcb.elementColor: black pcb.elementSelectedColor: cyan pcb.elementCommand: M4PATH='%p';export M4PATH;echo 'include(%f)' | GNUM4 pcb.elementPath: .:PCBTREEDIR:packages:circuits:PCBLIBDIR:PCBLIBDIR/circuits:PCBLIBDIR/packages pcb.fileCommand: cat '%f' pcb.filePath: . pcb.fontCommand: M4PATH='%p';export M4PATH;echo 'include(%f)' | GNUM4 pcb.fontFile: FONTFILENAME pcb.fontPath: .:PCBLIBDIR pcb.grid: 20 pcb.gridColor: red pcb.warnColor: hot pink pcb.maskColor: red pcb.invertedFrameWidth: 500 pcb.invisibleObjectsColor: gray80 pcb.invisibleMarkColor: gray70 pcb.layerColor1: brown4 pcb.layerColor2: RoyalBlue3 pcb.layerColor3: DodgerBlue4 pcb.layerColor4: OrangeRed3 pcb.layerColor5: PaleGreen4 pcb.layerColor6: burlywood4 pcb.layerColor7: turquoise4 pcb.layerColor8: forest green pcb.layerGroups: 1,c:2,s:3:4:5:6:7:8 pcb.layerName1: component pcb.layerName2: solder pcb.layerName3: GND pcb.layerName4: power pcb.layerName5: signal1 pcb.layerName6: signal2 pcb.layerName7: unused pcb.layerName8: unused pcb.layerSelectedColor1: cyan pcb.layerSelectedColor2: cyan pcb.layerSelectedColor3: cyan pcb.layerSelectedColor4: cyan pcb.layerSelectedColor5: cyan pcb.layerSelectedColor6: cyan pcb.layerSelectedColor7: cyan pcb.layerSelectedColor8: cyan pcb.libraryCommand: PCBLIBDIR/QueryLibrary.sh '%p' '%f' %a pcb.libraryContentsCommand: PCBLIBDIR/ListLibraryContents.sh '%p' '%f' pcb.libraryFilename: LIBRARYFILENAME pcb.libraryPath: .:PCBLIBDIR pcb.lineThickness: 10 pcb.media: a4 pcb.menuFile: PCBLIBDIR/pcb-menu.res pcb.offLimitColor: gray80 pcb.pinColor: gray30 pcb.pinSelectedColor: cyan pcb.pinoutFont0: -*-courier-bold-r-*-*-24-*-*-*-*-*-*-* pcb.pinoutFont1: -*-courier-bold-r-*-*-12-*-*-*-*-*-*-* pcb.pinoutFont2: -*-courier-bold-r-*-*-8-*-*-*-*-*-*-* pcb.pinoutFont3: -*-courier-bold-r-*-*-4-*-*-*-*-*-*-* pcb.pinoutFont4: -*-courier-bold-r-*-*-2-*-*-*-*-*-*-* pcb.pinoutNameLength: 8 pcb.pinoutOffsetX: 100 pcb.pinoutOffsetY: 100 pcb.pinoutTextOffsetX: 20 pcb.pinoutTextOffsetY: 0 pcb.pinoutZoom: 2 pcb.printFile: %f.output pcb.raiseLogWindow: On pcb.ratColor: DarkGoldenrod pcb.ratSelectedColor: cyan pcb.ratThickness: 10 pcb.resetAfterElement: On pcb.ringBellWhenFinished: Off pcb.routeStyles: Signal,10,55,28,10:Power,25,60,35,10:Fat,40,60,35,10:Skinny,8,36,20,7 pcb.saveCommand: cat - > '%f' pcb.saveInTMP: Off pcb.saveLastCommand: Off pcb.size: 6000x5000 pcb.stipplePolygons: Off pcb.textScale: 100 pcb.useLogWindow: On pcb.uniqueNames: On pcb.snapPin: On pcb.clearLines: On pcb.viaColor: gray50 pcb.viaSelectedColor: cyan pcb.viaThickness: 60 pcb.viaDrillingHole: 28 pcb.volume: 100 pcb.zoom: 3 pcb.Bloat: 7 pcb.Shrink: 5 !--------------------------------------------------------------------------- ! resources that are common to all 'subwindows' ! pcb*beNiceToColormap: false pcb*background: gray90 pcb.masterForm*background gray90 pcb*Command.highlightThickness: 1 pcb*defaultButton.borderWidth: 2 pcb*defaultButton.highlightThickness: 2 !pcb*font: -*-courier-bold-r-*-*-14-*-*-*-*-*-*-* pcb*Label.borderWidth: 0 pcb*Label.justify: center pcb*MenuButton.resizable: off pcb*Toggle.borderWidth: 1 pcb*selector*List.verticalList: On pcb*selector.height: 240 pcb*selector.width: 180 pcb*horizDistance: 2 pcb*defaultButton.accelerators: #override \ Return: set() notify() unset() \n pcb*cancelButton.accelerators: #override \ Escape: set() notify() unset() \n *Scrollbar.translations: #override \ : StartScroll(Continuous) MoveThumb() NotifyThumb()\n\ : MoveThumb() NotifyThumb()\n\ : NotifyScroll(Proportional) EndScroll()\n\ Up: StartScroll(Backward) \ NotifyScroll(FullLength) \ EndScroll() \n\ Down: StartScroll(Forward) \ NotifyScroll(FullLength) \ EndScroll() \n\ Left: StartScroll(Backward) \ NotifyScroll(FullLength) \ EndScroll() \n\ Right: StartScroll(Forward) \ NotifyScroll(FullLength) \ EndScroll() \n !--------------------------------------------------------------------------- ! toplevel shell resources ! pcb*baseTranslations: #override \ !BTNMODq: Quit() \n\ WM_PROTOCOLS: Quit() \n !--------------------------------------------------------------------------- ! resources used by control panel ! on/off are Toggles, active layer is MenuButton ! Note the panner must have a 4:3 aspect ratio to work properly ! pcb*controlMasterForm*font: -*-courier-bold-r-*-*-12-*-*-*-*-*-*-* pcb*controlMasterForm*SimpleMenu.resizeable: True pcb*controlMasterForm*shadowWidth: 0 pcb*controlMasterForm*borderWidth: 0 pcb*controlMasterForm*SimpleMenu.borderWidth: 1 pcb*controlMasterForm*horizDistance: 1 pcb*controlMasterForm*MenuButton.width: 72 pcb*controlMasterForm*Toggle.width: 72 pcb*controlMasterForm*Label.height: 12 pcb*controlMasterForm*Label.width: 72 pcb*controlMasterForm*MenuButton.background: white pcb*controlMasterForm*MenuButton.height: 14 pcb*controlMasterForm*MenuButton.borderWidth: 1 pcb*controlMasterForm*Toggle.background: white pcb*controlMasterForm*Toggle.height: 14 pcb*controlMasterForm*Toggle.borderWidth: 1 pcb*controlMasterForm*panner.width: 72 pcb*controlMasterForm*panner.height: 54 pcb*controlMasterForm*panner.rubberBand: False pcb*controlMasterForm*panner.borderWidth: 2 pcb*controlMasterForm*panner.shadowWidth: 2 pcb*controlMasterForm*panner.baseTranslations: #override \ Up: Display(Scroll, 8) \n\ Down: Display(Scroll, 2) \n\ Right: Display(Scroll, 6) \n\ Left: Display(Scroll, 4) \n !--------------------------------------------------------------------------- ! resources used by the tool-selection area ! pcb.masterForm.Toggle.foreground: black !pcb.masterForm.Toggle.internalHeight: 1 !pcb.masterForm.Toggle.internalWidth: 1 pcb*toolMasterForm.Toggle.horizDistance: 3 pcb*toolMasterForm.Toggle.vertDistance: 3 !--------------------------------------------------------------------------- ! resources used by the file select box ! pcb*fileselectMasterForm*current.vertDistance: 20 pcb*fileselectMasterForm*input.width: 366 pcb*fileselectMasterForm*input*background: gray90 pcb*fileselectMasterForm.defaultButton.accelerators: #override \ Return: set() notify() unset() \n\ (2): set() notify() unset() \n !--------------------------------------------------------------------------- ! resources used by the size select box ! pcb*sizeMasterForm*Label.vertDistance: 10 !--------------------------------------------------------------------------- ! resources of the library window ! pcb*library.iconic: true pcb.library.geometry: 750x250 pcb.library*type*foreground: red pcb.library.baseTranslations: #override \ WM_PROTOCOLS: Bell() \n pcb*libraryMasterForm*List.baseTranslations: #replace \ ,: Set() Notify() \n\ !--------------------------------------------------------------------------- ! resources of the netlist window ! pcb*netlist.iconic: false pcb.netlist.geometry: 400x200 pcb.netlist*net*foreground: red pcb.netlist.baseTranslations: #override \ WM_PROTOCOLS: Bell() \n pcb*netlistMasterForm*List.baseTranslations: #replace \ ,: Set() Notify() \n\ (2): ListAct() Set() \n\ BackSpace: ListAct(Kill) \n\ u: Undo() \n\ Shiftz: SetValue(Zoom, +1)\n\ z: SetValue(Zoom, -1)\n !--------------------------------------------------------------------------- ! resources of the logging window ! pcb*log.iconic: true pcb.log.geometry: 600x200 pcb.log.baseTranslations: #override \ WM_PROTOCOLS: Bell() \n !--------------------------------------------------------------------------- ! resources of the print selection window ! pcb*printMasterForm*Command.width: 100 pcb*printMasterForm*comment.vertDistance: 20 pcb*printMasterForm*input.width: 150 pcb*printMasterForm*Panner.background: gray90 pcb*printMasterForm*Toggle.width: 150 !--------------------------------------------------------------------------- ! resources of the layer-group edit window ! pcb*layerGroupMasterForm*comment.width: 150 pcb*layerGroupMasterForm*comment.justify: left pcb*layerGroupMasterForm*groupNumber.horizDistance: 6 pcb*layerGroupMasterForm*groupNumber.width: 20 pcb*layerGroupMasterForm*layerGroup.width: 150 pcb*layerGroupMasterForm*layerName.justify: left pcb*layerGroupMasterForm*layerName.width: 150 pcb*layerGroupMasterForm*Toggle.width: 20 !--------------------------------------------------------------------------- ! resources of the pinout window ! pcb*pinoutMasterForm*viewport.height: 240 pcb*pinoutMasterForm*viewport.width: 320 pcb*pinoutMasterForm.dismiss.accelerators: #override \ WM_PROTOCOLS: set() notify() unset() \n pcb*pinoutMasterForm.viewport.horizontal.accelerators: #override \ !BTNMOD CtrlLeft: StartScroll(Backward) \ NotifyScroll(FullLength) \ EndScroll() \n\ !BTNMOD CtrlRight: StartScroll(Forward) \ NotifyScroll(FullLength) \ EndScroll() \n pcb*pinoutMasterForm.viewport.vertical.accelerators: #override \ !BTNMOD CtrlUp: StartScroll(Backward) \ NotifyScroll(FullLength) \ EndScroll() \n\ !BTNMOD CtrlDown: StartScroll(Forward) \ NotifyScroll(FullLength) \ EndScroll() \n !--------------------------------------------------------------------------- ! resources used by the menu buttons ! Note that these overrides plus those of the menus below make the menus ! behave as "sticky" menus. ! The next two lines elliminate the menu button borders ! but there is no convenient way to underline the first characters. pcb.masterForm*MenuButton.shadowWidth: 0 pcb.masterForm*MenuButton.BorderWidth: 0 pcb*MenuButton.baseTranslations: #override \ : set() \n\ : reset() PopupMenu() \n !--------------------------------------------------------------------------- ! resources used by the menus ! pcb*header.foreground: red pcb*SimpleMenu*justify: left pcb*SimpleMenu.baseTranslations: #override \ : highlight() \n\ ,: MenuPopdown() notify() unhighlight() \n\ : \n !--------------------------------------------------------------------------- ! resources used by statuslines and input field ! pcb.masterForm*cursorPosition.justify: left pcb.masterForm*cursorPosition.width: 300 pcb.masterForm*inputField*borderWidth: 0 pcb.masterForm*messageText.foreground: red pcb.masterForm*messageText.justify: left pcb.masterForm*statusLine.justify: left !--------------------------------------------------------------------------- ! resources used by the output area pcb.masterForm*output*background: gray95 !--------------------------------------------------------------------------- ! translations of the output area ! pcb.masterForm*output.baseTranslations: #override \ Escape: Mode(None) \n\ space: Mode(Arrow) \n\ colon: Command() \n\ ShiftBackSpace: 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) \n\ ShiftDelete: 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) \n\ BackSpace: Mode(Save) \ Mode(Remove) \ Mode(Notify) \ Mode(Restore) \n\ Delete: Mode(Save) \ Mode(Remove) \ Mode(Notify) \ Mode(Restore) \n\ Insert: Mode(InsertPoint) \n\ Tab: SwapSides() \n\ \ Ctrl1: RouteStyle(1) \n\ Ctrl2: RouteStyle(2) \n\ Ctrl3: RouteStyle(3) \n\ Ctrl4: RouteStyle(4) \n\ \ Shift1: PasteBuffer(1) \n\ Shift2: PasteBuffer(2) \n\ Shift3: PasteBuffer(3) \n\ Shift4: PasteBuffer(4) \n\ Shift5: PasteBuffer(5) \n\ \ 1: SwitchDrawingLayer(1) \n\ 2: SwitchDrawingLayer(2) \n\ 3: SwitchDrawingLayer(3) \n\ 4: SwitchDrawingLayer(4) \n\ 5: SwitchDrawingLayer(5) \n\ 6: SwitchDrawingLayer(6) \n\ 7: SwitchDrawingLayer(7) \n\ 8: SwitchDrawingLayer(8) \n\ 9: SwitchDrawingLayer(9) \n\ \ Shift BTNMODa: Unselect(All) \n\ BTNMODa: Select(All) \n\ Shiftb: Flip(Selected) \n\ b: Flip(Object) \n\ BTNMODc: PasteBuffer(Clear) \ PasteBuffer(AddSelected) \ Unselect(All) \n\ c: Display(Center) \n\ Shiftd: Display(Pinout) \n\ d: Display(PinOrPadName) \n\ Shifte: DeleteRats(SelectedRats) \n\ e: DeleteRats(AllRats) \n\ Ctrlf: Connection(Find) \n\ Shiftf: Connection(Reset) \n\ f: Connection(Reset) \ Connection(Find) \n\ Shiftg: SetValue(Grid, -5) \n\ g: SetValue(Grid, +5) \n\ Shifth: ToggleHideName(SelectedElements) \n\ Ctrlh: ChangeHole(ToggleObject) \n\ h: ToggleHideName(Object) \n\ j: ChangeJoin(Object) \n\ Shiftk: ChangeClearSize(Object, -2) \n\ k: ChangeClearSize(Object, +2) \n\ Shiftl: SetValue(LineSize, -5) \n\ l: SetValue(LineSize, +5) \n\ Shiftm: MoveToCurrentLayer(SelectedObjects) \n\ Ctrlm: MarkCrosshair() \n\ m: MoveToCurrentLayer(Object) \n\ n: ChangeName(Object) \n\ Shifto: Atomic(Save) \ DeleteRats(AllRats) \ Atomic(Restore) \ AddRats(SelectedRats) \ Atomic(Block) \n\ Ctrlo: ChangeOctagon(Object) \n\ o: Atomic(Save) \ DeleteRats(AllRats) \ Atomic(Restore) \ AddRats(AllRats) \ Atomic(Block) \n\ Ctrlp: AutoPlaceSelected() \n\ Shiftp: Polygon(Close) \n\ p: Polygon(PreviousPoint) \n\ BTNMODq: Quit() \n\ q: ChangeSquare(ToggleObject) \n\ BTNMODr: AutoRoute(SelectedRats) \n\ Shiftr: Redo() \n\ Ctrlr: Report(Object) \n\ r: Display(ClearAndRedraw) \n\ BTNMOD Shifts: ChangeDrillSize(Object, -5) \n\ Shifts: ChangeSize(Object, -5) \n\ BTNMODs: ChangeDrillSize(Object, +5) \n\ s: ChangeSize(Object, +5) \n\ Shiftt: SetValue(TextScale, -5) \n\ t: SetValue(TextScale, +5) \n\ Shift Ctrlu: Undo(ClearList) \n\ u: Undo() \n\ BTNMOD Shiftv: SetValue(ViaDrillingHole, -5) \n\ Shift Ctrlv: SetValue(ViaSize, -5) \n\ BTNMODv: SetValue(ViaDrillingHole, +5) \n\ Ctrlv: SetValue(ViaSize, +5) \n\ v: SetValue(Zoom, 1000) \n\ Shiftw: AddRats(SelectedRats) \n\ w: AddRats(AllRats) \n\ Shift Ctrlx: PasteBuffer(Clear) \ PasteBuffer(AddSelected) \ RemoveSelected() \ Mode(PasteBuffer) \n\ Ctrlx: PasteBuffer(Clear) \ PasteBuffer(AddSelected) \ Mode(PasteBuffer) \n\ BTNMODx: PasteBuffer(Clear) \ PasteBuffer(AddSelected) \ RemoveSelected() \n\ Shiftz: SetValue(Zoom, +1) \n\ BTNMODz: Undo() \n\ z: SetValue(Zoom, -1) \ Display(Center) \n\ .: Display(Toggle45Degree) \n\ /: Display(CycleClip) \n\ \ BTNMODUp: Display(Scroll, 8) \ Display(Scroll, 0) \n\ BTNMODDown: Display(Scroll, 2) \ Display(Scroll, 0) \n\ BTNMODRight: Display(Scroll, 6) \ Display(Scroll, 0) \n\ BTNMODLeft: Display(Scroll, 4) \ Display(Scroll, 0) \n\ \ ShiftUp: MovePointer(0, -10) \n\ Up: MovePointer(0, -1) \n\ ShiftDown: MovePointer(0, 10) \n\ Down: MovePointer(0, 1) \n\ ShiftRight: MovePointer(10, 0) \n\ Right: MovePointer(1, 0) \n\ ShiftLeft: MovePointer(-10, 0) \n\ Left: MovePointer(-1, 0) \n\ \ F1: Mode(Via) \n\ F2: Mode(Line) \n\ F3: Mode(Arc) \n\ F4: Mode(Text) \n\ F5: Mode(Rectangle) \n\ F6: Mode(Polygon) \n\ ShiftF7: PasteBuffer(Rotate, 1) \n\ F7: Mode(PasteBuffer) \n\ F8: Mode(Delete) \n\ F9: Mode(Rotate) \n\ F10: Mode(Thermal) \n\ F11: Mode(Arrow) \n\ \ [: Mode(Save) \ Mode(Move) \ Mode(Notify) \n\ ]: Mode(Notify) \ Mode(Restore) \n\ \ Shift Ctrl: Mode(Save) \ Mode(Remove) \ Mode(Notify) \ Mode(Restore) \n\ Ctrl: Mode(Save) \ Mode(None) \ Mode(Restore) \ Mode(Notify) \n\ : Mode(Notify) \n\ : Mode(Release) \n\ \ Shift BTNMOD: Display(ToggleRubberbandMode) \ Mode(Save) \ Mode(Move) \ Mode(Notify) \n\ Ctrl: Mode(Save) \ Mode(Copy) \ Mode(Notify) \n\ : Mode(Save) \ Mode(Stroke) \n\ Shift BTNMOD: Mode(Notify) \ Mode(Restore) \ Display(ToggleRubberbandMode) \n\ Ctrl: Mode(Notify) \ Mode(Restore) \n\ : Mode(Release) \ Mode(Restore) \n\ \ Shift: Display(Save) \ SetValue(Zoom, 1000) \n\ Shift: Display(Center) \ Display(Restore) \n\ : ButtonThree() \n !-------------------------------------------------------------------- ! The "None" is necessary for the MenuPopup, ! otherwise the menu won't get a grab ! ! None: XawPositionSimpleMenu(pmenu) \ ! XtMenuPopup(pmenu) \n\ ! Shift : Mode(Save) \ ! Mode(None) \ ! Unselect(Block) \n\ ! Shift: Unselect(Block) \ ! Mode(Restore) \n\ ! BTNMOD: Mode(Save) \ ! Mode(None) \ ! Select(Block) \n\ ! BTNMOD: Select(Block) \ ! Mode(Restore) \n