set Resources(ximtool) { \ ! Main image window resources. ! ------------------------------- *allowShellResize: True *beNiceToColormap: False *menuLabel.foreground: Gold *markerMenu.foreground: White *rulerMenu.foreground: White *display.imagewin.markerMenu.foreground: White *display.imagewin.rulerMenu.foreground: White *markerMenu.background: SteelBlue *markerMenu*SimpleMenu.foreground: White *markerMenu*SimpleMenu.background: SteelBlue *rulerMenu.background: SteelBlue *rulerMenu*SimpleMenu.foreground: White *rulerMenu*SimpleMenu.background: SteelBlue *rulerColor.SmeBSB.leftMargin: 16 *magzoomMenu.foreground: White *magzoomMenu.background: SteelBlue *magzoomMenu*SimpleMenu.foreground: White *magzoomMenu*SimpleMenu.background: SteelBlue *markerColor.SmeBSB.leftMargin: 64 *markerColor.SmeBSB.rightMargin: 0 *markerColor.menuLabel.leftMargin: 5 *markerColor.menuLabel.rightMargin: 5 *rulerColor.SmeBSB.leftMargin: 64 *rulerColor.SmeBSB.rightMargin: 0 *rulerColor.menuLabel.leftMargin: 5 *rulerColor.menuLabel.rightMargin: 5 *ximtool.title: XIMTOOL_VERSION *display.borderWidth: 0 *display.layout: horizontal { \ -0 \ vertical { \ menuGroup < +inf -inf * > \ horizontal { 1 toolbar < +inf -inf * > 1 } \ 1 < -1 > \ horizontal { 1 panelbar < +inf -inf * > 1 } \ 1 < -1 > \ vertical { \ horizontal { \ imageFrame < +inf -inf * +inf -inf > \ vcutFrame < * +inf -inf > \ } \ horizontal { \ hcutFrame < +inf -inf * > 1 \ vertical { 4 plotOpts -4 } \ } \ horizontal { \ cbarFrame < +inf -inf * > \ hcut 2 vcut \ } \ } \ } \ -0 \ } *hcut.label: H *hcut.font: *lucida-bold-r*10* *vcut.label: V *vcut.font: *lucida-bold-r*10* *hcutFrame.frameType: sunken *hcutFrame.frameWidth: 1 *hcutFrame.innerOffset: 0 *hcutFrame.outerOffset: 0 *hcutPlot.color0: gray77 *hcutPlot.color1: black *hcutPlot.color0: darkslategray *hcutPlot.color1: ivory2 *hcutPlot.crosshairCursorColor: red *hcutPlot.width: 512 *hcutPlot.height: 5 *hcutPlot.borderWidth: 0 *hcutPlot.alphaFont1: 6x10 *hcutPlot.alphaFont2: 6x10 *hcutPlot.alphaFont3: 6x10 *hcutPlot.alphaFont4: 6x10 *hcutPlot.alphaFont5: 6x10 *hcutPlot.alphaFont6: 6x10 *hcutPlot.alphaFont7: 6x10 *hcutPlot.alphaFont8: 6x10 *hcutPlot.translations: \ !Ctrl 1: call(cpZoom,1,1,fixed) \n\ !Ctrl 2: call(cpZoom,2,2,fixed) \n\ !Ctrl 3: call(cpZoom,3,3,fixed) \n\ !Ctrl 4: call(cpZoom,4,4,fixed) \n\ !Ctrl 5: call(cpZoom,5,5,fixed) \n\ !Ctrl 6: call(cpZoom,6,6,fixed) \n\ !Ctrl 7: call(cpZoom,7,7,fixed) \n\ !Ctrl 8: call(cpZoom,8,8,fixed) \n\ !Ctrl 9: call(cpZoom,9,9,fixed) \n\ !Ctrl b: call(prevFrame,$name) \n\ !Ctrl f: call(nextFrame,$name) \n\ !Ctrl i: call(cpInvert) \n\ !Ctrl m: call(toggleMagnifier) \n\ !Ctrl n: call(normalize) \n\ !Ctrl p: call(togglePanner) \n\ !Ctrl Alt q: call(Quit) \n\ !Ctrl r: call(cpRegisterFrames) \n\ !Ctrl s: call(cpMatchFrames) \n\ !Ctrl u: call(cpZoom,1,1,fixed) \n\ Ctrl +: call(cpZoom,2.0,2.0,relative) \n\ Ctrl -: call(cpZoom,0.5,0.5,relative) \n\ Ctrl \<: call(cpSetBlinkRate,BRdecrease) \n\ Ctrl \>: call(cpSetBlinkRate,BRincrease) \n\ !Alt b: call(toggleBlink) \n\ !Alt c: call(controlPanel) \n\ !Alt h: call(Help) \n\ !Alt i: call(infoPanel) \n\ !Ctrl Alt f: call(fitFrame) \n\ !Alt l: call(loadPanel) \n\ !Alt p: call(printPanel) \n\ !Alt s: call(savePanel) \n\ !Alt t: call(tclPanel) \n\ !: call(makeMarker,$name,$x,$y) m_create() \n\ : enter-window() \n\ : leave-window() \n\ : graphics-input() \n\ !Alt : call(curtrack_msg,$x,$y) \n\ : track-cursor() call(hcutWCSUpdate,$x,$y) *vcutFrame.frameType: sunken *vcutFrame.frameWidth: 1 *vcutFrame.innerOffset: 0 *vcutFrame.outerOffset: 0 *vcutPlot.color0: gray77 *vcutPlot.color1: black *vcutPlot.color0: darkslategray *vcutPlot.color1: ivory2 *vcutPlot.crosshairCursorColor: red *vcutPlot.width: 5 *vcutPlot.height: 512 *vcutPlot.borderWidth: 0 *vcutPlot.alphaFont1: 6x10 *vcutPlot.alphaFont2: 6x10 *vcutPlot.alphaFont3: 6x10 *vcutPlot.alphaFont4: 6x10 *vcutPlot.alphaFont5: 6x10 *vcutPlot.alphaFont6: 6x10 *vcutPlot.alphaFont7: 6x10 *vcutPlot.alphaFont8: 6x10 *vcutPlot.translations: \ !Ctrl 1: call(cpZoom,1,1,fixed) \n\ !Ctrl 2: call(cpZoom,2,2,fixed) \n\ !Ctrl 3: call(cpZoom,3,3,fixed) \n\ !Ctrl 4: call(cpZoom,4,4,fixed) \n\ !Ctrl 5: call(cpZoom,5,5,fixed) \n\ !Ctrl 6: call(cpZoom,6,6,fixed) \n\ !Ctrl 7: call(cpZoom,7,7,fixed) \n\ !Ctrl 8: call(cpZoom,8,8,fixed) \n\ !Ctrl 9: call(cpZoom,9,9,fixed) \n\ !Ctrl b: call(prevFrame,$name) \n\ !Ctrl f: call(nextFrame,$name) \n\ !Ctrl i: call(cpInvert) \n\ !Ctrl m: call(toggleMagnifier) \n\ !Ctrl n: call(normalize) \n\ !Ctrl p: call(togglePanner) \n\ !Ctrl Alt q: call(Quit) \n\ !Ctrl r: call(cpRegisterFrames) \n\ !Ctrl s: call(cpMatchFrames) \n\ !Ctrl u: call(cpZoom,1,1,fixed) \n\ Ctrl +: call(cpZoom,2.0,2.0,relative) \n\ Ctrl -: call(cpZoom,0.5,0.5,relative) \n\ Ctrl \<: call(cpSetBlinkRate,BRdecrease) \n\ Ctrl \>: call(cpSetBlinkRate,BRincrease) \n\ !Alt b: call(toggleBlink) \n\ !Alt c: call(controlPanel) \n\ !Alt h: call(Help) \n\ !Alt i: call(infoPanel) \n\ !Ctrl Alt f: call(fitFrame) \n\ !Alt l: call(loadPanel) \n\ !Alt p: call(printPanel) \n\ !Alt s: call(savePanel) \n\ !Alt t: call(tclPanel) \n\ !: call(makeMarker,$name,$x,$y) m_create() \n\ : enter-window() \n\ : leave-window() \n\ : graphics-input() \n\ !Alt : call(curtrack_msg,$x,$y) \n\ : track-cursor() call(vcutWCSUpdate,$x,$y) *plotOpts.label: Options !*plotOpts*location: 0 0 105 18 *plotOpts*location: 0 0 1 18 *plotOpts.shrinkToFit: True *plotOpts.outerOffset: 5 *plotOpts.innerOffset: 3 *plotOpts.frameWidth: 2 *plotOpts*TextToggle.offIcon: square0s *plotOpts*TextToggle.onIcon: square1s *plotOpts*TextToggle.highlightColor: yellow *plotOpts*TextToggle.outerOffset: 0 *plotOpts*TextToggle.frameWidth: 0 *plotOpts*TextToggle.selectionStyle: multi *plotOpts*TextToggle.leftMargin: 3 *plotOpts*TextToggle.alignment: left *poptsLayout.borderWidth: 0 *poptsLayout.layout: vertical { \ -1 \ plotSpeed plotAccurate plotImgPix \ 2 < -2 > \ horizontal { -4 optLine < +inf -inf * > -4 } \ 2 < -2 > \ curJump curSmooth curTrack \ -1 \ } *plotSpeed.label: Better Speed *plotSpeed.on: True *plotAccurate.label: Better Accuracy *plotAccurate.on: False *plotImgPix.label: Image Pixels *plotImgPix.on: False *plotImgPix.sensitive: False *optLine.height: 2 *optLine.width: 120 *optLine.outerOffset: 0 *optLine.innerOffset: 0 *optLine.frameWidth: 2 *optLine.frameType: chiseled *curJump.label: Jump Cursor *curJump.on: True *curSmooth.label: Smooth Cursor *curSmooth.on: False *curTrack.label: Graphics Cursors *curTrack.on: True *menuGroup.label: *menuGroup.height: 40 *menuGroup.width: 518 *menuGroup.frameType: raised *menuGroup.frameWidth: 2 *menubar.layout: horizontal { \ 2 < -2 > \ fileButton 1 < -1 > viewButton 1 < -1 > optionsButton \ 1 < -1 > \ imageTitle < +inff -inff * > \ 1 < -1 > \ mXflipButton 1 < -1 > mYflipButton \ 1 < -1 > \ mPrevButton 1 < -1 > mFrameButton 1 < -1 > mNextButton \ 1 < -1 > \ toolButton 1 < -1 > panelButton \ 2 < -2 > \ } *menubar*SimpleMenu.foreground: Black *menubar*SimpleMenu.borderWidth: 1 *menubar*SimpleMenu.foreground: White *menubar*SimpleMenu.background: SteelBlue *SmeBSB.vertSpace: 10 *menubar.width: 518 *menubar*borderWidth: 0 *menubar*Command.internalWidth: 0 *menubar*Command.borderWidth: 0 *menubar*Toggle.label: x *menubar*Toggle.internalWidth: 0 *menubar*Toggle.borderWidth: 0 *toolbar.layout: horizontal { \ tbZoomIn < +inf -inf * > 1 < -1 > \ tbZoom0 < +inf -inf * > 1 < -1 > \ tbZoomOut < +inf -inf * > 1 < -1 > \ tbInvert < +inf -inf * > 1 < -1 > \ tbNormalize < +inf -inf * > 1 < -1 > \ tbMatchLUT < +inf -inf * > 1 < -1 > \ tbAutoReg < +inf -inf * > 1 < -1 > \ tbRegister < +inf -inf * > 1 < -1 > \ tbCenter < +inf -inf * > 1 < -1 > \ tbBlinkDec < +inf -inf * > 1 < -1 > \ tbBlink < +inf -inf * > 1 < -1 > \ tbBlinkInc < +inf -inf * > 1 < -1 > \ xflipButton < +inf -inf * > 1 < -1 > \ yflipButton < +inf -inf * > 1 < -1 > \ tbCompass < +inf -inf * > 1 < -1 > \ tbTile < +inf -inf * > 1 < -1 > \ prevButton < +inf -inf * > 1 < -1 > \ frameButton < +inf -inf * > 1 < -1 > \ nextButton < +inf -inf * > 1 < -1 > \ } *toolbar.width: 518 *toolbar.height: 25 *toolbar*borderWidth: 0 *toolbar*Command.internalWidth: 3 *toolbar*Command.borderWidth: 0 *toolbar*Toggle.internalWidth: 2 *toolbar*Toggle.borderWidth: 0 *panelbar.layout: horizontal { \ pbDisplayP < +inf -inf * > 1 < -1 > \ pbPrintP < +inf -inf * > 1 < -1 > \ pbLoadP < +inf -inf * > 1 < -1 > \ pbSaveP < +inf -inf * > 1 < -1 > \ pbInfoP < +inf -inf * > 1 < -1 > \ pbTileP < +inf -inf * > 1 < -1 > \ pbCoordP < +inf -inf * > 1 < -1 > \ pbPanM < +inf -inf * > 1 < -1 > \ pbMagM < +inf -inf * > 1 < -1 > \ pbWcsM < +inf -inf * > 1 < -1 > \ pbIsm < +inf -inf * > 1 < -1 > \ helpButton < +inf -inf * > 1 < -1 > \ pbQuit < +inf -inf * > 1 < -1 > \ } *panelbar*SimpleMenu.borderColor: Black *panelbar*SimpleMenu.borderWidth: 1 *SmeBSB.vertSpace: 10 *panelbar.width: 12 *panelbar.height: 25 *panelbar*borderWidth: 0 *panelbar*Label.internalWidth: 4 *panelbar*Label.borderWidth: 0 *panelbar*Command.internalWidth: 4 *panelbar*Command.borderWidth: 0 *panelbar*Toggle.internalWidth: 3 *panelbar*Toggle.borderWidth: 0 *pbLoadP.label: Load *pbDisplayP.label: Display *pbSaveP.label: Save *pbPrintP.label: Print *pbInfoP.label: Info *pbTileP.label: Tile *pbCoordP.label: Coords *pbPanM.label: Pan *pbPanM.state: 1 *pbMagM.label: Mag *pbMagM.state: 0 *pbWcsM.label: WCS *pbWcsM.state: 1 *pbIsm.label: ISM *pbIsm.state: 0 *helpButton.label: *fileButton.label: File *fileButton.menuName: fileMenu *viewButton.label: View *viewButton.menuName: viewMenu *optionsButton.label: Options *optionsButton.menuName: optionsMenu *toolButton.label: *toolButton.state: 0 *panelButton.label: *panelButton.state: 0 *imageTitle*font: *times-bold-r*12* *imageTitle.width: 40 *imageTitle.height: 20 *frameButton.menuName: frameMenu *frameButton.label: 1 *frameButton.width: 20 *mFrameButton.menuName: mFrameMenu *mFrameButton.label: 1 *mFrameButton.width: 20 *pbQuit.label: Quit *tbZoom0.label: Mag *tbBlink.label: Blink *tbBlink.internalWidth: 3 *tbCenter.label: Cntr *tbAutoReg.label: AReg *tbRegister.label: Reg *tbInvert.label: Inv *tbNormalize.label: Norm *tbMatchLUT.label: Match *SimpleMenu*font: -adobe-times-bold-r-normal-*-12-*-*-*-*-*-iso8859-1 *fileButton.font: -adobe-times-bold-i-normal-*-12-*-*-*-*-*-iso8859-1 *optionsButton.font: -adobe-times-bold-i-normal-*-12-*-*-*-*-*-iso8859-1 *viewButton.font: -adobe-times-bold-i-normal-*-12-*-*-*-*-*-iso8859-1 *panelbar*font: -adobe-times-bold-i-normal-*-12-*-*-*-*-*-iso8859-1 *toolbar*font: -adobe-times-bold-i-normal-*-12-*-*-*-*-*-iso8859-1 *Gterm.cmapName: image *Gterm.basePixel: 64 *imageFrame.frameType: sunken *imageFrame.frameWidth: 1 *imageFrame.outerOffset: 0 *imageFrame.innerOffset: 0 *imageFrame.width: 518 *imageFrame.height: 518 *cbarFrame.frameType: sunken *cbarFrame.frameWidth: 1 *cbarFrame.outerOffset: 0 *cbarFrame.innerOffset: 0 *cbarFrame.width: 518 *imagewin.warpCursor: true *imagewin.raiseWindow: true *imagewin.deiconifyWindow: true *imagewin.idleCursor: crosshair *imagewin.ginmodeCursor: circle *imagewin.ginmodeBlinkInterval: 500 *imagewin.resizable: true *imagewin.copyOnResize: false *imagewin.width: 512 *imagewin.height: 512 *imagewin.color8: #7c8498 *imagewin.color9: SteelBlue *imagewin.maxMappings: 64 *imagewin.borderWidth: 0 *imagewin.translations: \ NoneLeft: call(move_cursor,-1,0) \n\ NoneDown: call(move_cursor,0,1) \n\ NoneUp: call(move_cursor,0,-1) \n\ NoneRight: call(move_cursor,1,0) \n\ !Shift Left: call(move_cursor,-10,0) \n\ !Shift Down: call(move_cursor,0,10) \n\ !Shift Up: call(move_cursor,0,-10) \n\ !Shift Right: call(move_cursor,10,0) \n\ !Ctrl h: call(move_cursor,-1,0) \n\ !Ctrl j: call(move_cursor,0,1) \n\ !Ctrl k: call(move_cursor,0,-1) \n\ !Ctrl l: call(move_cursor,1,0) \n\ !Ctrl Shift h: call(move_cursor,-10,0) \n\ !Ctrl Shift j: call(move_cursor,0,10) \n\ !Ctrl Shift k: call(move_cursor,0,-10) \n\ !Ctrl Shift l: call(move_cursor,10,0) \n\ !Ctrl Left: call(moveFrame,-1,0) \n\ !Ctrl Down: call(moveFrame,0,1) \n\ !Ctrl Up: call(moveFrame,0,-1) \n\ !Ctrl Right: call(moveFrame,1,0) \n\ !Ctrl Alt Left: call(moveFrame,-0.5,0) \n\ !Ctrl Alt Down: call(moveFrame,0,0.5) \n\ !Ctrl Alt Up: call(moveFrame,0,-0.5) \n\ !Ctrl Alt Right: call(moveFrame,0.5,0) \n\ !Alt 1: call(cpSetFrame,frame1) \n\ !Alt 2: call(cpSetFrame,frame2) \n\ !Alt 3: call(cpSetFrame,frame3) \n\ !Alt 4: call(cpSetFrame,frame4) \n\ !Ctrl 1: call(cpZoom,1,1,fixed) \n\ !Ctrl 2: call(cpZoom,2,2,fixed) \n\ !Ctrl 3: call(cpZoom,3,3,fixed) \n\ !Ctrl 4: call(cpZoom,4,4,fixed) \n\ !Ctrl 5: call(cpZoom,5,5,fixed) \n\ !Ctrl 6: call(cpZoom,6,6,fixed) \n\ !Ctrl 7: call(cpZoom,7,7,fixed) \n\ !Ctrl 8: call(cpZoom,8,8,fixed) \n\ !Ctrl 9: call(cpZoom,9,9,fixed) \n\ !Ctrl a: call(tbToggleAutoReg) \n\ !Ctrl b: call(prevFrame,$name) \n\ !Ctrl c: call(cpZoomAction,centerFrame) \n\ !Ctrl f: call(nextFrame,$name) \n\ !Ctrl i: call(cpInvert) \n\ !Ctrl m: call(toggleMagnifier) \n\ !Ctrl n: call(normalize) \n\ !Ctrl o: call(offset,$x,$y) \n\ !Ctrl p: call(togglePanner) \n\ !Ctrl Alt q: call(Quit) \n\ !Ctrl r: call(cpRegisterFrames) \n\ !Ctrl s: call(cpMatchFrames) \n\ !Ctrl t: call(tbTileFramesToggle) \n\ !Ctrl u: call(cpZoom,1,1,fixed) \n\ !Ctrl x: call(cpFrameAction,flipX) \n\ !Ctrl y: call(cpFrameAction,flipY) \n\ Ctrl +: call(cpZoom,2.0,2.0,relative) \n\ Ctrl -: call(cpZoom,0.5,0.5,relative) \n\ !Ctrl Alt =: call(Print) \n\ Ctrl \<: call(cpSetBlinkRate,BRdecrease) \n\ Ctrl \>: call(cpSetBlinkRate,BRincrease) \n\ Ctrl \[: call(setCtrBoxSize,$x,$y,-1) \n\ Ctrl \]: call(setCtrBoxSize,$x,$y,1) \n\ !Ctrl 0: call(centroid,$x,$y,peak) \n\ !Ctrl Alt 0: call(centroid,$x,$y,min) \n\ !Alt b: call(toggleBlink) \n\ !Alt c: call(controlPanel) \n\ !Alt h: call(Help) \n\ !Alt i: call(infoPanel) \n\ !Ctrl Alt f: call(fitFrame) \n\ !Alt l: call(loadPanel) \n\ !Alt p: call(printPanel) \n\ !Alt s: call(savePanel) \n\ !Alt t: call(tclPanel) \n\ !Shift: call(setDynamicMagnifier,1) \n\ !Shift: call(setDynamicMagnifier,0) \n\ !: call(makeMarker,$name,$x,$y) m_create() \n\ !Shift : crosshair(on) \n\ !Shift : crosshair(on) \n\ !Shift : crosshair(off) \n\ !: crosshair(off) \n\ !: call(zoom,$x,$y) \n\ !: call(windowColormap,$x,$y) \n\ !: call(windowColormap,$x,$y) \n\ !Ctrl : call(makeRuler,$name,$x,$y) \n\ !Ctrl : track-cursor() call(wcsUpdate,$x,$y) call(magnifierMapImage,$x,$y) call(resizeRuler,$x,$y,0) \n\ !Ctrl : call(deleteRuler,$x,$y) \n\ : enter-window() \n\ : leave-window() \n\ : graphics-input() \n\ !Alt : call(curtrack_msg,$x,$y) \n\ : track-cursor() call(wcsUpdate,$x,$y) call(magnifierMapImage,$x,$y) ! The following translations can be used to enable windowing of the ! individual RGB components of the colormap. It's not very useful but ! included here for those that may wish to use it. !-------------------------------------------------------------------------- ! !Ctrl : call(windowRGB,1,$x,$y,0) \n\ ! !Ctrl : call(windowRGB,1,$x,$y,0) \n\ ! !Ctrl : call(windowRGB,1,$x,$y,1) \n\ ! !Ctrl : call(windowRGB,2,$x,$y,0) \n\ ! !Ctrl : call(windowRGB,2,$x,$y,0) \n\ ! !Ctrl : call(windowRGB,2,$x,$y,1) \n\ ! !Ctrl : call(windowRGB,3,$x,$y,0) \n\ ! !Ctrl : call(windowRGB,3,$x,$y,0) \n\ ! !Ctrl : call(windowRGB,3,$x,$y,1) \n\ *colorbar.maxRasters: 1 *colorbar.maxMappings: 1 *colorbar.height: 17 *colorbar.width: 50 *colorbar.borderWidth: 0 }