#ifdef USE_FONTS
!!
!! Fonts
!!

!! all labels should be bold
*ticMarks*fontList:	BoldLabelFont


*VkList*fontList:  	PlainLabelFont

!!
!! Data Browser special fonts
!!
!! type name and popup menus
Cvstruct*dataBrowser*area*fontList:  	SmallObliqueLabelFont
Cvstruct*dataBrowser*resultFormatPopupMenu*fontList: SmallObliqueLabelFont
Cvstruct*dataBrowser*popupMenu*fontList: SmallObliqueLabelFont
!! expression name
Cvstruct*dataBrowser*nameFont:    	SmallBoldLabelFont
!! structure fields
Cvstruct*dataBrowser*area*dbStructure*fontList: SmallFixedWidthFont

!!
!! Cvstatic, mPView, ArraySpreadSheet, and Cvprofvu special fonts
!!
!! these need to be constant width because they form columns
Cvstatic*text_view*XmList.fontList:	FixedWidthFont
Cvstatic*text_view*VkList.fontList:  	FixedWidthFont
Cvstatic*text_view.label.fontList: 	FixedWidthFont
Cvprofvu*topNlist.fontList:  		FixedWidthFont
Cvprofvu*functionListLabel.fontList:  	FixedWidthFont
Cvprofvu*nodeInfoDialog*rightStuff*fontList:  FixedWidthFont
Cvprofvu*arcInfoDialog*rightStuff*fontList:  FixedWidthFont
Cvprofvu*generalInfoDialog*rightStuff*fontList:  FixedWidthFont
Cvprofvu*XmIconGadget.fontList: 	FixedWidthFont
Cvprocvu*framesW.fontList:  		FixedWidthFont
Cvprocvu*callstackHeader.fontList:  	FixedWidthFont
Cvstatic*XmIconGadget.fontList: 	SmallPlainLabelFont
Cvmp*mPView*listHeader.fontList:	FixedWidthFont
Cvmp*mPView*list.fontList:		FixedWidthFont
Cvarray*arraySpreadsheet*cell.fontList:	FixedWidthFont
Cvmachine*addressLabel.fontList: 	FixedWidthFont

!!
!! Register view special fonts
!!
!! needs to be constant width to compare hex values
Cvmachine*registerView*value.fontList:  FixedWidthFont


!!
!! SourceView special font
!!
*perfLabel.fontList: TinyBoldLabelFont

!!
!! Cvhelp special font:  Needs to be narrower than a fixed width
!!				font so that non-Showcase cards will
!!				fit into the same width as Showcase cards
!!
Cvhelp*textSW*fontList: 	PlainLabelFont
Cvhelp*textFixedSW*fontList: 	FixedWidthFont
#endif

#ifdef USE_SPACING
!!
!! Spacing stuff
!!

!! we don't really want fat buttons on control panel
*controlPanel*XmPushButton.marginHeight:	2
*controlPanel*XmPushButton.marginWidth: 	2


!! move the text in lists slightly right to improve legibility
*VkList*listMarginWidth:        3


!! spacing between scrollbars and clients should be 2 pixels
Cvmain*callStack*XmScrolledWindow*spacing: 			2
Cvmain*expressionView*exprChart*XmScrolledWindow*spacing: 	-4
Cvmain*varBrowser*exprChart*XmScrolledWindow*spacing: 		-4
Cvmachine*registerView*exprChart*XmScrolledWindow.spacing: 	-4
*cvstruct*dbStructure*XmScrolledWindow.spacing: 		-4
*dataBrowser*area*dbStructure*form*structure*scroll.spacing: 	-4
Cvhelp*showcaseScrolledArea*spacing:        			-4


!! for some bizarre reason, setting the SourceView scrollBar to 20
!! yields 10 pixels across the top of the thumb where the
!! ExpressionView and the CallStack need 18 to get the same thing
*expressionView*XmScrollBar*width: 18
*sourceView*XmScrollBar*width: 	   20

#endif

#ifdef USE_COLORS

!! sourceView has it's own text background because the color selected
!! for text fields in some schemes may to be too intense 
!! for SourceView's larger area
*sourceView*textEdit.background:	TextBackground

!! canvases should not be colored as drawing areas
*sourceView*drawArea.background: 	BasicBackground

!! all SourceView icon outlines should be the same as the text foreground
*pixmap*background:	TextForeground

!! need to set the foreground of highlighted text so
!! that black&white scheme will work
*sourceView*textEdit.highlightForeground: HighlightForeground

*sourceView*textEdit.highlightColor1:	TrapColor
*sourceView*stop*pixmap*foreground:	TrapColor
*sourceView*stop*scrollBarColor:	ScrollBarTrapColor

*sourceView*textEdit.highlightColor6:		InactiveTrapColor
*sourceView*inactiveStop*pixmap*foreground:	TrapColor
*sourceView*inactiveStop*scrollBarColor:	ScrollBarInactiveTrapColor

