! Xtps Resources

*useDPS: False
*input: True

Olps.title:				Mathematica Graphics
Olps.iconName:				Graphics
Olps.width:					400
Olps.height:				400
Motifps.title:				Mathematica Graphics
Motifps.iconName:			Graphics
Motifps.width:				400
Motifps.height:				400
Athenaps.title:				Mathematica Graphics
Athenaps.iconName:			Graphics
Athenaps.width:				400
Athenaps.height:			400

! Intercept the WM_DELETE_WINDOW client message
*xclMotif.translations:        #override\n\
    <ClientMessage>WM_PROTOCOLS: close()

! KLUDGE so Athena buttons will show up
Athenaps*background:			white

*resourcesInstalled:			True

*background:				#CCC
*foreground:				black
*font:			 *-helvetica-medium-r-normal--*-120-*-iso8859-*
*fontList:		 *-helvetica-medium-r-normal--*-120-*-iso8859-*

*PostScript.background:			white
*PostScript.defaultFont:	 -*-courier-medium-r-*--*-100-*-*-*-*-iso8859-1
*PostScript.syncAnimation:		True
*PostScript.simulateBackingStore:	True
*PostScript.backingStore:		NotUseful
*PostScript.shareable:			True
*PostScript.initString: \
  /ProcSet /WRI-Post-startup 256 string .resourcefilename \n\
  { run } { (Error: PostScript startup file not found) = } ifelse \n\
  /Courier 10 selectfont \n


*PostScript.translations:        #override\n\
    :<Key>Q:            close()                       \n\
    :<Key>q:            close()                       \n\

*maxColors:				125
*saveUnder:				False

*audioKludge:				True

*postView.layout: \
	registry	Registry	; \
	menubar		MenuBar		0 0 1 1 lrtxH; \
	postScript			0 1 1 1 lrtbxy; \

! Menubar

*menubar.MenuSpec.menuSpec: _fileMenu viewMenu soundMenu

*menubar*_fileMenu.labelString:		File
*menubar*_fileMenu.label:		File
*menubar*_fileMenu.mnemonic:		F

*menubar*viewMenu.labelString:		View
*menubar*viewMenu.label:		View
*menubar*viewMenu.mnemonic:		V

*menubar*soundMenu.labelString:		Sound
*menubar*soundMenu.label:		Sound
*menubar*soundMenu.mnemonic:		S

! File menu

*_fileMenu*menuSpec: popup_PFile_open popup_PFile_saveAs close

*menubar*popup_PFile_open.labelString:	Open...
*menubar*popup_PFile_open.label:	Open...
*menubar*popup_PFile_open.mnemonic:	O

*menubar*popup_PFile_saveAs.labelString:Save As...
*menubar*popup_PFile_saveAs.label:	Save As...
*menubar*popup_PFile_saveAs.mnemonic:	A

*menubar*close.labelString:		Quit
*menubar*close.label:			Quit
*menubar*close.mnemonic:		Q

*menubar*quit.labelString:		Quit
*menubar*quit.label:			Quit
*menubar*quit.mnemonic:			Q

! View menu

*viewMenu*menuSpec: popup_PRenderOpt popup_PAnimate

*menubar*popup_PRenderOpt.labelString:	Rendering Options...
*menubar*popup_PRenderOpt.label:	Rendering Options...
*menubar*popup_PRenderOpt.mnemonic:	R

*menubar*popup_PAnimate.labelString:	Animation Controls...
*menubar*popup_PAnimate.label:		Animation Controls...
*menubar*popup_PAnimate.mnemonic:	A

! Sound menu

*soundMenu*menuSpec: playSound cycleSound stopSound

*menubar*playSound.labelString:		Play Sound
*menubar*playSound.label:		Play Sound
*menubar*playSound.mnemonic:		P

*menubar*cycleSound.labelString:	Cycle Sound
*menubar*cycleSound.label:		Cycle Sound
*menubar*cycleSound.mnemonic:		C

*menubar*stopSound.labelString:		Stop Sound
*menubar*stopSound.label:		Stop Sound
*menubar*stopSound.mnemonic:		S

! Alerts

*aOpenWrite*title:               Error!
*aOpenWrite*alertType:           Error
*aOpenWrite*alertMessage:        Cannot open file for writing

