!Don't change the following string - xfig uses it to determine ! if you have the newest app-defaults files installed Fig.version: 3.2.4 ! some sample settings you may want to change ! The following fixes a problem that some window managers have ! with xfig continually resizing itself Fig*AllowShellResize: false ! Image editor - can edit imported image Fig.image_editor: xv ! name of ghostscript (not ghostview) Fig.ghostscript: gs ! Browser - put your favorite browser here. ! This is for viewing the xfig html reference. ! For netscape, this command will open the help pages in a running netscape, ! or start a new netscape if one isn't already running Fig.browser: open %f ! pdfviewer - put your favorite pdf viewer here. ! This is for viewing the xfig how-to guide and man pages Fig.pdfviewer: open %f ! Spell check program - put your favorite spelling check program here. ! It must write the misspelled words to standard output. Fig.spellcheckcommand: spell %f ! delay before spinner automatically counts when pressed (milliseconds) Fig.spinner_delay: 1000 ! rate at which spinner counts (milliseconds between counting) Fig.spinner_rate: 150 ! font for the buttons Fig.buttonFont: 6x13 ! font for the rulers and message window Fig.normalFont: 6x13 ! font for the file name and popup query widgets Fig.boldFont: 8x13bold ! font for the ruler numbers Fig*topruler.font: 6x13 Fig*sideruler.font: 6x13 ! font for the units box in the corner where the rulers meet Fig*unitbox.font: 6x13 ! font for everything else Fig*Font: 7x13bold ! filename mask for the file popup browser Fig*file_panel*mask*string: *.fig *.fig.gz *.fig.[Zz] ! default export language Fig.exportLanguage: eps ! filename mask for the image popup browser Fig*browse_panel*mask*string: *.gif* *.jpg* *.pcx* *.png* *.ppm* *.tif* *.xpm* *.xbm* *.ps* *.eps* ! printer name ! If the following resource is NOT set, xfig will use the PRINTER ! shell environment variable for the printer name !Fig*printer*string: ps ! printer job parameters ! If you are running a SYSV system your print command may need -T PS. If so, ! uncomment the following. You may want to add any print params here anyway. ! If you want the filename to be sent to the printer for the "Job" parameter ! you may add -J %f to the job_params string. !Fig*job_params*string: -T PS ! Set the maximum number of colors to use for color images (EPS,GIF,XPM) ! xfig will try to install a private colormap if needed to get this ! nubmer of colors UNLESS -dontswitchcmap (resource Fig.dont_switch_cmap) ! is set. Fig.max_image_colors: 80 ! delay (milliseconds) before popping up info balloon Fig*balloon_delay: 500 ! Spacing between buttons Fig.internalborderwidth: 1 ! If you are using the 3d Athena widget set (which looks very nice) ! and you want the scrollbars to be 3d (even though they look funny) ! then comment out the following three resources. ! NOTE: ! There are two names for top/bottom shadow colors (e.g. topShadow and ! topShadowPixel) because the resources changed in version 1.1 of Xaw3d. ! (Version 1.1 uses xxxShadowPixel). ! I include both for compatibility. Be sure to change both values when ! modifying them. Fig*horizontal.shadowWidth: 0 Fig*horizontal.topShadowPixel: black Fig*horizontal.bottomShadowPixel: white Fig*horizontal.topShadow: black Fig*horizontal.bottomShadow: white ! the following is done so the widget set doesn't try to make shades of ! the scrollbar shadows (even though the width is 0 it takes more colors) Fig*Scrollbar.shadowWidth: 0 Fig*Scrollbar.topShadow: black Fig*Scrollbar.bottomShadow: white Fig*Scrollbar.topShadowPixel: black Fig*Scrollbar.bottomShadowPixel: white ! this is for the standard color buttons in the color panel Fig*stdColor.shadowWidth: 2 Fig*stdColor.topShadow: black Fig*stdColor.bottomShadow: white Fig*stdColor.topShadowPixel: black Fig*stdColor.bottomShadowPixel: white ! turn off any shadows for the user color cells Fig*colorMemory.shadowWidth: 0 ! You may need or want to adjust the highlight thickness for the mode ! and indicator panels depending on the results. If it is too thick ! it will erase part of the button graphics. Fig*mode_panel*highlightThickness: 1 Fig*ind_panel.ind_box.button_form.button.highlightThickness: 1 ! Same for the popup panels from the indicator panel Fig*set_indicator_panel*Command.highlightThickness: 1 ! If you use the 3D Athena widget set and the small icons for the mode panel ! (because you have a small screen; see Imakefile) you may want to reduce ! the shadow width to 1 or 0. Uncomment the following in that case: ! Fig*mode_panel*shadowWidth: 1 ! The following is for the update marker in the upper-right corner of the ! indicator buttons. You may not want any highlight thickness because ! the boxes are so small. Fig*ind_panel.ind_box.button_form.update.highlightThickness: 0 ! This sets the shadows for the spinner arrows Fig*spinup.shadowWidth: 2 Fig*spindown.shadowWidth: 2 ! This gets rid of that funny black line that sometimes borders the canvas Fig*canvas.shadowWidth: 0 !if on monochrome server, or no Fig-color app-defaults file ! This background resource shows between the buttons like a border Fig*mode_panel.background: black Fig*mode_panel.foreground: black ! Specify a private Compose key database file. If this resource contains a "/" ! then the wired-in name of the xfig global directory won't be prefixed to it. ! An initial "~/" is replaced by the value of "$HOME/". ! !Fig*keyFile: ~/.xfig.Compose-key ! If xfig is compiled with I18N option, you may want to uncomment following line. ! !Fig.international: true ! Note that you shouldn't remove the following "Fig*international: false". ! It must be there to cancel any *international: true that may defined via xrdb. ! This can cause problems on xfig even if the i18n facility is used. Fig*international: false ! Uncomment following lines if you use i18n text. ! !Fig*edit_panel*Text_text*international: true !Fig*edit_panel*inputMethod: xim Fig.translations: #override \n\ : \n\ : ! keyboard accelerators Fig*accelerators: \ Metan: New() \n\ Altn: New() \n\ Metao: OpenFile() \n\ Alto: OpenFile() \n\ Metam: MergeFile() \n\ Altm: MergeFile() \n\ Metaz: PopupDigitize() \n\ Altz: PopupDigitize() \n\ Metas: DoSave() \n\ Alts: DoSave() \n\ Metaa: SaveAs() \n\ Alta: SaveAs() \n\ Shift Metax: ExportFile() \n\ Shift Altx: ExportFile() \n\ Metax: PopupExport() \n\ Altx: PopupExport() \n\ Shift Metap: PrintFile() \n\ Shift Altp: PrintFile() \n\ Metap: PopupPrint() \n\ Altp: PopupPrint() \n\ Metaq: Quit() \n\ Altq: Quit() \n\ Metau: Undo() \n\ Altu: Undo() \n\ Metat: Paste() \n\ Altt: Paste() \n\ Metai: Search() \n\ Alti: Search() \n\ Metak: SpellCheck() \n\ Altk: SpellCheck() \n\ Metag: PopupGlobals() \n\ Altg: PopupGlobals() \n\ Metad: DeleteAll() \n\ Altd: DeleteAll() \n\ Ctrll: Redraw() \n\ Metar: Redraw() \n\ Altr: Redraw() \n\ Metac: ChangeOrient() \n\ Altc: ChangeOrient() \n\ Shiftz: ZoomIn() \n\ Ctrlz: ZoomFit() \n\ z: ZoomOut()\n\ Ctrly: ShowNamedStyles() \n\ Metab: ToggleShowBorders() \n\ Altb: ToggleShowBorders() \n\ Metay: ToggleShowBalloons() \n\ Alty: ToggleShowBalloons() \n\ Metal: ToggleShowLengths() \n\ Altl: ToggleShowLengths() ! Translations for when File menu is popped up Fig*commands*File*translations: #augment \n\ : XtMenuPopdown(filemenu) \n\ : highlight() \n\ f: \n\ Metae: XtMenuPopdown(filemenu) PlaceMenu(editmenu) xMenuPopup(editmenu) \n\ Metav: XtMenuPopdown(filemenu) PlaceMenu(viewmenu) xMenuPopup(viewmenu) \n\ Metah: XtMenuPopdown(filemenu) PlaceMenu(helpmenu) xMenuPopup(helpmenu) \n\ n: XtMenuPopdown(filemenu) New() \n\ o: XtMenuPopdown(filemenu) OpenFile() \n\ m: XtMenuPopdown(filemenu) MergeFile() \n\ d: XtMenuPopdown(filemenu) PopupDigitize() \n\ s: XtMenuPopdown(filemenu) DoSave() \n\ a: XtMenuPopdown(filemenu) SaveAs() \n\ e: XtMenuPopdown(filemenu) PopupExport() \n\ p: XtMenuPopdown(filemenu) PopupPrint() \n\ x: XtMenuPopdown(filemenu) Quit() \n\ 1: XtMenuPopdown(filemenu) LoadRecent(1) \n\ 2: XtMenuPopdown(filemenu) LoadRecent(2) \n\ 3: XtMenuPopdown(filemenu) LoadRecent(3) \n\ 4: XtMenuPopdown(filemenu) LoadRecent(4) \n\ 5: XtMenuPopdown(filemenu) LoadRecent(5) \n\ 6: XtMenuPopdown(filemenu) LoadRecent(6) \n\ 7: XtMenuPopdown(filemenu) LoadRecent(7) \n\ 8: XtMenuPopdown(filemenu) LoadRecent(8) \n\ 9: XtMenuPopdown(filemenu) LoadRecent(9) \n\ :XtMenuPopdown(filemenu) Fig*commands*File*accelerators: \ Metaf: PlaceMenu(filemenu)xMenuPopup(filemenu) \n\ Altf: PlaceMenu(filemenu)xMenuPopup(filemenu) ! Translations for when Edit menu is popped up Fig*commands*Edit*translations: #augment \n\ : highlight() \n\ e: \n\ Metaf: XtMenuPopdown(editmenu) PlaceMenu(filemenu) xMenuPopup(filemenu) \n\ Metav: XtMenuPopdown(editmenu) PlaceMenu(viewmenu) xMenuPopup(viewmenu) \n\ Metah: XtMenuPopdown(editmenu) PlaceMenu(helpmenu) xMenuPopup(helpmenu) \n\ u: XtMenuPopdown(editmenu) Undo() \n\ p: XtMenuPopdown(editmenu) Paste() \n\ t: XtMenuPopdown(editmenu) PasteCanv() \n\ f: XtMenuPopdown(editmenu) Search() \n\ s: XtMenuPopdown(editmenu) SpellCheck() \n\ d: XtMenuPopdown(editmenu) DeleteAll() \n\ g: XtMenuPopdown(editmenu) PopupGlobals() \n\ n: XtMenuPopdown(editmenu) PopupUnits() \n\ : XtMenuPopdown(editmenu) Fig*commands*Edit*accelerators: \ Metae: PlaceMenu(editmenu)xMenuPopup(editmenu) \n\ Alte: PlaceMenu(editmenu)xMenuPopup(editmenu) Fig*commands*View*translations: #augment \n\ : highlight() \n\ v: \n\ Metaf: XtMenuPopdown(viewmenu) PlaceMenu(filemenu) xMenuPopup(filemenu) \n\ Metae: XtMenuPopdown(viewmenu) PlaceMenu(editmenu) xMenuPopup(editmenu) \n\ Metah: XtMenuPopdown(viewmenu) PlaceMenu(helpmenu) xMenuPopup(helpmenu) \n\ s: XtMenuPopdown(viewmenu) ShowNamedStyles() \n\ r: XtMenuPopdown(viewmenu) Redraw() \n\ t: XtMenuPopdown(viewmenu) ChangeOrient() \n\ i: XtMenuPopdown(viewmenu) ZoomIn() \n\ o: XtMenuPopdown(viewmenu) ZoomOut() \n\ f: XtMenuPopdown(viewmenu) ZoomFit() \n\ u: XtMenuPopdown(viewmenu) Unzoom() \n\ p: XtMenuPopdown(viewmenu) PanOrigin() \n\ c: XtMenuPopdown(viewmenu) PopupCharmap() \n\ d: XtMenuPopdown(viewmenu) ToggleShowDepths() \n\ n: XtMenuPopdown(viewmenu) ToggleShowBalloons() \n\ b: XtMenuPopdown(viewmenu) ToggleShowBorders() \n\ l: XtMenuPopdown(viewmenu) ToggleShowLengths() \n\ a: XtMenuPopdown(viewmenu) ToggleAutoRefresh() \n\ v,v: XtMenuPopdown(viewmenu) ToggleShowVertexnums() \n\ : XtMenuPopdown(viewmenu) Fig*commands*View*accelerators: \ Metav: PlaceMenu(viewmenu)xMenuPopup(viewmenu) \n\ Altv: PlaceMenu(viewmenu)xMenuPopup(viewmenu) Fig*commands*Help*translations: #augment \n\ : highlight() \n\ Metah: \n\ Metaf: XtMenuPopdown(helpmenu) PlaceMenu(filemenu) xMenuPopup(filemenu) \n\ Metae: XtMenuPopdown(helpmenu) PlaceMenu(editmenu) xMenuPopup(editmenu) \n\ Metav: XtMenuPopdown(helpmenu) PlaceMenu(viewmenu) xMenuPopup(viewmenu) \n\ x: XtMenuPopdown(helpmenu) RefMan() \n\ m: XtMenuPopdown(helpmenu) Man() \n\ h: XtMenuPopdown(helpmenu) HowToGuide() \n\ a: XtMenuPopdown(helpmenu) AboutXfig() \n\ : XtMenuPopdown(helpmenu) Fig*commands*Help*accelerators: \ Metah: PlaceMenu(helpmenu)xMenuPopup(helpmenu) \n\ Alth: PlaceMenu(helpmenu)xMenuPopup(helpmenu) Fig*set_nval_panel*accelerators: \ Escape: QuitNval() Fig*set_choice_panel*accelerators: \ Escape: QuitChoice() Fig*set_dimline_panel*accelerators: \ Escape: QuitDimline() ! file popop accelerators Fig*file_panel*accelerators: \ Escape: CancelFile() \n\ Metac: CancelFile() \n\ Altc: CancelFile() \n\ Metaq: CancelFile() \n\ Altq: CancelFile() \n\ Metar: Rescan() \n\ Altr: Rescan() ! export popop accelerators Fig*export_panel*accelerators: \ Escape: CancelExport() \n\ Metac: CancelExport() \n\ Altc: CancelExport() \n\ Metaq: CancelExport() \n\ Altq: CancelExport() \n\ Metar: Rescan() \n\ Altr: Rescan() ! print popup accelerators Fig*print_panel*accelerators: \ Escape: Dismiss() \n\ Metac: Dismiss() \n\ Altc: Dismiss() \n\ Metaq: Dismiss() \n\ Altq: Dismiss() \n\ Metad: Dismiss() \n\ Altd: Dismiss() \n\ Metab: PrintBatch() \n\ Altb: PrintBatch() \n\ Metax: ClearBatch() \n\ Altx: ClearBatch() \n\ Metap: Print() \n\ Altp: Print() ! edit popop accelerators Fig*edit_panel*accelerators: \ Escape: CancelEdit() \n\ Metac: CancelEdit() \n\ Altc: CancelEdit() \n\ Metaq: CancelEdit() \n\ Altq: CancelEdit() ! unit popup accelerators Fig*unit_panel*accelerators: \ Escape: QuitUnits() \n\ Metac: QuitUnits() \n\ Altc: QuitUnits() \n\ Metaq: QuitUnits() \n\ Altq: QuitUnits() \n\ Metas: SetUnits() \n\ Alts: SetUnits() \n\ Return: SetUnits() Fig*search_panel*accelerators: \ Escape: QuitSearchPanel() \n\ Metac: QuitSearchPanel() \n\ Altc: QuitSearchPanel() \n\ Metaq: QuitSearchPanel() \n\ Altq: QuitSearchPanel() \n\ Return: SearchText() ! found text popup accelerators Fig*found_text_panel*accelerators: \ Escape: QuitFoundTextPanel() \n\ Metac: QuitFoundTextPanel() \n\ Altc: QuitFoundTextPanel() \n\ Metaq: QuitFoundTextPanel() \n\ Altq: QuitFoundTextPanel() ! this makes the accelerators work in the text part of the found text panel Fig*found_text_panel*Text*translations: #override \ Escape: QuitFoundTextPanel() \n\ Metac: QuitFoundTextPanel() \n\ Altc: QuitFoundTextPanel() \n\ Metaq: QuitFoundTextPanel() \n\ Altq: QuitFoundTextPanel() ! spellcheck popup accelerators Fig*spell_check_panel*accelerators: \ Escape: QuitSpellPanel() \n\ Metac: QuitSpellPanel() \n\ Altc: QuitSpellPanel() \n\ Metaq: QuitSpellPanel() \n\ Altq: QuitSpellPanel() ! global settings popup Fig*global_panel*accelerators: \ Escape: DismissGlobal() \n\ Metac: DismissGlobal() \n\ Altc: DismissGlobal() \n\ Metaq: DismissGlobal() \n\ Altq: DismissGlobal() ! Acceleraters for object creation/editing Fig*mode_panel*accelerators: \ Ctrla: ModeAddPoint() \n\ Shifta: ModeArrow() \n\ a: ModeAlign() \n\ Shiftb: ModeArcBox() \n\ b: ModeBox() \n\ Ctrlc: ModeCopyObject() \n\ Shiftc: ModeEllipseD() \n\ c: ModeEllipseR() \n\ Shiftd: ModeDeletePoint() \n\ d: ModeDeleteObject() \n\ Ctrle: ModeEditObject() \n\ Shifte: ModeEllipseD() \n\ e: ModeEllipseR() \n\ Shiftf: ModeFlipObjectLR() \n\ f: ModeFlipObjectUD() \n\ Ctrlg: ModeAnglemeas() \n\ Shiftg: ModeBreakCompound() \n\ g: ModeCompound() \n\ Shifti: ModeClIntSpline() \n\ i: ModeIntSpline() \n\ j: ModeJoinSplit() \n\ Shiftl: ModePopupLibrary() \n\ l: ModeLine() \n\ Ctrlm: ModeAreameas() \n\ Shiftm: ModeMovePoint() \n\ m: ModeMoveObject() \n\ Ctrln: ModeLenmeas() \n\ n: ModeTangent() \n\ o: ModeOpenCompound() \n\ Ctrlp: ModePIC() \n\ Shiftp: ModeRegPoly() \n\ p: ModePoly() \n\ Ctrlr: ModeRotateObjectCW() \n\ Shiftr: ModeRotateObjectCCW() \n\ r: ModeArc() \n\ Ctrls: ModeScale() \n\ Shifts: ModeClSpline() \n\ s: ModeSpline() \n\ t: ModeText() \n\ u: ModeUpdateObject() \n\ v: ModeConvertObject() ! to make the color selection menu in the popup editor work Fig*color_menu_form*Command.translations: \ : highlight() \n\ : reset() \n\ : set() notify() unset() ! make divider entry in menus have no 3d look so the user knows it ! is not selectable Fig*menu_divider.font: 7x13 Fig*menu_divider.justify: center Fig*menu_divider.topShadowContrast: 0 Fig*menu_divider.bottomShadowContrast: 0 ! ---------------------------------------------------------------- ! Wheel-mouse SUPPORT: ! written by T.Sato ! switch setting via wheel rotation ! Fig*ind_panel*Command.translations: #override \ :PressMiddle()\n\ :ReleaseMiddle()\n\ :PressRight()\n\ :ReleaseRight() ! up/down numeric value via wheel rotation ! Fig*spinner_form*Text.translations: #override \ : SpinnerUpDown(-) \n\ : SpinnerUpDown(+) \n\ : SpinnerUpDown(-) \n\ : SpinnerUpDown(+) Fig*spinner_form*Command.translations: #override \ : set() \n\ : notify() unset() ! popup drawing/editing menu via wheel rotation. ! if Control is pressed, zoom in/zoom out via wheel rotation. ! Fig*canvas.translations: #override \ Shift: PopupModePanel(draw) \n\ Shift: PopupModePanel(edit) Fig*draw_menu*translations: #override \ WM_PROTOCOLS: PopdownModePanel() \n\ : PopdownModePanel() Fig*edit_menu*translations: #override \ WM_PROTOCOLS: PopdownModePanel() \n\ : PopdownModePanel() Fig*draw_menu*highlightThickness: 1 Fig*edit_menu*highlightThickness: 1 ! do not want to popup SimpleMenu via wheel rotation ! Fig*MenuButton.translations: #override \ : \n\ : ! END OF Wheel-mouse resources ! ----------------------------------------------------------------