*sourceView*textEdit.highlightColor2:	ProgramCounterColor
*sourceView*pc*pixmap*foreground:	ProgramCounterColor
*sourceView*pc*scrollBarColor:		ScrollBarProgramCounterColor

*sourceView*textEdit.highlightColor3:	SearchColor
*sourceView*search*pixmap*foreground:	SearchColor
*sourceView*search*scrollBarColor:	ScrollBarSearchColor
*sourceView*primary*pixmap*foreground:	SearchColor
*sourceView*primary*scrollBarColor:	ScrollBarSearchColor
*sourceView*secondary*pixmap*foreground: CallstackContext
*sourceView*secondary*scrollBarColor:	ScrollBarCallstackContext
*sourceView*perf*pixmap*foreground:	SearchColor
*sourceView*perf*scrollBarColor:	ScrollBarSearchColor

*sourceView*sample*pixmap*foreground:	TrapColor
*sourceView*sample*scrollBarColor:	ScrollBarTrapColor

*sourceView*inactiveSample*pixmap*foreground:	InactiveTrapColor
*sourceView*inactiveSample*scrollBarColor:	ScrollBarTrapColor

*sourceView*textEdit.highlightColor5:	CallstackContext
*sourceView*context*pixmap*foreground:	CallstackContext
*sourceView*context*scrollBarColor:	ScrollBarCallstackContext

*sourceView*textEdit.highlightColor7:	SyntaxWarningColor
*sourceView*bbwarning*pixmap*foreground:   SyntaxWarningColor
*sourceView*bbwarning*scrollBarColor:	ScrollBarWarningColor

*sourceView*textEdit.highlightColor4:	SyntaxErrorColor
*sourceView*bberror*pixmap*foreground:  SyntaxErrorColor
*sourceView*bberror*scrollBarColor:	ScrollBarErrorColor

*sourceView*instruct*swatchColor:		HighlightColor1
*sourceView*instruct*scrollBarColor:		HighlightColor1

*sourceView*percentInstruct*swatchColor:	HighlightColor2
*sourceView*percentInstruct*scrollBarColor:	HighlightColor2

*sourceView*callCount*swatchColor:		HighlightColor3
*sourceView*callCount*scrollBarColor:		HighlightColor3

*sourceView*percentPCHits*swatchColor:		HighlightColor4
*sourceView*percentPCHits*scrollBarColor:	HighlightColor4

*sourceView*loads*swatchColor:			HighlightColor5
*sourceView*loads*scrollBarColor:		HighlightColor5

*sourceView*stores*swatchColor:			HighlightColor6
*sourceView*stores*scrollBarColor:		HighlightColor6

*sourceView*FPopts*swatchColor:			HighlightColor7
*sourceView*FPopts*scrollBarColor:		HighlightColor7

!!
!! debugger views access to SourceView colors
!!
*currentPCbackground:		ProgramCounterColor
*currentContextBackground:	CallstackContext
*currentHighlightForeground: 	HighlightForeground

!!
!! Stripchart resources
!!
*charts.color0: DrawingAreaContrastColor1
*charts.color1: DrawingAreaContrastColor2
*charts.color2: DrawingAreaContrastColor3
*charts.color3: DrawingAreaContrastColor4
*charts.chartBackground: DrawingAreaBackground

*charts.gridColor:	TextForeground
Cvprocvu*stripchart.background:	DrawingAreaBackground

!!
!! resources to make stripcharts and heapview work in B&W
!!
*fillStyle:  ChartFillStyle
*fillTile0:  25_foreground
*fillTile1:  50_foreground
*fillTile2:  slant_right
*fillTile3:  horizontal
*charts*lineStyle0: ChartLineStyle0
*charts*lineStyle1: ChartLineStyle1
*charts*lineStyle2: ChartLineStyle2
*charts*lineStyle3: ChartLineStyle3


!
! nodes in Cvprofvu's call graph presentation are by default
! these two colors
!
*Cvprofvu*callGraphSW*XmPushButton.background: LightSlateGrey
*Cvprofvu*callGraphSW*XmPushButton.foreground: black

! Cvprofvu colors
*callGraphDocBaseForm.targetColor: DrawingAreaNodeColor1
*callGraphDocBaseForm.sourceColor: DrawingAreaNodeColor2


! Registration Point (Trap) Colors
*registrationPoint1.foreground: HighlightColor1
*registrationPoint2.foreground: HighlightColor2
*registrationPoint3.foreground: HighlightColor3
*registrationPoint4.foreground: HighlightColor4
*registrationPoint5.foreground: HighlightColor5
*registrationPoint6.foreground: HighlightColor6
*registrationPoint7.foreground: HighlightColor7
*registrationPoint8.foreground: HighlightColor8


