#ifdef USE_COLORS

!!
!! Color Mappings
!!

*foreground:			TextForeground
*background:			BasicBackground
*XmList*background:     	ScrolledListBackground
*VkList*background:     	ScrolledListBackground
*XmPushButton*background:	ButtonBackground
*XmText.background:		TextFieldBackground
*XmTextField.background:	TextFieldBackground
*readOnlyBackground:		ReadOnlyBackground
*troughColor: 			ScrollBarTroughColor


!! color all dialogs, warnings, and errors the same

*XmSelectionBox*background:		BasicBackground
*XmSelectionBox*XmText*background:	TextFieldBackground
*XmMessageBox*background:		BasicBackground


!! color all radio and toggle buttons when they are selected

*fillOnSelect:		True
*selectColor:		SelectFillColor
*visibleWhenOff:	True


!! highlights for keyboard traversal

*highlightColor:		TextForeground
*XmText*highlightThickness:		1
*XmTextField*highlightThickness:	1
*XmPushButton*highlightThickness:	1
*XmGraph*highlightThickness:		1

!! no need for anything else to highlight itself
*highlightThickness:	0


*XmDrawingArea.background:		DrawingAreaBackground
*XmGraph*background:			DrawingAreaBackground


!! covers the case where drawing area is smaller than the scrolled window

*graphSW*ScrolledWindowClipWindow.background:		DrawingAreaBackground


!! outline when node or arc is selected

*XmGraph*highlightColor:	HighlightColor1


!! colors the arcs

*XmGraph*overviewColor:	TextForeground
*overview.background: DrawingAreaBackground

!!
!! Athena widget bindings
!!

*Command*background:            ButtonBackground
*Text*background:               TextFieldBackground
*Scrollbar*background:          ScrollBarTroughColor
*List*background:               ScrolledListBackground
*StripChart*background:         DrawingAreaBackground
*StripChart*foreground:         SessionColor1
*StripChart*highlight:          DrawingAreaNodeColor1
*MenuButton*background:         ButtonBackground
*SimpleMenu*background:         ButtonBackground
*Panner.foreground:             SessionColor2
*Tree.background:               DrawingAreaBackground


!! define all the basic scheme colors as resources so that they can be 
!! retrieved easily via XGetDefault.

*basicBackground:  		BasicBackground

*textForeground:   		TextForeground
*textBackground:   		TextBackground
*textFieldBackground: 		TextFieldBackground

*scrolledListBackground:   	ScrolledListBackground
*scrollBarTroughColor: 		ScrollBarTroughColor
*buttonBackground: 		ButtonBackground
*readOnlyBackground: 		ReadOnlyBackground
*selectFillColor: 		SelectFillColor

*drawingAreaBackground: 	DrawingAreaBackground
*drawingAreaNodeColor1: 	DrawingAreaNodeColor1
*drawingAreaNodeColor2: 	DrawingAreaNodeColor2

*sessionColor1: 		SessionColor1
*sessionColor2: 		SessionColor2
*sessionColor3: 		SessionColor3

*highlightColor1: 		HighlightColor1
*highlightColor2: 		HighlightColor2
*highlightColor3: 		HighlightColor3
*highlightColor4: 		HighlightColor4
*highlightColor5: 		HighlightColor5
*highlightColor6: 		HighlightColor6
*highlightColor7: 		HighlightColor7
*highlightColor8: 		HighlightColor8

*drawingAreaContrastColor1: 	DrawingAreaContrastColor1
*drawingAreaContrastColor2: 	DrawingAreaContrastColor2
*drawingAreaContrastColor3: 	DrawingAreaContrastColor3
*drawingAreaContrastColor4: 	DrawingAreaContrastColor4

#endif

#ifdef USE_FONTS

!! Fonts
!!

!! all labels should be bold

*XmLabel*fontList:                      BoldLabelFont
*XmLabelGadget*fontList:                BoldLabelFont
*XmScale*fontList:                      BoldLabelFont
*XmBulletinBoard*labelFontList:         BoldLabelFont
*optionMenu.XmLabelGadget*fontList:     BoldLabelFont


!! all buttons, toggles, and radio buttons should be plain