*aOpenRead*title:               Error!
*aOpenRead*alertType:           Error
*aOpenRead*alertMessage:        Cannot open file for reading

*aWrite*title:               Error!
*aWrite*alertType:           Error
*aWrite*alertMessage:        Erro writing output file

! General Popup Resources
! $Id: Popup.r,v 1.8 1993/10/28 19:15:49 chrisl Exp $

*popupLayout.layout: \
	insideLayout	0 0 1 1 tblr; \
	bboxLayout	0 1 1 1 tblrh; \

*popupLayout*bboxLayout.layout: \
	separator 0 0 1 1 lrh; \
	popupBbox 0 1 1 1 wh; \

*popupBbox.orientation:				Horizontal
*popupBbox.packing:				PACK_COLUMN
*popupBbox.entryAlignment:			ALIGNMENT_CENTER
*popupBbox*defaultButtonShadowThickness:	1

*popupOk.labelString:				OK
*popupOk.label:					OK
*popupOk.showAsDefault:				True

*popupApply.labelString:			Apply
*popupApply.label:				Apply

*popupCancel.labelString:			Cancel
*Box*popupCancel.label:				Cancel
*popupCancel.label:				Reset

*popupHelp.labelString:				Help
*popupHelp.label:				Help

*borderWidth:					0

! OPEN LOOK Nastiness

*MenuButton*inputFocusColor:			gray75
*OblongButton*inputFocusColor:			gray75

! Athena KLUDGES

!*xclAthena*Toggle.background:			gray40
*xclAthena*Command.borderWidth:			1
*xclAthena*menubar.borderWidth:			1
*xclAthena*MenuButton.borderWidth:		1
*xclAthena*SimpleMenu.borderWidth:		1
*xclAthena*Text.borderWidth:			1
*xclAthena*Toggle.borderWidth:			1
*xclAthena*XclScrollbar.borderWidth:		1
*xclAthena*borderColor:				black

! $Id: PFile.r,v 1.1 1993/01/27 22:52:40 chrisl Exp $

*pFile*title:				File Selector
! Motif KLUDGE
*pFile_popup*title:			File Selector

*pFile*help.sensitive:			False

! Animation Control Popup Resources
! $Id: PAnimate.r,v 1.3 1994/05/19 22:47:03 chrisl Exp $

! Table widget options: name [col] [row] [h_span] [v_span] [lrtbwhWH]

*pAnimate.title:				Animation Control Panel
*pAnimate*defaultButtonShadowThickness:		1

*pAnimate*frame*label.label:			Frame Number
*pAnimate*frame*label.string:			Frame Number
*pAnimate*frame*label.labelString:		Frame Number

*pAnimate*frame*minLabel.label:			1
*pAnimate*frame*minLabel.string:		1
*pAnimate*frame*minLabel.labelString:		1

*pAnimate*Slider.height:			100
*pAnimate*Scale.height:				100
*pAnimate*Slider.orientation:			vertical
*pAnimate*Scale.orientation:			vertical

*pAnimate*textForm.width:			60
*pAnimate*text.width:				60

*pAnimate*frameRate*label.label:		Frames Per Second
*pAnimate*frameRate*label.string:		Frames Per Second
*pAnimate*frameRate*label.labelString:		Frames Per Second

*pAnimate*frameRate*slider.maximum:		10000
*pAnimate*frameRate*slider.sliderMax:		10000

*pAnimate*frameRate*minLabel.label:		0
*pAnimate*frameRate*minLabel.string:		0
*pAnimate*frameRate*minLabel.labelString:	0

*pAnimate*frameRate*maxLabel.label:		Max
*pAnimate*frameRate*maxLabel.string:		Max
*pAnimate*frameRate*maxLabel.labelString:	Max

*pAnimate*insideLayout.Margin:			16
*pAnimate*insideLayout.columnSpacing:		8
*pAnimate*insideLayout.rowSpacing:		8
*pAnimate*insideLayout.layout: \
	frameRate		 0 0 1 1 wh; \
	frame			 1 0 1 1 wh; \
	directionBbox		 0 2 2 1 lwh; \
	pause			 1 2 2 1 ltwh; 