!! TimeLine resources
*LocalCaliperDrawingArea.background: 	TimeLineBackground
*GlobalCaliperDrawingArea.background: 	TimeLineBackground
*ScaleDrawingArea.background: 		TimeLineBackground
*CaliperDrawingArea.background: 	TimeLineBackground
*ticMarks.foreground: 			TextForeground
*arrowHighlight.foreground:		TextForeground
*newCaliper.foreground: 		TextForeground
*oldCaliper.foreground: 		ButtonBackground


!! Help colors
!!
Cvhelp*currentColor:		CurrentColor
Cvhelp*viewerColor:		ViewerColor
Cvhelp*constraintColor:		ConstraintColor
Cvhelp*XmGraph*XmDrawingArea.background:    ScrolledListBackground
Cvhelp*XmGraph*XmScrolledWindowClipWindow.background:    ScrolledListBackground
Cvhelp*XmGraph*highlightColor:	TextForeground

Cvstruct*dataBrowser*XmDrawingArea.background:	DrawingAreaBackground
!! covers the case where drawing area is smaller than the scrolled window
Cvstruct*dataBrowser*sw.ScrolledWindowClipWindow.background:	DrawingAreaBackground
Cvstruct*dataBrowser*structure*scroll.ScrolledWindowClipWindow.background:	BasicBackground
Cvstruct*dataBrowser*highlightColor:		TextForeground
Cvstruct*dataBrowser*outlineColor:		TextForeground
Cvstruct*dataBrowser*typeColor1:			HighlightColor1
Cvstruct*dataBrowser*typeColor2:			HighlightColor2
Cvstruct*dataBrowser*typeColor3:			HighlightColor3
Cvstruct*dataBrowser*typeColor4:			HighlightColor4
Cvstruct*dataBrowser*typeColor5:			HighlightColor5
Cvstruct*dataBrowser*typeColor6:			HighlightColor6
Cvstruct*dataBrowser*typeColor7:			HighlightColor7
Cvstruct*dataBrowser*typeColor8:			HighlightColor8


!! highlight for suspect register values
Cvmachine*registerView*changedBackground:	DrawingAreaNodeColor1
Cvmachine*registerView*changedForeground:	HighlightForeground


!! Cvstatic node colors
*targetColor:		DrawingAreaNodeColor1
*resultColor:		DrawingAreaNodeColor2

!! Cvheapvu special colors
Cvheapvu*maparea*mallocColor:		DrawingAreaContrastColor1
Cvheapvu*maparea*mallocScrollBarColor:	ScrollBarColor1
Cvheapvu*maparea*freeColor:		DrawingAreaContrastColor3
Cvheapvu*maparea*reallocColor:		DrawingAreaContrastColor2
Cvheapvu*maparea*reallocScrollBarColor:	ScrollBarColor2
Cvheapvu*maparea*badFreeColor:		TrapColor
Cvheapvu*maparea*badFreeScrollBarColor:	ScrollBarTrapColor
Cvheapvu*maparea*borderColor:		BasicBackground
Cvheapvu*maparea*highlightColor: 	HighlightColor3


!! Cvbuild node colors
*buildGraph*sourceBackground:	SourceBackground
*buildGraph*modifiedColor:	ModifiedBackground
*buildGraph*derivedBackground:	DerivedBackground
*buildGraph*obsoleteColor:	ObsoleteColor

! error and checkmark icon colors 
*buildLog*errorColor: 		ScrollBarErrorColor
*buildLog*checkColor:		CheckMarkColor



!! Cvbuild graph node highlighting
!!
Cvbuild*XmGraph*highlightThickness: 1


!!
!!  fixes for drawing areas that shouldn't be colored as drawing areas
!!
*pane.chartArea.ScrolledWindowClipWindow.background: BasicBackground
*pane.chartArea.ScrolledWindowClipWindow.charts.UserSysTime.blankVertical.background: BasicBackground
*processUsage*ScrolledWindowClipWindow.background: BasicBackground
*sysUsage*ScrolledWindowClipWindow.background:  BasicBackground
*graphUsage*ScrolledWindowClipWindow.background: BasicBackground
*pane*charts*blankVertical.background: BasicBackground


!! round button icons
!*continueOrStopButton*activeHighlightColor:      green
!*continueOrStopButton*inactiveHighlightColor:    green
!*continueOrStopButton*altActiveHighlightColor:   red
!*continueOrStopButton*altInactiveHighlightColor: red


!! session colors for menubars
!! WARNING: these no longer match up because SessionColor2 became SessionColor1 and 
!! the next two session colors (2 and 3) became 3 and 4.  Therefore, CaseVision's
!! sessionColor1 is now linked to the previous session color 1 (now 4) as defined
!! in the CaseVision pallette.
*sessionColor1:		SessionColor4
*sessionColor2:		SessionColor1
*sessionColor3:		SessionColor2
*sessionColor4:		SessionColor3
*sessionColor5:		SessionColor5

#endif
