author | Claus Gittinger <cg@exept.de> |
Wed, 13 Aug 1997 17:30:50 +0200 | |
changeset 1858 | a28b0fd89318 |
parent 1857 | 854b5ec3c7b9 |
child 1932 | 6afe07d9c88c |
permissions | -rw-r--r-- |
122 | 1 |
; View defaultStyle:#iris |
2 |
; |
|
3 |
; silicon graphics style |
|
4 |
; (somwehat like motif, but with smooth edges and bells&whistles) |
|
5 |
; |
|
1858 | 6 |
; $Header: /cvs/stx/stx/libview/styles/iris.style,v 1.22 1997-08-13 15:30:50 cg Exp $ |
309 | 7 |
|
8 |
comment 'Silicon graphics'' Iris look alike' |
|
144 | 9 |
|
309 | 10 |
#if (Language == #german) or:[Language == #de] |
11 |
comment 'An Silicon Graphics Iris angelehnter Stil' |
|
12 |
#endif |
|
122 | 13 |
|
498 | 14 |
#if (Language == #french) or:[Language == #fr] |
1162 | 15 |
comment 'Un style qui résemble Silicon Graphics Irix' |
498 | 16 |
#endif |
17 |
||
122 | 18 |
is3D true |
19 |
name #iris |
|
20 |
||
21 |
#if Display hasGreyscales |
|
1857 | 22 |
viewGrey (Color grey:67) exactOrNearestOn:(Screen current) |
23 |
veryLightGray (Color veryLightGray) exactOrNearestOn:(Screen current) |
|
24 |
darkGray (Color darkGray) exactOrNearestOn:(Screen current) |
|
25 |
mediumGray (Color gray:50) exactOrNearestOn:(Screen current) |
|
122 | 26 |
#else |
27 |
viewGrey Color white |
|
28 |
lightColor Color grey:50 |
|
1853
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1620
diff
changeset
|
29 |
veryLightGray Color veryLightGray |
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1620
diff
changeset
|
30 |
darkGray Color darkGray |
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1620
diff
changeset
|
31 |
mediumGray Color gray:50 |
122 | 32 |
#endif |
1853
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1620
diff
changeset
|
33 |
|
122 | 34 |
borderWidth 0 |
35 |
viewBackground =viewGrey |
|
36 |
||
1853
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1620
diff
changeset
|
37 |
|
122 | 38 |
popupShadow true |
39 |
popupLevel 2 |
|
40 |
popupBorderWidth 1 |
|
41 |
||
468 | 42 |
textFont Font family:'courier' size:12 |
1445 | 43 |
textLightColor =viewGrey |
468 | 44 |
|
122 | 45 |
#if Display hasColors |
46 |
textSelectionForegroundColor Color black |
|
47 |
textSelectionBackgroundColor Color green |
|
48 |
#endif |
|
49 |
||
50 |
textCursorForegroundColor Color white |
|
51 |
#if Display hasColors |
|
52 |
textCursorBackgroundColor Color red |
|
53 |
#else |
|
54 |
textCursorBackgroundColor Color black |
|
55 |
#endif |
|
56 |
||
57 |
#if (Display hasColors and:[Display depth > 4]) |
|
1853
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1620
diff
changeset
|
58 |
transcriptForegroundColor =veryLightGray |
122 | 59 |
transcriptBackgroundColor Color red:0 green:0 blue:25 |
60 |
transcriptCursorForegroundColor =transcriptBackgroundColor |
|
61 |
transcriptCursorBackgroundColor Color green |
|
62 |
#else |
|
63 |
transcriptForegroundColor Color white |
|
64 |
transcriptBackgroundColor Color black |
|
65 |
transcriptCursorForegroundColor =transcriptBackgroundColor |
|
66 |
transcriptCursorBackgroundColor =transcriptForegroundColor |
|
67 |
#endif |
|
68 |
||
69 |
#if Display hasColors |
|
833 | 70 |
; editFieldBackgroundColor Color red:100 green:75 blue:75 |
1857 | 71 |
; editFieldBackgroundColor (Color scaledRed:16rB9B9 scaledGreen:16r8E8E scaledBlue:16r8E8E) exactOrNearestOn:(Screen current) |
1854 | 72 |
editFieldBackgroundColor (Color scaledRed:16rB9B9 scaledGreen:16r8E8E scaledBlue:16r8E8E) |
122 | 73 |
editFieldSelectionBackgroundColor Color white |
74 |
editFieldSelectionForegroundColor Color black |
|
75 |
#endif |
|
157 | 76 |
|
77 |
#if (Font family:'screen' face:'bold' style:'roman' size:16) existsOn:Display |
|
122 | 78 |
editFieldFont Font family:'screen' face:'bold' style:'roman' size:16 |
157 | 79 |
#else |
80 |
editFieldFont Font family:'courier' face:'medium' style:'roman' size:12 |
|
81 |
#endif |
|
122 | 82 |
|
129 | 83 |
variableFont Font family:'helvetica' face:'medium' style:'roman' size:12 |
84 |
selectionFont =variableFont |
|
85 |
labelFont =variableFont |
|
122 | 86 |
|
87 |
#if Display hasColors |
|
88 |
toggleShowLamp true |
|
89 |
toggleLampColor Color yellow |
|
90 |
checkToggleCheckColor Color red |
|
1445 | 91 |
checkToggleBitmapFile 'CheckOnColor.xpm' |
92 |
checkToggleLabelOverMargin true |
|
172 | 93 |
radioButtonShowLamp false |
94 |
radioButtonStyle #iris |
|
122 | 95 |
#endif |
96 |
||
97 |
scrollerLevel -1 |
|
98 |
scrollerThumbLevel 3 |
|
99 |
scrollerThumbColor =viewGrey |
|
521 | 100 |
#if Display hasGreyscales |
1853
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1620
diff
changeset
|
101 |
scrollerThumbEnteredColor =veryLightGray |
521 | 102 |
#endif |
122 | 103 |
scrollerThumbEdgeStyle #soft |
104 |
scrollerNTallyMarks 3 |
|
105 |
scrollerTallyLevel 1 |
|
1853
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1620
diff
changeset
|
106 |
scrollerGhostColor =mediumGray |
122 | 107 |
scrollerGhostLevel -1 |
108 |
#if Display hasGreyscales not |
|
109 |
scrollerViewBackground Color white |
|
110 |
#endif |
|
1858 | 111 |
scrollerMiddleButtonJump true |
122 | 112 |
|
113 |
sliderNTallyMarks 1 |
|
114 |
sliderTallyLevel 1 |
|
115 |
||
116 |
buttonEdgeStyle #soft |
|
117 |
buttonActiveLevel -1 |
|
118 |
buttonPassiveLevel 3 |
|
1853
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1620
diff
changeset
|
119 |
buttonDisabledForegroundColor =darkGray |
122 | 120 |
#if Display hasGreyscales |
1853
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1620
diff
changeset
|
121 |
buttonEnteredBackgroundColor =veryLightGray |
122 | 122 |
buttonActiveBackgroundColor nil |
123 |
buttonActiveForegroundColor Color black |
|
124 |
#else |
|
125 |
buttonEnteredBackgroundColor Color white |
|
126 |
buttonActiveForegroundColor Color white |
|
127 |
buttonActiveBackgroundColor Color black |
|
128 |
#endif |
|
129 |
||
1118 | 130 |
#if OperatingSystem getOSType = 'irix' |
1119 | 131 |
menuFont Font family:'helvetica' face:'bold' style:'oblique' size:10 |
1118 | 132 |
#else |
1119 | 133 |
menuFont Font family:'helvetica' face:'bold' style:'roman' size:12 |
1118 | 134 |
#endif |
135 |
||
122 | 136 |
menuHilightBackgroundColor Color white |
137 |
menuHilightLevel 1 |
|
482 | 138 |
; menuShowAccelerators false |
122 | 139 |
#if Display hasColors |
140 |
menuCheckColor Color red |
|
141 |
#endif |
|
142 |
||
1118 | 143 |
pullDownMenuFont =menuFont |
122 | 144 |
pullDownMenuKeepMenu true |
145 |
pullDownMenuLevel 0 |
|
146 |
pullDownMenuHilightLevel 2 |
|
147 |
pullDownMenuEdgeStyle #soft |
|
148 |
||
1853
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1620
diff
changeset
|
149 |
variablePanelHandleColor =darkGray |
521 | 150 |
#if Display hasGreyscales |
1853
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1620
diff
changeset
|
151 |
variablePanelHandleEnteredColor =veryLightGray |
521 | 152 |
#endif |
174 | 153 |
|
154 |
activeHelpBackgroundColor Color yellow lightened |
|
155 |
activeHelpBorderWidth 2 |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
156 |
|
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
157 |
#if Display hasGrayscales not |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
158 |
htmlAnchorUnderline true |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
159 |
htmlAnchorForegroundColor Color black |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
160 |
htmlBackgroundColor Color white |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
161 |
htmlActiveAnchorForegroundColor Color black |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
162 |
htmlActiveAnchorBackgroundColor =htmlBackgroundColor |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
163 |
htmlVisitedAnchorForegroundColor Color black |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
164 |
htmlExampleAnchorForegroundColor Color black |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
165 |
#endif |