!
! Ressources for Pixmap, XawPlus Version
! This is a version without short cuts
!
selFile.allowShellResize:		True
selFile.width:				480
selFile*Composite.background:		grey75

*TransientShell.allowShellResize:	True
*font:					7x13bold
*cursor:				left_ptr
*pane.orientation:			horizontal

*Form*top:				ChainTop
*Form*bottom:				ChainTop
*Form*left:				ChainLeft
*Form*right:				ChainLeft

*MenuButton.leftBitmap:			menu12.xpm

*form.showGrip:				False
*form*Command.width:      		135
*form*Command.height:			14
*drawingForm.showGrip:			False
*drawingForm*highlightMode:		False
*drawingForm*Command.width:		120
*drawingForm*Command.height:	  	14
*drawingForm*Toggle.width:		120
*drawingForm*Toggle.height:		14

*Dialog.value*baseTranslations: #augment\
			<Key>:			insert-char()\n

*Toggle.translations:	<EnterWindow>:	        highlight(WhenUnset)\n\
			<LeaveWindow>:	        unhighlight()\n\
			<Btn1Down>:		set() notify()

*MenuButton.translations: #replace \
			  <EnterWindow>:  highlight()\n\
			  <LeaveWindow>:  reset()\n\
			  <BtnDown>:      set() fix-menu() PopupMenu()





*Dialog.value.translations:#override <Key>Return: set-okay()

*image.label.translations:#override <Btn1Down>,<Btn1Up>: switch-image()
*image.label.label:			
*image.width:				50
*image.height:				50

*colorView.allowHoriz:			True
*colorView.allowVert:			True
*colorView.useBottom:			True
*colorView.useRight:			True
*colorView.width:			500
*colorView.height:			70
*colorView.preferredPaneSize:		70
*colorView.skipAdjust:			False

*colorPane.width:			500
*colorPane.height:			70
*colorPane*Command.label:			
*colorPane*Command.width:		15
*colorPane*Command.height:		15
*colorPane*Command.highlightMode:	False

*pixmapView.allowHoriz:			True
*pixmapView.allowVert:			True
*pixmapView.useBottom:			True
*pixmapView.useRight:			True
*pixmapView.width:			500
*pixmapView.height:			500

*pixmap.pixmapWidth:			32
*pixmap.pixmapHeight:			32
*pixmap.squareSize:			15
*pixmap.cursor:          		tcross
*pixmap.stipple:			Stipple

*info*label.font:		-adobe-helvetica-bold-r-normal--*-100-*-*-p-*-iso8859-1
*info*label.height:			150

*TransientShell.width:			300

!*Dialog.value.borderWidth:		0
*input*icon:				Term
*qsave*icon:				Term
*file*icon:				Term
*error*icon:				Term
*Dialog.Yes.label:			Yes
*Dialog.No.label:			No
*Dialog.Okay.label:			OK
*Dialog.Abort.label:			Abort
*Dialog.Cancel.label:			Cancel
*Dialog.Retry.label:			Retry

*MenuButton.width:			52

*SimpleMenu.width:			0
*SimpleMenu.height:			0
*SimpleMenu.cursor:			hand2
*SimpleMenu.line.height:		0

*fileButton.label:			File
*fileButton.menuName:			fileMenu

*editButton.label:			Edit
*editButton.fromHoriz: 			fileButton
*editButton.menuName:			editMenu

*colorButton.width:			125
*colorButton.label:			Foreground Color
*colorButton.fromHoriz:			editButton
*colorButton.menuName:			colorMenu

*extensionButton.width:			125
*extensionButton.label:			Xpm Extensions
*extensionButton.fromHoriz:		colorButton
*extensionButton.menuName:		extensionMenu

*infoButton.width:			48
*infoButton.label:			About
*infoButton.fromHoriz: 			extensionButton

*formy.status*top:			ChainTop
*formy.status*bottom:			ChainTop
*formy.status*left:			ChainLeft
*formy.status*right:			ChainRight
*status.fromHoriz:			infoButton
*status.borderWidth:			0

*infoPopup.width:			335
*infoPopup.height:			150

