--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/styles/motif.common Mon Oct 30 11:36:27 1995 +0100
@@ -0,0 +1,184 @@
+;
+; common motif stuff
+;
+;
+; $Header: /cvs/stx/stx/libview/styles/motif.common,v 1.1 1995-10-30 10:36:27 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
+
+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
+
+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
+
+selectionRightArrowLevel -1
+selectionRightArrowLevel 2
+selectionLineSpacing 4
+selectionForegroundColor Color black
+selectionHilightBackgroundColor Color black
+selectionDisabledForegroundColor =shadowColor
+
+textCursorType #caret
+
+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
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/styles/mswindows.common Mon Oct 30 11:36:27 1995 +0100
@@ -0,0 +1,95 @@
+; common for all mswindows-like styles
+;
+; this is not yet completed
+;
+; $Header: /cvs/stx/stx/libview/styles/mswindows.common,v 1.1 1995-10-30 10:36:27 cg Exp $
+
+name #mswindows
+
+;this seems not fully true, buttons
+;and scrollers show some 3D.
+;anyway, most other views are flat.
+is3D false
+
+#if Display hasGreyscales not
+viewGrey Color white
+#endif
+
+borderWidth 1
+popupBorderWidth 1
+viewBackground =viewGrey
+
+font Font family:'helvetica' face:'bold' style:'roman' size:12
+textFont Font family:'courier' face:'bold' style:'roman' size:12
+
+scrollBarPosition #right
+scrollBarButtonPositions #around
+
+scrollerBorderWidth 1
+#if Display hasGreyscales
+scrollerViewBackground Color grey:80
+#else
+scrollerViewBackground Color white
+#endif
+scrollerFullViewBackground Color white
+scrollerThumbColor Color grey:80
+
+scrollerThumbLevel 3 "2"
+scrollerThumbFixHeight true
+scrollerThumbEdgeStyle #soft
+scrollerThumbFrameColor Color black
+scrollerGhostFrameColor Color darkGrey
+
+; variablePanelShowHandle false
+
+framedBoxLabelPosition #topLeft
+framedBox3DFrame false
+
+buttonEdgeStyle #soft
+buttonActiveLevel -1
+buttonPassiveLevel 4 "3"
+buttonDisabledForegroundColor Color darkGrey
+buttonBorderWidth 0
+
+#if Display hasGreyscales
+buttonForegroundColor Color black
+buttonBackgroundColor Color grey:80
+buttonActiveForegroundColor =buttonForegroundColor
+buttonActiveBackgroundColor =buttonBackgroundColor
+#endif
+
+buttonReturnButtonHasBorder true
+
+arrowButtonStyle #mswindows
+arrowButtonUpFormFile 'ScrollUp_win.xbm'
+arrowButtonDownFormFile 'ScrollDn_win.xbm'
+arrowButtonLeftFormFile 'ScrollLt_win.xbm'
+arrowButtonRightFormFile 'ScrollRt_win.xbm'
+
+checkToggleBitmapFile nil
+checkToggleStyle #cross
+checkToggleActiveLevel 0
+checkTogglePassiveLevel 0
+checkToggleBorderWidth 1
+checkToggleActiveBackgroundColor Color white
+checkToggleBackgroundColor Color white
+
+;
+; selection-in-list
+;
+#if Display hasColors
+selectionHilightForegroundColor Color white
+selectionHilightBackgroundColor Color blue
+selectionHilightFrameColor Color black
+#endif
+
+menuViewBackground Color white
+
+pullDownMenuKeepMenu true
+
+popUpListPopPosition #below
+
+htmlBackgroundColor Color white
+htmlAnchorForegroundColor Color green darkened
+htmlVisitedAnchorForegroundColor =htmlAnchorForegroundColor
+htmlAnchorUnderlines true