!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! Base
!!
!! Default mappings of scheme symbolic names to resources that affect motif
!! programs.
!!
!! Applications that need to extend these mappings can add additional
!! application-specific files. Do not modify this file.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!
!! Note:
!!
!! To conform to the SGI style, all menu bars should have the instance 
!! names of menuBar.  This is necessary because it is not possible to recognize
!! a Motif menu bar by class-name. menu_bar, menu_Bar, and menubar are also 
!! recognized, but this heuristic does not catch all names a program could use.
!!
!! To conform to the SGI Style, all menu panes of option menus must be 
!! named optionPane.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


!! string used to describe scheme for scheme browser

*schemeDescription: SchemeDescription

!! Define Colors for Vk's QuickHelp  
#define QuickHelpForeground #000000

#ifdef GAMMA_1_0
#define QuickHelpBackground #fef9b5
#endif
#ifdef GAMMA_1_7
#define QuickHelpBackground #fdf48e
#endif
#ifdef GAMMA_2_4
#define QuickHelpBackground #fdf070
#endif


#ifdef USE_COLORS

!! differentiate between light-text/dark-background  and 
!!                       dark-text/light-background schemes

*darkScheme:    IsDarkScheme

.lightThreshold: 87

!!
!! Color Mappings
!!

Fix color for ViewKit applications' cursors, to match SGI style

*normalCursorForeground:  red
*normalCursorBackground:  white


!!
!! Define the basic scheme colors as resources so that they can be 
!! retrieved easily from programs
!!

*basicBackground:               BasicBackground
*textForeground:                TextForeground
*textBackground:                TextBackground
*textFieldBackground:           TextFieldBackground
*scrolledListBackground:        ScrolledListBackground
*scrollBarTroughColor:          ScrollBarTroughColor
*scrollBarControlBackground:    ScrollBarControlBackground
*buttonBackground:              ButtonBackground
*selectFillColor:               SelectFillColor

!! Programs should retrieve this resource and set text widgets accordingly

*readOnlyBackground:            ReadOnlyBackground

!! Colors that work well against drawing area backgrounds

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

!! bright highlights suitable for small color spots

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

!! Window manager colors. Note that 4Dwm does not pick up foreground

*wMBackground:                  WMBackground
*wMActiveBackground:            WMActiveBackground
*wMForeground:                  WMForeground
*wMActiveForeground:            WMActiveForeground

!! Colors for toggles and checkmarks

*selectColor:                   SelectFillColor
*checkColor:                    CheckColor
*radioColor:                    RadioColor
*lightRadioFillColor:           LightRadioFillColor
*disabledCheckColor:            DisabledCheckColor
*indicatorLightColor:           IndicatorLightColor
*selectFillColor:               SelectFillColor
*indicatorBackground:           IndicatorBackground

!! Special text and text field colors

*textSelectedBackground:        TextSelectedBackground
*textSelectedForeground:        TextSelectedForeground
*disabledTextForeground:        DisabledTextForeground

!! Colors used for error situations

*warningColor:                  WarningColor
*errorColor:                    ErrorColor
*informationColor:              InformationColor

!! Colors that can be used for various graphics purposes. These colors
!! will always approximate thier names, but may be slightly adjusted 
!! to blend with each scheme.

*redColor:                       RedColor
*orangeColor:                    OrangeColor
*yellowColor:                    YellowColor
*greenColor:                     GreenColor
*blueColor:                      BlueColor
*brownColor:                     BrownColor
*purpleColor:                    PurpleColor

!! Colors that can serve as reasonable backgrounds in any scheme

*alternateBackground1:           AlternateBackground1
*alternateBackground2:           AlternateBackground2
*alternateBackground3:           AlternateBackground3
*alternateBackground4:           AlternateBackground4
*alternateBackground5:           AlternateBackground5
*alternateBackground6:           AlternateBackground6



