styles/motif.style
author Claus Gittinger <cg@exept.de>
Mon, 11 Aug 1997 13:55:36 +0200
changeset 1853 c3d87b4f6051
parent 1624 46064adf74a0
child 1857 854b5ec3c7b9
permissions -rw-r--r--
use nearest colors to avoid dithered view backgrounds

; View defaultStyle:#motif 
;
; muddy color motif style, as found on HP greyscale machines
; you may want to change the colors to brighter ones - they
; are so pessimistic ;-)
;
; on VGA displays, where the colors are a bit darkish,
; use motif_light
;
; $Header: /cvs/stx/stx/libview/styles/motif.style,v 1.10 1997-08-11 11:55:31 cg Exp $

#if Display hasGreyscales
;
; use #nearestOn to avoid dithered view backgrounds
;
viewGrey                (Color grey:61) nearestOn:(Screen current)
lightColor              (Color grey:84) nearestOn:(Screen current)
shadowColor             (Color grey:33) nearestOn:(Screen current)
mediumColor             (Color grey:52) nearestOn:(Screen current)
#else
viewGrey                Color white
lightColor              Color grey:75
shadowColor             Color black
mediumColor             Color grey:50.
#endif

#include 'motif.common'

comment  '`motif'' look alike.'

#if (Language == #german) or:[Language == #de]
comment  'An `motif'' angelehnter Stil'
#endif
#if (Language == #french) or:[Language == #fr]
comment  'Un style qui resemble `motif'''
#endif

fatFont                     Font family:'helvetica' face:'bold' style:'roman' size:12

selectionFont               =fatFont
labelFont                   =fatFont
menuFont                    =fatFont

#try this:
#variablePanelHandleLevel    -1

#or, try that:
#variablePanelHandleLevel    0
#variablePanelHandleColor    Color black
#variablePanelHandleStyle    #iris 

;
; although the following is not really motif, it looks much better ...
;
#if Display hasColors   
editFieldBackgroundColor           Color red:100 green:75 blue:75
editFieldSelectionBackgroundColor  Color white
editFieldSelectionForegroundColor  Color black
#else
# if Display hasGrayscales not
editFieldBackgroundColor           Color white
# endif
#endif