*SmeBSB.HorizontalMargins:		32

*fileMenu.load.label:			Load...
*fileMenu.insert.label:			Insert...
*fileMenu.save.label:			Save
*fileMenu.saveAs.label:			Save As...
*fileMenu.resize.label:			Resize...
*fileMenu.rescale.label:		Rescale...
*fileMenu.filename.label:		Filename...
*fileMenu.hintsCmt.label:		Hints comment...
*fileMenu.colorsCmt.label:		Colors comment...
*fileMenu.pixelsCmt.label:		Pixels comment...
*fileMenu.quit.label:			Quit

*editMenu.image.label:			Image
*editMenu.grid.label:			Grid
*editMenu.axes.label:			Axes
*editMenu.proportional.label:		Proportional
*editMenu.zoom.label:			Zoom
*editMenu.zoomIn.label:			Zoom In
*editMenu.zoomOut.label:		Zoom Out
*editMenu.zoomFactor.label:		Zoom Factor
*editMenu.cut.label:			Cut
*editMenu.copy.label:			Copy
*editMenu.paste.label:			Paste
*editMenu.crop.label:			Crop

*colorMenu.addColor.label:		Add Color...
*colorMenu.symbolicName.label:		Symbolic name...
*colorMenu.monochromeName.label:	Monochrome name...
*colorMenu.g4Name.label:		Grey scale 4 name...
*colorMenu.gName.label:			Grey scale name...
*colorMenu.cName.label:			Color name...

*extensionMenu.addExtension.label:	Add Extension...

*form.undo.label:			Undo
*form.undo.helpText:			Undo the last change
*form.clear.vertDistance:		10
*form.clear.label:			Clear
*form.clear.helpText:			Clear the pixmap
*form.clear.highlightMode:		False
*form.set.fromVert: 			clear
*form.set.label:			Set
*form.set.helpText:			Set all pixels in the pixmap
*form.set.highlightMode:		False
*form.redraw.fromVert:			set
*form.redraw.label:			Redraw
*form.redraw.helpText:			Redraw the pixmap
*form.redraw.highlightMode:		False
*form.undo.fromVert:			redraw
*form.undo.label:			Undo
*form.undo.helpText:			Undo the last change
*form.undo.highlightMode:		False

*form.flipHoriz.vertDistance:		108
*form.flipHoriz.width:			36
*form.flipHoriz.height:			36
*form.flipHoriz.fromVert: 		undo
*form.flipHoriz.bitmap:			FlipVert.xpm
*form.flipHoriz.helpText:		Flip the pixmap vertical
*form.up.vertDistance:			108
*form.up.width:				36
*form.up.height:			36
*form.up.fromVert: 			undo
*form.up.fromHoriz:			flipHoriz
*form.up.bitmap:			Up.xpm
*form.up.helpText:			Shift the pixmap one pixel up
*form.flipVert.vertDistance:		108
*form.flipVert.width:			36
*form.flipVert.height:			36
*form.flipVert.fromVert:		undo
*form.flipVert.fromHoriz:		up
*form.flipVert.bitmap:			FlipHoriz.xpm
*form.flipVert.helpText:		Flip the bitmap horizontal
*form.left.width:			36
*form.left.height:			36
*form.left.fromVert: 			flipHoriz
*form.left.bitmap:			Left.xpm
*form.left.helpText:			Shift the pixmap one pixel left
*form.fold.width:			36
*form.fold.height:			36
*form.fold.fromVert: 			up
*form.fold.fromHoriz: 			left
*form.fold.bitmap:			Fold.xpm
*form.fold.helpText:			Fold the pixmap
*form.right.width:			36
*form.right.height:			36
*form.right.fromVert: 			flipVert
*form.right.fromHoriz: 			fold
*form.right.bitmap:			Right.xpm
*form.right.helpText:			Shift the pixmap one pixel right
*form.rotateLeft.width:			36
*form.rotateLeft.height:		36
*form.rotateLeft.fromVert:		left
*form.rotateLeft.bitmap:		RotateLeft.xpm
*form.rotateLeft.helpText:		Rotate the pixmap 90 degrees anticlockwise
*form.down.width:			36
*form.down.height:			36
*form.down.fromVert: 			fold
*form.down.fromHoriz: 			rotateLeft
*form.down.bitmap:			Down.xpm
*form.down.helpText:			Shift the pixmap one pixel down
*form.rotateRight.width:		36
*form.rotateRight.height:		36
*form.rotateRight.fromVert:		right
*form.rotateRight.fromHoriz:		down
*form.rotateRight.bitmap:		RotateRight.xpm
*form.rotateRight.helpText:		Rotate the pixmap 90 degrees clockwise