*drawingAreaNodeColor1:         DrawingAreaNodeColor1
*drawingAreaNodeColor2:         DrawingAreaNodeColor2

!! Bindings for Motif and SGI widgets

*selectionForeground:           TextSelectedForeground
*selectionBackground:           TextSelectedBackground
*lampColor:                     SelectFillColor


!! Basic colors

*foreground:                            TextForeground
*background:                            BasicBackground

!! List widget

*XmList.background:                     ScrolledListBackground
*SgList*background:                     ScrolledListBackground

!! Buttons

*XmPushButton.background:               ButtonBackground
*XmPushButtonGadget.background:         ButtonBackground
*XmDrawnButton.background:              ButtonBackground

! This should catch all option menus:

*XmRowColumn*OptionButton.background:        ButtonBackground

*XmArrowButton.background:              BasicBackground
*XmArrowButtonGadget.background:        BasicBackground

!! text and TextField

*XmText.background:                     TextFieldBackground
*XmScrolledWindow.XmText.background:    TextBackground
*XmTextField.background:                TextFieldBackground

!! Scrollbar and Scale colors
!!
!! The thumb on the scrollbar responds to the foreground resource
!!
*troughColor:                           ScrollBarTroughColor
*XmScrollBar.background:                ScrollBarTroughColor
*XmScrollBar.foreground:                ScrollBarControlBackground
*XmScrolledWindow.searchButton.background: ScrollBarControlBackground
*XmMainWindow.searchButton.background:  ScrollBarControlBackground
*XmScale.XmScrollBar.foreground:        ScrollBarControlBackground
*XmScale*foreground:                    TextForeground

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

*visibleWhenOff:                True
*fillOnSelect:                  True

!! until gadgets can have a different color than thier parent,
!! color the pushbuttons the same as the gadgetbuttons in dialogs
!! (this is for nonsgi mode)

!*XmDialogShell*XmPushButton*background: BasicBackground

!! Do the following so that both push button gadgets and push buttons
!! are colored the same in menus

*XmMenuShell*background:                        BasicBackground
*XmMenuShell*XmToggleButton.selectColor:        TextForeground

!! highlights for keyboard traversal

*highlightColor:                TextForeground

!! Graphs and Drawing areas

*XmDrawingArea.background:              DrawingAreaBackground
*SgGraph*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

*SgGraph*highlightColor:        HighlightColor1

!! colors the arcs in SgGraph

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

!! Colors for SGI html widget

*SgHTMLviewer*linkForeground:   BlueColor
*SgHTMLviewer*linkSelectColor:  RedColor

*SgHTMLviewer*selectedLinkForeground:  TextForeground
*SgHTMLviewer*selectedForeground:      TextForeground
*SgHTMLviewer*selectedBackground:      AlternateBackground2

*SgHTMLviewer*background:	gray85
*SgHTMLviewer*foreground:	black


!! For Quick Help

*VkQuickHelpPopup*background: QuickHelpBackground
*VkQuickHelpPopup*foreground: QuickHelpForeground

!! Athena widget bindings

*Command*background:            ButtonBackground
*Toggle*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

#endif

#ifdef USE_FONTS

!! Fonts
!!
!! all labels should be bold

*XmLabel.fontList:                      BoldLabelFont
*XmLabelGadget.fontList:                BoldLabelFont
*XmScale*fontList:                      BoldLabelFont
*XmBulletinBoard*labelFontList:         BoldLabelFont
*SgColumn.fontList:                     BoldLabelFont
*XmRowColumn.OptionLabel.fontList:      BoldLabelFont

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

*XmPushButton.fontList:                 PlainLabelFont
*XmPushButtonGadget.fontList:           PlainLabelFont
*XmToggleButton.fontList:               PlainLabelFont
*XmToggleButtonGadget.fontList:         PlainLabelFont


