styles/st80.style
author Claus Gittinger <cg@exept.de>
Thu, 20 Feb 1997 13:03:38 +0100
changeset 1360 574d47019176
parent 961 0e24492a7eef
child 1438 43a7c484413d
permissions -rw-r--r--
better noFocus cursors

; View defaultStyle:#st80 
;
; simulation of the old st80 style - looks somewhat like os2
;
; $Header: /cvs/stx/stx/libview/styles/st80.style,v 1.10 1997-02-20 12:03:38 cg Exp $

comment  'old `ST80'' 3D look alike'

#if (Language == #german) or:[Language == #de]
comment  'An früheres `ST-80'' angelehnt'
#endif
#if (Language == #french) or:[Language == #fr]
comment  'Comme `ST-80'''
#endif

name            #st80

;
; take a smaller font on VGA displays
;
#if Display width == 640
; take smaller fonts on VGA screens
font               Font family:'courier' face:'medium' style:'roman' size:10
selectionFont      Font family:'helvetica' face:'medium' style:'roman' size:10
boldFont           Font family:'helvetica' face:'bold' style:'roman' size:10
#else
selectionFont      Font family:'helvetica' face:'medium' style:'roman' size:12
boldFont           Font family:'helvetica' face:'bold' style:'roman' size:12
#endif

#if Display hasGreyscales
is3D                            true
borderWidth                     0
viewGrey                        Color grey:80
selectionHilightForegroundColor Color black
selectionHilightBackgroundColor Color grey:50
#else
viewGrey                        Color white
lightColor                      Color grey:50
borderWidth               1
#endif

viewBackground            =viewGrey

scrollBarPosition         #right

scrollBarButtonPositions  #around     
scrollBarLevel            0
scrollBarElementSpacing   0

scrollerLevel             1
scrollerViewBackground    =viewGrey
scrollerThumbColor        Color black
scrollerThumbFrameColor   nil
scrollerThumbLevel        0
scrollerThumbInset        3

textCursorType                   #solidCaret
textCursorBackgroundColor        Color black
textCursorNoFocusForegroundColor Color grey

#if Display hasColors
textSelectionBackgroundColor     Color green
textSelectionForegroundColor     Color black
#else
# if Display hasGreyscales
textSelectionBackgroundColor     =viewGrey "Color grey"
textSelectionForegroundColor     Color black
# endif
#endif

popupBorderWidth                 1     

arrowButtonStyle                 #st80 
arrowButtonActiveForegroundColor Color white   
; buttonActiveForegroundColor      Color white
buttonActiveBackgroundColor      Color grey

menuFont                         =boldFont
menuViewBackground               Color white
menuForegroundColor              Color black
menuBackgroundColor              Color white
menuHilightForegroundColor       =menuBackgroundColor
menuHilightBackgroundColor       =menuForegroundColor
menuHighlightLevel               0
menuSeparatingLineLevel          0
menuSeparatingLineInset          0

pullDownMenuFont                 =boldFont
pullDownMenuViewBackground       =viewGrey
pullDownMenuLevel                0
pullDownMenuHilightLevel         -1
pullDownMenuHilightBackgroundColor  Color grey
pullDownMenuSeparatingLines         false
; pullDownMenuKeepMenu                true