styles/motif.style
author Claus Gittinger <cg@exept.de>
Mon, 03 Nov 1997 17:43:15 +0100
changeset 1951 5290a36652db
parent 1948 6a9b754ca6d3
child 2309 dbb2ac29bb80
permissions -rw-r--r--
*** empty log message ***

; 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.13 1997-11-03 16:43:00 cg Exp $

#if Display hasGreyscales
;
; use #nearestOn to avoid dithered view backgrounds
;
viewGrey                (Color grey:61) exactOrNearestOn:(Screen current)
lightColor              (Color grey:84) exactOrNearestOn:(Screen current)
shadowColor             (Color grey:33) exactOrNearestOn:(Screen current)
mediumColor             (Color grey:52) exactOrNearestOn:(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:
#variablePanel.handleLevel    -1

#or, try that:
#variablePanel.handleLevel    0
#variablePanel.handleColor    Color black
#variablePanel.handleStyle    #iris 

;
; although the following is not really motif, it looks much better ...
;
#if Display hasColors   
editField.backgroundColor           (Color red:100 green:75 blue:75) exactOrNearestOn:(Screen current)
editField.selectionBackgroundColor  Color white
editField.selectionForegroundColor  Color black
#else
# if Display hasGrayscales not
editField.backgroundColor           Color white
# endif
#endif