*pAnimate*spacer.width:				120
*pAnimate*spacer.height:			4
*pAnimate*spacer.borderWidth:			0
*pAnimate*vspacer.borderWidth:			0

*pAnimate*insideLayout.*.layout: \
	label			 0 0 4 1 lwh; \
	spacer			 0 1 4 1 lrw; \
	text			 0 2 1 1 ltWh; \
	vspacer			 1 2 1 4 lrW; \
	maxLabel		 2 2 1 1 rthW; \
	slider			 3 2 1 4 lrw; \
	minLabel		 2 5 1 1 rbhw; \

*pAnimate*directionBbox.orientation:		vertical
*pAnimate*directionBbox.packing:		PACK_COLUMN
*pAnimate*directionBbox.sameSize:		ALL
*pAnimate*directionBbox.layoutType:		FIXEDCOLS

*pAnimate*frameActive.label:			Frame Rate Display
*pAnimate*frameActive.labelString:		Frame Rate Display

*pAnimate*forward.label:			Forward
*pAnimate*forward.labelString:			Forward

*pAnimate*backward.label:			Backward
*pAnimate*backward.labelString:			Backward

*pAnimate*shuttle.label:			Shuttle
*pAnimate*shuttle.labelString:			Shuttle

*pAnimate*pause.label:				Pause
*pAnimate*pause.labelString:			Pause

*pAnimate*popupCancel.label:			Dismiss
*pAnimate*popupCancel.labelString:		OK
*pAnimate*popupCancel.showAsDefault:		True

! Athena KLUDGES

xclAthena*pAnimate*slider.height:		100
xclAthena*pAnimate*Text.translations:     #override \n\
	<Key>Return:                    submit-string() \n\

! Rendering Options Popup Resources
! $Id: PRenderOpt.r,v 1.2 1993/10/28 20:41:04 chrisl Exp $

*pRenderOpt.title:				PostScript Rendering Options
*pRenderOpt*defaultButtonShadowThickness:	1

*pRenderOpt*preserveAspect.label:		Preserve Aspect Ratio
*pRenderOpt*preserveAspect.labelString:		Preserve Aspect Ratio

*pRenderOpt*meshLines.label:			Mesh Lines
*pRenderOpt*meshLines.labelString:		Mesh Lines

*pRenderOpt*fillPolygons.label:			Fill Polygons
*pRenderOpt*fillPolygons.labelString:		Fill Polygons

*pRenderOpt*lineWidth.orientation:		Vertical
*pRenderOpt*lineWidth.maximum:			10
*pRenderOpt*lineWidth.sliderMax:		10
*pRenderOpt*lineWidth.height:			100

*pRenderOpt*optionsLabel.label:			Options
*pRenderOpt*optionsLabel.string:		Options
*pRenderOpt*optionsLabel.labelString:		Options

*pRenderOpt*lineWidthLabel.label:		Line Width
*pRenderOpt*lineWidthLabel.string:		Line Width
*pRenderOpt*lineWidthLabel.labelString:		Line Width

*pRenderOpt*lineWidthMinLabel.label:		0
*pRenderOpt*lineWidthMinLabel.string:		0
*pRenderOpt*lineWidthMinLabel.labelString:	0

*pRenderOpt*lineWidthMaxLabel.label:		10
*pRenderOpt*lineWidthMaxLabel.string:		10
*pRenderOpt*lineWidthMaxLabel.labelString:	10

*pRenderOpt*insideLayout.Margin:		16
*pRenderOpt*insideLayout.columnSpacing:		8
*pRenderOpt*insideLayout.rowSpacing:		8
*pRenderOpt*insideLayout.layout: \
	optionsLabel		 0 0 1 1; \
	renderOptBbox		 0 1 1 3; \
	lineWidthLabel		 1 0 2 1; \
	lineWidthMaxLabel	 1 1 1 1 rtwh; \
	lineWidthMinLabel	 1 2 1 1 rbwh; \
	lineWidth		 2 1 1 2 ltbw; \

*pRenderOpt*renderOptBbox.orientation:		Vertical
*pRenderOpt*renderOptBbox.packing:		PACK_COLUMN
*pRenderOpt*renderOptBbox.sameSize:		ALL
*pRenderOpt*renderOptBbox.layoutType:		FIXEDCOLS