*drawingForm.point.vertDistance:	10
*drawingForm.point.label:		Point
*drawingForm.point.helpText:		Draw points
*drawingForm.curve.fromVert: 		point
*drawingForm.curve.radioGroup:  	point
*drawingForm.curve.label:		Curve
*drawingForm.curve.helpText:		Draw freehand curves
*drawingForm.line.fromVert: 		curve
*drawingForm.line.radioGroup: 		curve
*drawingForm.line.label:		Line
*drawingForm.line.helpText:		Draw lines
*drawingForm.rectangle.fromVert: 	line
*drawingForm.rectangle.radioGroup:  	line
*drawingForm.rectangle.label:		Rectangle
*drawingForm.rectangle.helpText:	Draw rectangles
*drawingForm.filledRectangle.fromVert: 	rectangle
*drawingForm.filledRectangle.radioGroup: rectangle
*drawingForm.filledRectangle.label:	Filled Rectangle
*drawingForm.filledRectangle.helpText:	Draw filled rectangles
*drawingForm.circle.fromVert: 		filledRectangle
*drawingForm.circle.radioGroup:  	filledRectangle
*drawingForm.circle.label:		Circle
*drawingForm.circle.helpText:		Draw circles
*drawingForm.filledCircle.fromVert: 	circle
*drawingForm.filledCircle.radioGroup:  	circle
*drawingForm.filledCircle.label:	Filled Circle
*drawingForm.filledCircle.helpText:	Draw filled circles
*drawingForm.floodFill.fromVert:	filledCircle
*drawingForm.floodFill.radioGroup:  	filledCircle
*drawingForm.floodFill.label:		Flood Fill
*drawingForm.floodFill.helpText:	Fill a framed area
*drawingForm.text.fromVert:		floodFill
*drawingForm.text.radioGroup:  		floodFill
*drawingForm.text.label:		Text
*drawingForm.text.helpText:		Draw text

*drawingForm.setHotSpot.vertDistance:	15
*drawingForm.setHotSpot.fromVert:	text
*drawingForm.setHotSpot.radioGroup:	text
*drawingForm.setHotSpot.label:		Set Hot Spot
*drawingForm.setHotSpot.helpText:	Designate the hot spot
*drawingForm.clearHotSpot.fromVert:	setHotSpot
*drawingForm.clearHotSpot.label:	Clear Hot Spot
*drawingForm.clearHotSpot.helpText:	Clear the marked hot spot

*drawingForm.mark.vertDistance:		15
*drawingForm.mark.fromVert:		clearHotSpot
*drawingForm.mark.label:		Mark
*drawingForm.mark.helpText:		Mark an area to copy or move
*drawingForm.mark.radioGroup:		setHotSpot
*drawingForm.unmark.fromVert:		mark
*drawingForm.unmark.label:		Unmark
*drawingForm.unmark.helpText:		Remove the mark

*drawingForm.copy.vertDistance:		15
*drawingForm.copy.fromVert:		unmark
*drawingForm.copy.label:		Copy
*drawingForm.copy.helpText:		Copy the marked area
*drawingForm.copy.radioGroup:		mark
*drawingForm.move.fromVert: 		copy
*drawingForm.move.radioGroup:		copy
*drawingForm.move.label:		Move
*drawingForm.move.helpText:		Move the marked area