*XmPushButton*fontList:                 PlainLabelFont
*XmPushButtonGadget*fontList:           PlainLabelFont
*XmToggleButton*fontList:               PlainLabelFont
*XmToggleButtonGadget*fontList:         PlainLabelFont
*optionMenu*fontList:                   PlainLabelFont
*XmIconGadget*fontList:                 PlainLabelFont
*XmArc*fontList:                        SmallPlainLabelFont
*XmBulletinBoard*buttonFontList:        PlainLabelFont


!! menuBar entries, panes, popups, and option menus should be oblique

*menuBar*fontList:                              ObliqueLabelFont
!! for entries in popup menus
*XmMenuShell*XmPushButton*fontList:             ObliqueLabelFont
*XmMenuShell*XmLabelGadget*fontList:            ObliqueLabelFont
*XmMenuShell*XmPushButtonGadget*fontList:       ObliqueLabelFont
*XmMenuShell*XmCascadeButton*fontList:          ObliqueLabelFont
*XmMenuShell*XmCascadeButtonGadget*fontList:    ObliqueLabelFont
*XmMenuShell*XmToggleButton*fontList:           ObliqueLabelFont
*XmMenuShell*XmToggleButtonGadget*fontList:     ObliqueLabelFont
*optionPane*fontList:                           ObliqueLabelFont


*XmList*fontList:  PlainLabelFont


!!
!! Text fonts  (important that at least the SourceView be constant width)
!!

*XmText.fontList:       FixedWidthFont
*XmTextField.fontList:  FixedWidthFont

!!
!! Athena Widget Bindings
!!

*Label*font:                    BoldLabelFont
*Command*font:                  PlainLabelFont
*Text*font:                     FixedWidthFont
*List*font:                     PlainLabelFont
*MenuButton*font:               ObliqueLabelFont
*SimpleMenu*font:               ObliqueLabelFont
*SmeBSB*font:                   ObliqueLabelFont
*TextSink*font:                 PlainLabelFont
*Toggle*font:			PlainLabelFont

#endif

#ifdef USE_SPACING

!!
!! Spacing stuff
!!

!! buttons shouldn't look "cramped", i.e.
!! (24 pixels across face from top to bottom and 8 in margin on face)

*XmPushButton*marginHeight:     4
*XmPushButton*marginWidth:      7

!! option menu buttons shouldn't look "cramped" either
!! but need to be a bit smaller than regular buttons and the
!! same as the menu bar
!! remember that to be a good scheme citizen that option menus must have an
!! instance name of optionMenu.

*optionMenu*marginHeight:       0
*optionMenu*marginTop:          5
*optionMenu*marginBottom:       5
*optionMenu*marginWidth:        0

!! option menu panes are more like pulldown menus than buttons
!! remember that to be a good scheme citizen that option panes must have an
!! instance name of optionPane.

*optionPane*XmPushButton*marginHeight:  1
*optionPane*XmPushButton*marginWidth:   1
*optionPane*XmPushButton*marginLeft:    3
*optionPane*XmPushButton*marginRight:   3


!! move the text in lists slightly right to improve legibility

*XmList*listMarginWidth:        3

!! height of menuBar should be 22 pixels
!! In order to be a good scheme citizen, all menu bars should have the instance names
!! of menuBar.

*menuBar*marginHeight:  1
*menuBar.marginHeight:  0
*menuBar*marginLeft:    1
*menuBar.spacing:               7
*XmMenuShell*marginLeft:        3
*XmMenuShell*marginRight:       4

!! spacing between indicator and label should be only 6 in menus

*XmMenuShell*XmToggleButtonGadget*spacing:              2
*XmMenuShell*XmToggleButtonGadget*marginHeight:         0
*XmMenuShell*XmToggleButtonGadget*indicatorSize:        10

*XmMenuShell*XmLabelGadget*marginHeight: 4


!! spacing between indicator and label should be 8 outside of menus

*XmToggleButtonGadget*spacing:  4
*XmToggleButton*spacing:                4

!! spacing between scrollbars and clients should be 2 pixels
*XmScrolledWindow*spacing:              0



*XmScrollBar*width:     18
*XmScrollBar*height:    18

!! sliders should be slightly narrower than scrollbars ->
!! 12 pixels across the trough as opposed to 14
*XmScale*scaleHeight:   20

!! in a perfect world, text fields would be the same size as buttons
!! (28 pixels including shadow) but since lucidatypwriter14 is really
!! only 13 pixels, our text fields will be 27 pixels high
*XmText*marginHeight:    4

#endif
