author | mawalch |
Thu, 09 Nov 2017 09:17:41 +0100 | |
changeset 8215 | a7e0abee3cb8 |
parent 3702 | 39cb49a47bc1 |
permissions | -rw-r--r-- |
1948 | 1 |
; View defaultStyle:#'iris_GB' |
1849 | 2 |
; |
1948 | 3 |
; modified silicon graphics style - from a customer. |
4 |
; This modifies the iris style for brownish colors, |
|
5 |
; to make the ST/X views fit nicely into an existing |
|
6 |
; application. |
|
1849 | 7 |
; |
3702 | 8 |
; $Header: /cvs/stx/stx/libview/styles/iris_GB.style,v 1.7 2002-08-19 16:26:47 cg Exp $ |
1849 | 9 |
|
1948 | 10 |
comment 'Silicon graphics'' Iris look alike; brownish colors' |
1849 | 11 |
|
12 |
#if (Language == #german) or:[Language == #de] |
|
1948 | 13 |
comment 'An Silicon Graphics Iris angelehnter Stil; braune Farben' |
1849 | 14 |
#endif |
15 |
||
16 |
#if (Language == #french) or:[Language == #fr] |
|
1948 | 17 |
comment 'Un style qui résemble Silicon Graphics Irix; couleurs differentes' |
1849 | 18 |
#endif |
19 |
||
20 |
is3D true |
|
21 |
name #iris_GB |
|
22 |
||
2119 | 23 |
gbBrown Color red:82 green:70 blue:54 |
24 |
gbBrownActive Color red:90 green:70 blue:54 |
|
25 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2119
diff
changeset
|
26 |
#if Screen current hasGreyscales |
2119 | 27 |
viewGrey =gbBrown |
1849 | 28 |
#else |
29 |
viewGrey Color white |
|
30 |
lightColor Color grey:50 |
|
31 |
#endif |
|
32 |
borderWidth 0 |
|
33 |
viewBackground =viewGrey |
|
34 |
||
1948 | 35 |
popup.shadow true |
36 |
popup.level 2 |
|
37 |
popup.borderWidth 1 |
|
1849 | 38 |
|
39 |
textFont Font family:'courier' size:12 |
|
40 |
textLightColor =viewGrey |
|
41 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2119
diff
changeset
|
42 |
#if Screen current hasColors |
1948 | 43 |
text.selectionForegroundColor Color black |
44 |
text.selectionBackgroundColor Color green |
|
1849 | 45 |
#endif |
46 |
||
1948 | 47 |
textCursor.foregroundColor Color black |
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2119
diff
changeset
|
48 |
#if Screen current hasColors |
1948 | 49 |
textCursor.backgroundColor Color red |
1849 | 50 |
#else |
1948 | 51 |
textCursor.backgroundColor Color black |
1849 | 52 |
#endif |
53 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2119
diff
changeset
|
54 |
#if (Screen current hasColors and:[Screen current depth > 4]) |
1948 | 55 |
transcript.foregroundColor Color black |
56 |
transcript.backgroundColor =viewGrey |
|
57 |
transcript.cursorForegroundColor =transcriptBackgroundColor |
|
58 |
transcript.cursorBackgroundColor Color green |
|
1849 | 59 |
#else |
1948 | 60 |
transcript.foregroundColor Color white |
61 |
transcript.backgroundColor Color black |
|
62 |
transcript.cursorForegroundColor =transcriptBackgroundColor |
|
63 |
transcript.cursorBackgroundColor =transcriptForegroundColor |
|
1849 | 64 |
#endif |
65 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2119
diff
changeset
|
66 |
#if Screen current hasColors |
3702 | 67 |
; editField.backgroundColor Color name:'wheat' |
68 |
editField.backgroundColor Color name:'wheat' |
|
1948 | 69 |
editField.selectionBackgroundColor Color white |
70 |
pullDownMenu.hilightForegroundColor Color black. |
|
3702 | 71 |
pullDownMenu.hilightBackgroundColor Color name:'wheat'. |
1948 | 72 |
editField.selectionForegroundColor Color black |
1849 | 73 |
#endif |
74 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2119
diff
changeset
|
75 |
#if (Font family:'screen' face:'bold' style:'roman' size:16) existsOn:Screen current |
1948 | 76 |
editField.font Font family:'screen' face:'bold' style:'roman' size:16 |
1849 | 77 |
#else |
1948 | 78 |
editField.font Font family:'courier' face:'medium' style:'roman' size:12 |
1849 | 79 |
#endif |
80 |
||
81 |
variableFont Font family:'helvetica' face:'medium' style:'roman' size:12 |
|
82 |
selectionFont =variableFont |
|
83 |
labelFont =variableFont |
|
84 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2119
diff
changeset
|
85 |
#if Screen current hasColors |
1948 | 86 |
toggle.showLamp true |
87 |
toggle.lampColor Color yellow |
|
88 |
checkToggle.checkColor Color red |
|
89 |
checkToggle.bitmapFile 'CheckOnColor.xpm' |
|
90 |
checkToggle.labelOverMargin true |
|
3702 | 91 |
|
1948 | 92 |
radioButton.showLamp false |
93 |
radioButton.style #iris |
|
3702 | 94 |
radioButton.backgroundColor =viewGrey |
95 |
radioButton.activeBackgroundColor =viewGrey |
|
1849 | 96 |
#endif |
97 |
||
1948 | 98 |
scroller.level -1 |
99 |
scroller.thumbLevel 3 |
|
100 |
scroller.thumbColor =viewGrey |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2119
diff
changeset
|
101 |
#if Screen current hasGreyscales |
1948 | 102 |
scroller.thumbEnteredColor Color veryLightGrey |
1849 | 103 |
#endif |
1948 | 104 |
scroller.thumbEdgeStyle #soft |
105 |
scroller.NTallyMarks 3 |
|
106 |
scroller.tallyLevel 1 |
|
107 |
scroller.ghostColor Color grey:50 |
|
108 |
scroller.ghostLevel -1 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2119
diff
changeset
|
109 |
#if Screen current hasGreyscales not |
1948 | 110 |
scroller.viewBackground Color white |
1849 | 111 |
#endif |
112 |
||
1951 | 113 |
slider.NTallyMarks 1 |
114 |
slider.tallyLevel 1 |
|
1849 | 115 |
|
1951 | 116 |
button.edgeStyle #soft |
117 |
button.activeLevel -1 |
|
118 |
button.passiveLevel 3 |
|
119 |
button.disabledForegroundColor Color grey |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2119
diff
changeset
|
120 |
#if Screen current hasGreyscales |
2119 | 121 |
button.enteredBackgroundColor =gbBrownActive |
3702 | 122 |
button.activeBackgroundColor Color name:'wheat' |
1951 | 123 |
button.activeForegroundColor Color black |
1849 | 124 |
#else |
1951 | 125 |
button.enteredBackgroundColor Color white |
126 |
button.activeForegroundColor Color white |
|
127 |
button.activeBackgroundColor Color black |
|
1849 | 128 |
#endif |
129 |
||
130 |
#if OperatingSystem getOSType = 'irix' |
|
1951 | 131 |
menu.font Font family:'helvetica' face:'bold' style:'oblique' size:10 |
1849 | 132 |
#else |
1951 | 133 |
menu.font Font family:'helvetica' face:'bold' style:'roman' size:12 |
1849 | 134 |
#endif |
135 |
||
1951 | 136 |
menu.hilightBackgroundColor Color white |
137 |
menu.hilightLevel 1 |
|
1849 | 138 |
; menuShowAccelerators false |
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2119
diff
changeset
|
139 |
#if Screen current hasColors |
1951 | 140 |
menu.checkColor Color red |
1849 | 141 |
#endif |
142 |
||
1951 | 143 |
pullDownMenu.font =menuFont |
3702 | 144 |
pullDownMenu.level 1 |
1951 | 145 |
pullDownMenu.hilightLevel 2 |
146 |
pullDownMenu.edgeStyle #soft |
|
1849 | 147 |
|
1951 | 148 |
variablePanel.handleColor Color darkGrey |
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2119
diff
changeset
|
149 |
#if Screen current hasGreyscales |
1951 | 150 |
variablePanel.handleEnteredColor Color veryLightGrey |
1849 | 151 |
#endif |
152 |
||
153 |
||
1951 | 154 |
activeHelp.backgroundColor Color yellow lightened |
155 |
activeHelp.borderWidth 2 |
|
1849 | 156 |
|
157 |
||
158 |
toolBarColorUserContext1 #gbBrown |
|
159 |
toolBarColorUserContext2 #indianRed |
|
160 |
toolBarColorUserContext3 #gbBrown |
|
161 |
toolBarColorUserContext4 #gbBrown |
|
162 |
toolBarColorUserContext5 #gbBrown |
|
163 |
toolBarColorUserContext6 #gbBrown |
|
164 |
toolBarColorUserContext7 #gbBrown |
|
165 |
toolBarColorUserContext8 #gbBrown |
|
166 |
toolBarColorUserContext9 #gbBrown |
|
167 |
toolBarColorUserContext10 #gbBrown |
|
168 |
||
169 |
fillColor #bisque |
|
170 |
highLightColor #gbBrownActive |
|
171 |
||
2119 | 172 |
;html.backgroundColor =gbBrown |
173 |
html.fontSize 14 |
|
174 |
html.printFontSize 14 |
|
175 |
html.backgroundColor =gbBrownActive |
|
176 |
;html.anchorForegroundColor Color blue darkened |
|
177 |
;html.activeAnchorForegroundColor Color red |
|
178 |
;html.activeAnchorBackgroundColor =htmlBackgroundColor |
|
179 |
;html.visitedAnchorForegroundColor Color red:30 green:0 blue:80 |
|
180 |
;html.exampleAnchorForegroundColor Color red:40 green:0 blue:0 |
|
181 |
;html.anchorUnderline false |
|
182 |