author | mawalch |
Thu, 26 Oct 2017 21:55:28 +0200 | |
changeset 8213 | 0e7ce71e334c |
parent 2991 | 918e2f570098 |
permissions | -rw-r--r-- |
122 | 1 |
; View defaultStyle:#'motif_dec2' |
2 |
; |
|
3 |
; dec's motif style (as seen on an ultrix4.4 system) |
|
246 | 4 |
; like motif, but using different (brown, pessimistic, newEngland-weather) colors |
122 | 5 |
; |
6 |
; |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
1948
diff
changeset
|
7 |
; $Header: /cvs/stx/stx/libview/styles/motif_dec2.style,v 1.9 1999-10-27 13:28:03 stefan Exp $ |
122 | 8 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
1948
diff
changeset
|
9 |
#if Screen current hasGreyscales |
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
1948
diff
changeset
|
10 |
# if Screen current hasColors |
122 | 11 |
viewGrey Color red:79 green:67 blue:57 |
12 |
scrollerVB Color red:72 green:60 blue:52 |
|
13 |
# else |
|
14 |
viewGrey Color grey:67 |
|
15 |
scrollerVB Color grey:50 |
|
16 |
# endif |
|
17 |
#endif |
|
18 |
||
19 |
#include 'motif.common' |
|
20 |
||
309 | 21 |
comment 'another DEC motif look alike\\brownish colors & larger fonts.' |
22 |
||
23 |
#if (Language == #german) or:[Language == #de] |
|
24 |
comment 'Angelehnt an `motif'' auf DEC Systemen\Brauner Hintergrund und großer Zeichensatz.' |
|
25 |
#endif |
|
498 | 26 |
#if (Language == #french) or:[Language == #fr] |
27 |
comment 'Comme 'motif'' avec les systèmes de DEC' |
|
28 |
#endif |
|
309 | 29 |
|
144 | 30 |
|
122 | 31 |
menuFont Font family:'helvetica' face:'medium' style:'roman' size:14 |
32 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
1948
diff
changeset
|
33 |
#if Screen current hasColors |
122 | 34 |
lightColor Color red:90 green:75 blue:63 |
35 |
shadowColor Color red:36 green:30 blue:26 |
|
36 |
#else |
|
37 |
lightColor Color grey:85 |
|
38 |
shadowColor Color grey:30 |
|
39 |
#endif |
|
40 |
||
1948 | 41 |
textCursor.type #block |
122 | 42 |
|
1948 | 43 |
scroller.viewBackground =scrollerVB |
44 |
scroller.thumbColor =viewGrey |
|
122 | 45 |
|
1948 | 46 |
selection.foregroundColor Color black |
122 | 47 |
|
1948 | 48 |
label.foregroundColor Color black |
122 | 49 |
|
1948 | 50 |
button.activeBackgroundColor =scrollerVB |
51 |
button.activeForegroundColor Color black |
|
52 |
arrowButton.activeForegroundColor =viewGrey |
|
122 | 53 |
|
1948 | 54 |
menu.viewBackgroundColor =scrollerVB |
55 |
menu.disabledForegroundColor Color darkGrey |
|
122 | 56 |
|
1948 | 57 |
ruler.backgroundColor =scrollerVB |
122 | 58 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
1948
diff
changeset
|
59 |
#if (Screen current hasColors and:[Screen current depth > 4]) |
1948 | 60 |
transcript.backgroundColor =viewGrey |
122 | 61 |
#endif |