;
; common motif stuff (not a style, but included by all motif style variations)
;
;
; $Header: /cvs/stx/stx/libview/styles/motif.common,v 1.9 1997-02-20 12:03:35 cg Exp $
;
; this is to be included from the real style,
; with (at least) viewGrey, shadowColor, lightColor and mediumColor
; being predefined
;
is3D true
name #motif
fatFont Font family:'helvetica' face:'bold' style:'roman' size:12
selectionFont =fatFont
labelFont =fatFont
menuFont =fatFont
textFont Font family:'courier' size:12
viewBackground =viewGrey
borderWidth 0
popupBorderWidth 1
popupHideOnRelease false
focusColor Color black
; focusColor Color yellow
scrollBarPosition #right
scrollBarButtonPositions #around
scrollBarLevel -2
scrollBarElementSpacing 0
scrollBarDisableButtons true
#if Display hasGreyscales
scrollerThumbColor =viewGrey
scrollerViewBackground =mediumColor
#else
; grey 50 is too heavy - isn't it ?
; scrollerViewBackground Color grey:50
scrollerViewBackground Color white
scrollerThumbColor Color white
#endif
scrollerThumbLevel 2
scrollerThumbInset 0
scrolledViewLevel -2
scrollerGhostFrameColor Color black
sliderLevel -1
variablePanelTrackingLine true
framedBoxLabelPosition #topLeft
labelForegroundColor Color black
buttonActiveLevel -2
buttonPassiveLevel 2
buttonReturnButtonHasBorder true
buttonActiveBackgroundColor =mediumColor
buttonActiveForegroundColor Color black
buttonDisabledForegroundColor =shadowColor
#if Display hasGreyscales not
buttonActiveBackgroundColor Color grey:80
#endif
arrowButtonStyle #motif
arrowButtonActiveLevel 0
arrowButtonPassiveLevel 0
arrowButtonForegroundColor =viewGrey
arrowButtonBackgroundColor =mediumColor
arrowButtonActiveForegroundColor =viewGrey
arrowButtonActiveBackgroundColor =viewGrey
arrowButtonDisabledForegroundColor =viewGrey
editFieldBackgroundColor =mediumColor
menuHilightLevel 2
menuSeparatingLineInset 0
menuViewBackgroundColor =viewGrey
menuDisabledForegroundColor =shadowColor
pullDownMenuKeepMenu true
pullDownMenuLevel 1
pullDownMenuHilightLevel 2
#if Display hasGreyscales not
pullDownMenuHilightForegroundColor Color white
pullDownMenuHilightBackgroundColor Color black
#endif
pullDownMenuAutoselectFirst true
#selectionMultiSelectionModifier #Control
selectionRightArrowLevel -1
selectionRightArrowLevel 2
selectionLineSpacing 4
selectionForegroundColor Color black
selectionHilightBackgroundColor Color black
selectionHilightStyle #motif
selectionDisabledForegroundColor =shadowColor
#textCursorType #caret
textCursorType #ibeam
textCursorNoFocusForegroundColor Color grey
activeHelpBackgroundColor Color yellow lightened
activeHelpBorderWidth 2
rulerForegroundColor Color black
rulerBackgroundColor =viewGrey
arrowButtonUpForm Image extent:11@12 \
depth:2 \
bits:#[4r0000 4r0100 4r0000 \
4r0000 4r1120 4r0000 \
4r0000 4r1120 4r0000 \
4r0001 4r1322 4r0000 \
4r0001 4r1322 4r0000 \
4r0011 4r3332 4r2000 \
4r0011 4r3332 4r2000 \
4r0113 4r3333 4r2200 \
4r0113 4r3333 4r2200 \
4r1122 4r2222 4r2220 \
4r1222 4r2222 4r2220 \
4r0000 4r0000 4r0000] \
pad:8
arrowButtonDownForm Image extent:11@12 \
depth:2 \
bits:#[ \
4r0000 4r0000 4r0000 \
4r1111 4r1111 4r1110 \
4r1111 4r1111 4r1220 \
4r0113 4r3333 4r2200 \
4r0113 4r3333 4r2200 \
4r0011 4r3332 4r2000 \
4r0011 4r3332 4r2000 \
4r0001 4r1322 4r0000 \
4r0001 4r1322 4r0000 \
4r0000 4r1220 4r0000 \
4r0000 4r1220 4r0000 \
4r0000 4r0200 4r0000 \
] \
pad:8
arrowButtonLeftForm Image extent:12@11 \
depth:2 \
bits:#[ \
4r0000 4r0000 4r0110 \
4r0000 4r0001 4r1120 \
4r0000 4r0111 4r1220 \
4r0001 4r1113 4r3220 \
4r0111 4r1333 4r3220 \
4r1113 4r3333 4r3220 \
4r0222 4r2333 4r3220 \
4r0002 4r2223 4r3220 \
4r0000 4r0222 4r2220 \
4r0000 4r0002 4r2220 \
4r0000 4r0000 4r0220 \
] \
pad:8
arrowButtonRightForm Image extent:12@11 \
depth:2 \
bits:#[ \
4r0110 4r0000 4r0000 \
4r0111 4r1000 4r0000 \
4r0111 4r1110 4r0000 \
4r0113 4r3111 4r1000 \
4r0113 4r3331 4r1110 \
4r0113 4r3333 4r3222 \
4r0113 4r3332 4r2220 \
4r0113 4r3222 4r2000 \
4r0112 4r2220 4r0000 \
4r0122 4r2000 4r0000 \
4r0120 4r0000 4r0000 \
] \
pad:8