styles/os2.style
changeset 144 cf645a1ebbb3
parent 122 c84d8d1e8d48
child 152 17cc0709e898
--- a/styles/os2.style	Fri May 12 20:10:19 1995 +0200
+++ b/styles/os2.style	Tue May 16 19:17:11 1995 +0200
@@ -2,26 +2,44 @@
 ;
 ; this is not yet completed
 ;
-; $Header: /cvs/stx/stx/libview/styles/os2.style,v 1.1 1995-03-23 16:55:20 claus Exp $
+; $Header: /cvs/stx/stx/libview/styles/os2.style,v 1.2 1995-05-16 17:16:50 claus Exp $
+
+comment  'OS/2 look alike'
 
 is3D                      true
 name                      #os2 
 
-viewGrey                  Color grey:67
+; viewGrey                  Color grey:80
+; darkerGrey                Color grey:67
+viewGrey                  Color grey:67 
+darkerGrey                Color grey:50 
+yellow                    Color red:100 green:100 blue:70
+
+
 borderWidth               0
 viewBackground            =viewGrey
 
+fatFont                   Font family:'variable' face:nil style:nil size:nil encoding:nil "/ Font family:'helvetica' face:'bold' style:'roman' size:12
+thinFont                  Font family:'helvetica' face:'medium' style:'roman' size:12
+
 scrollBarPosition         #right
 
 scrollBarButtonPositions  #around     
-scrollBarLevel            0
+scrollBarLevel            -1
 scrollBarElementSpacing   0
+scrollBarDisableButtons   true
 
-scrollerLevel             1
-scrollerViewBackground    =viewGrey
-scrollerThumbColor        Color black
-scrollerThumbLevel        0
-scrollerThumbInset        3
+scrollerLevel             0
+scrollerViewBackground    =darkerGrey 
+scrollerThumbColor        =viewGrey
+scrollerThumbLevel        1
+scrollerThumbInset        0
+
+buttonEdgeStyle                 #soft
+buttonActiveLevel               -1
+buttonPassiveLevel              3
+buttonReturnButtonHasBorder     true
+buttonActiveBackgroundColor     =darkerGrey
 
 textCursorType            #solidCaret
 textCursorBackgroundColor Color black
@@ -30,11 +48,50 @@
 popupShadowColor          Color black
 popupBorderWidth          1     
 
-arrowButtonStyle            #os2 
-arrowButtonForegroundColor        Color white
+arrowButtonStyle                  #os2 
+arrowButtonForegroundColor        Color black
 arrowButtonActiveForegroundColor  Color white
 arrowButtonActiveBackgroundColor  =viewGrey
+arrowButtonUpFormFile             'ScrollUp.os2.14.xbm'.
+arrowButtonDownFormFile           'ScrollDn.os2.14.xbm'.
+arrowButtonLeftFormFile           'ScrollLt.os2.14.xbm'.
+arrowButtonRightFormFile          'ScrollRt.os2.14.xbm'.
+arrowButtonActiveLevel            -1 "/ 0
+arrowButtonPassiveLevel           1
 
-selectionFont               Font family:'helvetica' face:'medium' style:'roman' size:12
+buttonDisabledForegroundColor     Color white
+
+checkToggleCheckColor             Color black
+
+selectionFont                           =fatFont
+labelFont                               =thinFont
+
+selectionBackgroundColor                =yellow
+selectionHilightForegroundColor         Color white
+selectionHilightBackgroundColor         Color grey:50
+selectionHilightFrameColor              Color grey:25
+selectionHilightLevel                   0
+selectionRightArrowLevel                0
+
+editFieldBackgroundColor                =yellow
+editFieldSelectionBackgroundColor       Color black
+editFieldSelectionForegroundColor       Color white
 
+;
+; since menus inherit from selectionInList,
+; redefine the yellow settings ...
+;
+menuBackgroundColor                     =viewGrey
+menuShadowColor                         =menuBackgroundColor darkened
+menuLightColor                          =menuBackgroundColor lightened
+menuHilightForegroundColor              Color white
+menuHilightBackgroundColor              =darkerGrey
+menuHilightLevel                        2
+menuViewBackground                      =viewGrey
 
+pullDownMenuFont                        =selectionFont
+pullDownMenuSeparatingLines             false
+pullDownMenuLevel                       0
+pullDownMenuHilightLevel                2
+pullDownMenuKeepMenu                    true
+; pullDownMenuToggleKeep                  true