styles/motif2.style
author Claus Gittinger <cg@exept.de>
Mon, 11 Aug 1997 13:55:36 +0200
changeset 1853 c3d87b4f6051
parent 1440 114c32a3d0ea
child 1857 854b5ec3c7b9
permissions -rw-r--r--
use nearest colors to avoid dithered view backgrounds
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
122
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
     1
; View defaultStyle:#motif2
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
     2
;
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
     3
; just a demo:
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
     4
; like motif, but with different (red) menu-hilighting
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
     5
;
1853
c3d87b4f6051 use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents: 1440
diff changeset
     6
; $Header: /cvs/stx/stx/libview/styles/motif2.style,v 1.9 1997-08-11 11:55:32 cg Exp $
122
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
     7
180
claus
parents: 144
diff changeset
     8
#if Display hasGreyscales
1853
c3d87b4f6051 use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents: 1440
diff changeset
     9
viewGrey                (Color grey:61) nearestOn:(Screen current) 
c3d87b4f6051 use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents: 1440
diff changeset
    10
lightColor              (Color grey:84) nearestOn:(Screen current)
c3d87b4f6051 use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents: 1440
diff changeset
    11
shadowColor             (Color grey:33) nearestOn:(Screen current)
c3d87b4f6051 use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents: 1440
diff changeset
    12
mediumColor             (Color grey:52) nearestOn:(Screen current)
180
claus
parents: 144
diff changeset
    13
#else
claus
parents: 144
diff changeset
    14
viewGrey                Color white
claus
parents: 144
diff changeset
    15
lightColor              Color grey:25
claus
parents: 144
diff changeset
    16
shadowColor             Color black
claus
parents: 144
diff changeset
    17
mediumColor             Color grey:50.
claus
parents: 144
diff changeset
    18
#endif
122
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
    19
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
    20
#include 'motif.style'
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
    21
1440
114c32a3d0ea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 534
diff changeset
    22
comment  'Fun style. Like `motif'' style.\\With changed menu & selection colors.'
309
8cc4d0e7b41b germanism
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
    23
8cc4d0e7b41b germanism
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
    24
#if (Language == #german) or:[Language == #de]
8cc4d0e7b41b germanism
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
    25
comment  'Wie `motif'', mit geänderten Farben für Menüs & Selektionen'
8cc4d0e7b41b germanism
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
    26
#endif
498
ca1d11e446ce some french strings
Claus Gittinger <cg@exept.de>
parents: 309
diff changeset
    27
#if (Language == #french) or:[Language == #fr]
ca1d11e446ce some french strings
Claus Gittinger <cg@exept.de>
parents: 309
diff changeset
    28
comment  'Comme `motif'', avec des couleurs differentes'
ca1d11e446ce some french strings
Claus Gittinger <cg@exept.de>
parents: 309
diff changeset
    29
#endif
144
claus
parents: 122
diff changeset
    30
122
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
    31
menuHilightForegroundColor      Color white
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
    32
menuHilightBackgroundColor      Color red
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
    33
menuHilightLevel                1
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
    34
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
    35
;
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
    36
; and different selectionHilighting
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
    37
; (if the following is uncommented)
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
    38
;
c84d8d1e8d48 Initial revision
claus
parents:
diff changeset
    39
534
ae5caa947d14 better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents: 498
diff changeset
    40
selectionHilightForegroundColor     Color black      
ae5caa947d14 better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents: 498
diff changeset
    41
selectionHilightBackgroundColor     Color green
ae5caa947d14 better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents: 498
diff changeset
    42
selectionHilightStyle               nil
ae5caa947d14 better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents: 498
diff changeset
    43
selectionHilightLevel               1