author | Claus Gittinger <cg@exept.de> |
Fri, 22 Feb 2019 09:30:26 +0100 | |
changeset 8634 | e49cd74df70c |
parent 2991 | 918e2f570098 |
permissions | -rw-r--r-- |
122 | 1 |
; View defaultStyle:#'motif_light' |
2 |
; |
|
3 |
; like motif, but using a brighter grey |
|
4 |
; |
|
5 |
; use this (instead of motif) on VGA displays, |
|
6 |
; where the colors are a bit darkish |
|
7 |
; |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2467
diff
changeset
|
8 |
; $Header: /cvs/stx/stx/libview/styles/motif_light.style,v 1.12 1999-10-27 13:28:03 stefan Exp $ |
122 | 9 |
; |
10 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2467
diff
changeset
|
11 |
#if Screen current hasGreyscales |
2155 | 12 |
viewGrey Color grey:67 |
180 | 13 |
lightColor Color grey:80 |
14 |
shadowColor Color grey:25 |
|
2467 | 15 |
mediumColor Color grey:50 |
122 | 16 |
#endif |
17 |
||
18 |
#include 'motif.common' |
|
19 |
||
309 | 20 |
comment 'like `motif'' style\\slightly brighter colors' |
21 |
||
22 |
#if (Language == #german) or:[Language == #de] |
|
23 |
comment 'Wie `motif''\Hellerer Hintergrund.' |
|
24 |
#endif |
|
122 | 25 |
|
1948 | 26 |
scroller.viewBackground Color grey:50 |
27 |
scroller.thumbColor =viewGrey |
|
122 | 28 |
|
1948 | 29 |
selection.foregroundColor Color black |
122 | 30 |
|
1948 | 31 |
label.foregroundColor Color black |
122 | 32 |
|
1948 | 33 |
button.activeBackgroundColor Color grey:50 |
34 |
button.activeForegroundColor Color black |
|
35 |
button.disabledForegroundColor Color grey:25 |
|
122 | 36 |
|
1948 | 37 |
menu.viewBackgroundColor Color grey:50 |
38 |
menu.disabledForegroundColor Color darkGrey |
|
122 | 39 |
|
1948 | 40 |
ruler.foregroundColor Color black |
41 |
ruler.backgroundColor Color grey:50 |
|
140 | 42 |
|
1948 | 43 |
selection.disabledForegroundColor Color grey:25 |
273
aa1efc1ca2f3
better bg-color in enterfields
Claus Gittinger <cg@exept.de>
parents:
246
diff
changeset
|
44 |
|
aa1efc1ca2f3
better bg-color in enterfields
Claus Gittinger <cg@exept.de>
parents:
246
diff
changeset
|
45 |
; |
aa1efc1ca2f3
better bg-color in enterfields
Claus Gittinger <cg@exept.de>
parents:
246
diff
changeset
|
46 |
; although the following is not really motif, it looks much better ... |
aa1efc1ca2f3
better bg-color in enterfields
Claus Gittinger <cg@exept.de>
parents:
246
diff
changeset
|
47 |
; |
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2467
diff
changeset
|
48 |
#if Screen current hasColors |
1948 | 49 |
editField.backgroundColor Color red:100 green:75 blue:75 |
50 |
editField.selectionBackgroundColor Color white |
|
51 |
editField.selectionForegroundColor Color black |
|
273
aa1efc1ca2f3
better bg-color in enterfields
Claus Gittinger <cg@exept.de>
parents:
246
diff
changeset
|
52 |
#endif |
aa1efc1ca2f3
better bg-color in enterfields
Claus Gittinger <cg@exept.de>
parents:
246
diff
changeset
|
53 |