author | Claus Gittinger <cg@exept.de> |
Tue, 28 Oct 1997 20:14:52 +0100 | |
changeset 1937 | c48e025f7931 |
parent 1932 | 6afe07d9c88c |
child 1948 | 6a9b754ca6d3 |
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 |
; |
|
1937 | 6 |
; $Header: /cvs/stx/stx/libview/styles/iris.style,v 1.24 1997-10-28 19:14:52 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 |
1932 | 46 |
textSelection.foregroundColor Color black |
47 |
textSelection.backgroundColor Color green |
|
122 | 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 |
|
1937 | 70 |
; editField.backgroundColor Color red:100 green:75 blue:75 |
71 |
; editField.backgroundColor (Color scaledRed:16rB9B9 scaledGreen:16r8E8E scaledBlue:16r8E8E) exactOrNearestOn:(Screen current) |
|
72 |
editField.backgroundColor (Color scaledRed:16rB9B9 scaledGreen:16r8E8E scaledBlue:16r8E8E) |
|
73 |
editField.selectionBackgroundColor Color white |
|
74 |
editField.selectionForegroundColor Color black |
|
122 | 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 |
|
1932 | 88 |
toggle.showLamp true |
89 |
toggle.lampColor Color yellow |
|
90 |
checkToggle.checkColor Color red |
|
91 |
checkToggle.bitmapFile 'CheckOnColor.xpm' |
|
92 |
checkToggle.labelOverMargin true |
|
1937 | 93 |
radioButton.showLamp false |
94 |
radioButton.style #iris |
|
122 | 95 |
#endif |
96 |
||
1932 | 97 |
scroller.level -1 |
98 |
scroller.thumbLevel 3 |
|
99 |
scroller.thumbColor =viewGrey |
|
521 | 100 |
#if Display hasGreyscales |
1932 | 101 |
scroller.thumbEnteredColor =veryLightGray |
521 | 102 |
#endif |
1932 | 103 |
scroller.thumbEdgeStyle #soft |
104 |
scroller.NTallyMarks 3 |
|
105 |
scroller.tallyLevel 1 |
|
106 |
scroller.ghostColor =mediumGray |
|
107 |
scroller.ghostLevel -1 |
|
122 | 108 |
#if Display hasGreyscales not |
1932 | 109 |
scroller.viewBackground Color white |
122 | 110 |
#endif |
1932 | 111 |
scroller.middleButtonJump true |
122 | 112 |
|
1932 | 113 |
slider.NTallyMarks 1 |
114 |
slider.tallyLevel 1 |
|
122 | 115 |
|
1932 | 116 |
button.edgeStyle #soft |
117 |
button.activeLevel -1 |
|
118 |
button.passiveLevel 3 |
|
119 |
button.disabledForegroundColor =darkGray |
|
122 | 120 |
#if Display hasGreyscales |
1932 | 121 |
button.enteredBackgroundColor =veryLightGray |
122 |
button.activeBackgroundColor nil |
|
123 |
button.activeForegroundColor Color black |
|
122 | 124 |
#else |
1932 | 125 |
button.enteredBackgroundColor Color white |
126 |
button.activeForegroundColor Color white |
|
127 |
button.activeBackgroundColor Color black |
|
122 | 128 |
#endif |
129 |
||
1118 | 130 |
#if OperatingSystem getOSType = 'irix' |
1937 | 131 |
menu.font Font family:'helvetica' face:'bold' style:'oblique' size:10 |
1118 | 132 |
#else |
1937 | 133 |
menu.font Font family:'helvetica' face:'bold' style:'roman' size:12 |
1118 | 134 |
#endif |
135 |
||
1937 | 136 |
menu.hilightBackgroundColor Color white |
137 |
menu.hilightForegroundColor Color black |
|
138 |
menu.hilightLevel 1 |
|
482 | 139 |
; menuShowAccelerators false |
122 | 140 |
#if Display hasColors |
1937 | 141 |
menu.checkColor Color red |
122 | 142 |
#endif |
143 |
||
1932 | 144 |
pullDownMenu.font =menuFont |
145 |
pullDownMenu.keepMenu true |
|
146 |
pullDownMenu.level 0 |
|
147 |
pullDownMenu.hilightLevel 2 |
|
148 |
pullDownMenu.edgeStyle #soft |
|
122 | 149 |
|
1937 | 150 |
variablePanel.handleColor =darkGray |
521 | 151 |
#if Display hasGreyscales |
1937 | 152 |
variablePanel.handleEnteredColor =veryLightGray |
521 | 153 |
#endif |
174 | 154 |
|
1937 | 155 |
activeHelp.backgroundColor Color yellow lightened |
156 |
activeHelp.borderWidth 2 |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
157 |
|
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
158 |
#if Display hasGrayscales not |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
159 |
htmlAnchorUnderline true |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
160 |
htmlAnchorForegroundColor Color black |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
161 |
htmlBackgroundColor Color white |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
162 |
htmlActiveAnchorForegroundColor Color black |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
163 |
htmlActiveAnchorBackgroundColor =htmlBackgroundColor |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
164 |
htmlVisitedAnchorForegroundColor Color black |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
165 |
htmlExampleAnchorForegroundColor Color black |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1445
diff
changeset
|
166 |
#endif |