!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! Slice window (popup child of image window)
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

*sliceShell.baseTranslations:                           #override       \n\
  <ClientMessage>WM_PROTOCOLS: QuitXslice()

*sliceForm.Background:					Gray80
*sliceForm.Foreground:					Gray20
*sliceForm.Label.Background:				Gray80
*sliceForm.Label.Foreground:				Gray20
*sliceForm.Command.Background:				Gray80
*sliceForm.Command.Foreground:				Gray20

*sliceForm*Font:		-*-helvetica-bold-r-normal--??-100-*-iso8859-1

*sliceForm.defaultDistance: 				0
*sliceForm.borderWidth:					20

*sliceForm*Label.Justify:				left
*sliceForm*Command.Justify:				left

*sliceForm*topLabel.Label:				Color slice
*sliceForm*topLabel.Justify:				center
*sliceForm*topLabel.vertDistance:			5
*sliceForm*topLabel.left:				chainleft
*sliceForm*topLabel.right:				chainright

*sliceForm*Scrollbar.Height:				400
*sliceForm*Scrollbar.Width:				35
*sliceForm*Scrollbar.horizDistance:			10
*sliceForm*Scrollbar.vertDistance:			20
*sliceForm*Scrollbar.scrollDCursor:			sb_up_arrow
*sliceForm*Scrollbar.scrollUCursor:			sb_down_arrow

*sliceForm*scrollbarRed*Foreground: 			Red
*sliceForm*scrollbarGreen*Foreground:			Green
*sliceForm*scrollbarBlue*Foreground:			Blue

*sliceForm*labelIntensity*Label: 			I
*sliceForm*labelHue*Label: 				H
*sliceForm*labelSaturation*Label: 			S
*sliceForm*labelRed*Label: 				R
*sliceForm*labelGreen*Label: 				G
*sliceForm*labelBlue*Label: 				B

*sliceForm*labelIntensity.horizDistance:		12
*sliceForm*labelHue.horizDistance: 			12
*sliceForm*labelSaturation.horizDistance: 		12
*sliceForm*labelRed.horizDistance: 			12
*sliceForm*labelGreen.horizDistance: 			12
*sliceForm*labelBlue.horizDistance: 			12

*sliceForm*labelIntensity.width:			35
*sliceForm*labelHue.width: 				35
*sliceForm*labelSaturation.width: 			35
*sliceForm*labelRed.width: 				35
*sliceForm*labelGreen.width: 				35
*sliceForm*labelBlue.width: 				35

*sliceForm*labelIntensity.borderWidth: 			0
*sliceForm*labelHue.borderWidth:			0
*sliceForm*labelSaturation.borderWidth: 		0
*sliceForm*labelRed.borderWidth: 			0
*sliceForm*labelGreen.borderWidth: 			0
*sliceForm*labelBlue.borderWidth: 			0

*sliceForm*labelIntensity.Justify: 			center
*sliceForm*labelHue.Justify: 				center
*sliceForm*labelSaturation.Justify: 			center
*sliceForm*labelRed.Justify: 				center
*sliceForm*labelGreen.Justify: 				center
*sliceForm*labelBlue.Justify: 				center

*sliceForm*colorPatch.Width:				240
*sliceForm*colorPatch.Height:				180
*sliceForm*colorPatch.vertDistance:			20
*sliceForm*colorPatch.horizDistance:			20

*sliceForm*labelIhs.borderWidth:			0
*sliceForm*labelIhs.vertDistance:			30
*sliceForm*labelIhs.horizDistance:			20

*sliceForm*labelRgb.borderWidth:			0
*sliceForm*labelRgb.vertDistance:			5
*sliceForm*labelRgb.horizDistance:			20

*sliceForm*sendColtabToXshow.Label:		Send colortable to xshow
*sliceForm*sendColtabToXshow.vertDistance:		10
*sliceForm*sendColtabToXshow.horizDistance:		20

*sliceForm*sendColtabToFile.Label:		Send colortable to file
*sliceForm*sendColtabToFile.horizDistance:		20

*sliceForm*loadColtabFromXshow.Label:		Load original colortable
*sliceForm*loadColtabFromXshow.horizDistance:		20

*sliceForm*loadColtabFromFile.Label:		Load colortable from file
*sliceForm*loadColtabFromFile.horizDistance:		20

*sliceForm*range.Label:				Set patch in color range
*sliceForm*range.horizDistance:				20

*sliceForm*quit.horizDistance:				20
*sliceForm*quit.Label:					Quit

*sliceForm*color.Label:					Color index:
*sliceForm*color.borderWidth:				0
*sliceForm*color.vertDistance:				20
*sliceForm*color.horizDistance:				20

*sliceForm*colorIndex.Label:		
*sliceForm*colorIndex.borderWidth:			0
*sliceForm*colorIndex.vertDistance:			20

*sliceForm*colorStripe.Width:				512
*sliceForm*colorStripe.Height:				64
*sliceForm*colorStripe.vertDistance:			10
*sliceForm*colorStripe.horizDistance:			20