! Port Editor Buttons
!
*drawingForm.setPort.vertDistance:	15
*drawingForm.setPort.fromVert:		move
*drawingForm.setPort.radioGroup:	point
*drawingForm.setPort.label:		Set Port
*drawingForm.setPort.helpText:		Create a port extension
*drawingForm.clearPort.fromVert:	setPort
*drawingForm.clearPort.radioGroup:	point
*drawingForm.clearPort.label:		Clear Port
*drawingForm.clearPort.helpText:	Remove a port extension
*drawingForm.movePort.fromVert:		clearPort
*drawingForm.movePort.radioGroup:	point
*drawingForm.movePort.label:		Move Port
*drawingForm.movePort.helpText:		Move the coordinates of\na port extension
*drawingForm.portInfo.fromVert:		movePort
*drawingForm.portInfo.radioGroup:	point
*drawingForm.portInfo.label:		Port Info ...
*drawingForm.portInfo.helpText:		Edit informations to a port

!  Extension Editor 
!
*extEditorShell.width:			510
*extEditor.text.width:			500
*extEditor.name.width:			500
*extEditor.text.height:			200
*extEditor.text.fromVert:		name
*extEditor.ok.fromVert:			text
*extEditor.cancel.fromVert:		text
*extEditor.cancel.fromHoriz:		ok
*extEditor.remove.fromVert:		text
*extEditor.remove.fromHoriz:		cancel
*extEditor.Command.left:       		ChainLeft
*extEditor.Command.right:      		ChainLeft
*extEditor.Command.bottom:          	ChainBottom
*extEditor.Command.top:             	ChainBottom
*extEditor.name.top:           		ChainTop
*extEditor.name.bottom:       	    	ChainTop
*extEditor.text.bottom:            	ChainBottom
*extEditor.text.top:                	ChainTop
*extEditor.name.justify:		left
*extEditor.name.borderWidth:		0
*extEditor.ok.label:			Okay
*extEditor.cancel.label:		Cancel
*extEditor.remove.label:		Remove
*extEditor.text*editType:		edit
*extEditor.text.wrap:			word
*extEditor.text.autoFill:		False
*extEditor.text.scrollVertical:		always
*extEditor.text*baseTranslations:	#augment\
					<Key>:		insert-char()\n

! Text options dialog
!
*textOptions.fontName*string:		-*-lucidatypewriter-medium-*-*-*-*-*-*-*-*-*-iso8859-1
*textOptions.textString*string:		Text
*textOptionsShell.width:		465
*textOptions.title.width:		455
*textOptions.fontStatus.width:		455
*textOptions.fontLabel.width:		100
*textOptions.textLabel.width:		100
*textOptions.fontName.width:		350
*textOptions.textString.width:		350
*textOptions.fontStatus.fromVert:	title
*textOptions.fontLabel.fromVert:	fontStatus
*textOptions.fontName.fromVert:		fontStatus
*textOptions.fontName.fromHoriz:	fontLabel
*textOptions.textLabel.fromVert:	fontLabel
*textOptions.textString.fromVert:	fontLabel
*textOptions.textString.fromHoriz:	textLabel
*textOptions.close.vertDistance:	20
*textOptions.close.fromVert:		textLabel
*textOptions.apply.vertDistance:	20
*textOptions.apply.fromVert:		textLabel
*textOptions.apply.fromHoriz:		close
*textOptions.title.label:		Text Options
*textOptions.fontStatus.label:
*textOptions.fontLabel.label:		Font Name:
*textOptions.textLabel.label:		Text String:
*textOptions.title.justify:		Center
*textOptions.fontStatus.justify:	Center
*textOptions.fontLabel.justify:		Right
*textOptions.textLabel.justify:		Right
*textOptions.Label.borderWidth:		0
*textOptions*close*label:		Close
*textOptions*apply*label:		Apply
*textOptions.fontName*editType:		edit
*textOptions.fontName.resizable:	True
*textOptions.fontName.resize:		width
*textOptions.textString*editType:	edit
*textOptions.textString.resizable:	True
*textOptions.textString.resize:		width

*textOptions.fontName.translations:	#override <Key>Return: apply()
*textOptions.textString.translations:	#override <Key>Return: apply()
*textOptions.fontName*baseTranslations: #augment\
					<Key>:		insert-char()
*textOptions.textString*baseTranslations: #augment\
					<Key>:		insert-char()