*XmIconGadget.fontList:                 PlainLabelFont
*XmArc.fontList:                        SmallPlainLabelFont
*XmBulletinBoard*buttonFontList:        PlainLabelFont
*XmList.fontList:                       PlainLabelFont

!! For Motif Dialogs

*XmMessageBox.Message.fontList: PlainLabelFont


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

*menuBar*fontList:                               ObliqueLabelFont
*menu_Bar*fontList:                              ObliqueLabelFont
*menu_bar*fontList:                              ObliqueLabelFont
*menubar*fontList:                               ObliqueLabelFont

!! for entries in menus

*XmMenuShell*XmPushButton.fontList:             ObliqueLabelFont
*XmMenuShell*XmPushButtonGadget.fontList:       ObliqueLabelFont

*XmMenuShell*XmLabel.fontList:                  ObliqueLabelFont
*XmMenuShell*XmLabelGadget.fontList:            ObliqueLabelFont

*XmMenuShell*XmCascadeButton.fontList:          ObliqueLabelFont
*XmMenuShell*XmCascadeButtonGadget.fontList:    ObliqueLabelFont

*XmMenuShell*XmToggleButton.fontList:           ObliqueLabelFont
*XmMenuShell*XmToggleButtonGadget.fontList:     ObliqueLabelFont

!! Text fonts  

*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

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

*boldLabelFont:                 BoldLabelFont
*smallBoldLabelFont:            SmallBoldLabelFont
*tinyBoldLabelFont:             TinyBoldLabelFont
*plainLabelFont:                PlainLabelFont
*smallPlainLabelFont:           SmallPlainLabelFont
*obliqueLabelFont:              ObliqueLabelFont
*smallObliqueLabelFont:         SmallObliqueLabelFont
*fixedWidthFont:                FixedWidthFont
*smallFixedWidthFont:           SmallFixedWidthFont

!! For quick help

*VkQuickHelpPopup*fontList:     PlainLabelFont
*VkQuickHelpMsgLine*fontList:   SmallPlainLabelFont

#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
*XmPushButtonGadget.marginHeight:       4
*XmPushButtonGadget.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

*XmRowColumn.OptionButton.marginHeight: 0
*XmRowColumn.OptionButton.marginWidth: 0
*XmRowColumn.OptionButton.marginBottom: 0
*XmRowColumn.OptionButton.marginTop: 0

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

*XmList.listMarginWidth:        3

!! height of menuBar should be 22 pixels

*menuBar*marginHeight:          1
*menuBar.marginHeight:          0
*menuBar*marginLeft:            1
*menuBar.spacing:               7

*menu_Bar*marginHeight:          1
*menu_Bar.marginHeight:          0
*menu_Bar*marginLeft:            1
*menu_Bar.spacing:               7
*menu_bar*marginHeight:          1
*menu_bar.marginHeight:          0
*menu_bar*marginLeft:            1
*menu_bar.spacing:               7
*menubar*marginHeight:          1
*menubar.marginHeight:          0
*menubar*marginLeft:            1
*menubar.spacing:               7

*XmMenuShell*marginLeft:        3
*XmMenuShell*marginRight:       4

*XmMenuShell*marginHeight:      1
*XmMenuShell*marginWidth:       1

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

*XmMenuShell*XmToggleButtonGadget.spacing:              2
*XmMenuShell*XmToggleButton.spacing:                    2

*XmMenuShell*XmToggleButtonGadget.marginTop:            2
*XmMenuShell*XmToggleButton.marginTop:                  2

*XmMenuShell*XmToggleButtonGadget.indicatorSize:        15
*XmMenuShell*XmToggleButton.indicatorSize:              15

*XmMenuShell*XmPushButton.marginHeight:                 1
*XmMenuShell*XmPushButtonGadget.marginHeight:           1

*XmMenuShell*XmLabelGadget.marginHeight:                4
*XmMenuShell*XmLabel.marginHeight:                      4

!! spacing between indicator and label should be 4 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

!! 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


