author | Claus Gittinger <cg@exept.de> |
Fri, 12 Jun 1998 16:31:52 +0200 | |
changeset 2145 | cf7ecfe69551 |
parent 2135 | bdf4d055eadd |
child 2162 | 1171a830024c |
permissions | -rw-r--r-- |
2115 | 1 |
; View defaultStyle:#iris |
2 |
; |
|
3 |
; silicon graphics style |
|
4 |
; (somwehat like motif, but with smooth edges and bells&whistles) |
|
5 |
; |
|
2145
cf7ecfe69551
dont try to load screen font on non-sgi displays
Claus Gittinger <cg@exept.de>
parents:
2135
diff
changeset
|
6 |
; $Header: /cvs/stx/stx/libview/styles/iris.common,v 1.3 1998-06-12 14:31:52 cg Exp $ |
2115 | 7 |
|
8 |
is3D true |
|
9 |
||
10 |
borderWidth 0 |
|
11 |
viewBackground =viewGrey |
|
12 |
||
13 |
||
14 |
popup.shadow true |
|
15 |
popup.level 2 |
|
16 |
popup.borderWidth 1 |
|
17 |
||
18 |
text.font Font family:'courier' size:12 |
|
19 |
text.lightColor =viewGrey |
|
20 |
||
21 |
#if Display hasColors |
|
22 |
textSelection.foregroundColor Color black |
|
23 |
textSelection.backgroundColor Color green |
|
24 |
#endif |
|
25 |
||
26 |
textCursor.foregroundColor Color white |
|
27 |
#if Display hasColors |
|
28 |
textCursor.backgroundColor Color red |
|
29 |
#else |
|
30 |
textCursor.backgroundColor Color black |
|
31 |
#endif |
|
32 |
||
33 |
#if (Display hasColors and:[Display depth > 4]) |
|
34 |
transcript.foregroundColor =veryLightGray |
|
35 |
transcript.backgroundColor Color red:0 green:0 blue:25 |
|
36 |
transcript.cursorForegroundColor =transcript.backgroundColor |
|
37 |
transcript.cursorBackgroundColor Color green |
|
38 |
#else |
|
39 |
transcript.foregroundColor Color white |
|
40 |
transcript.backgroundColor Color black |
|
41 |
transcript.cursorForegroundColor =transcript.backgroundColor |
|
42 |
transcript.cursorBackgroundColor =transcript.foregroundColor |
|
43 |
#endif |
|
44 |
||
45 |
#if Display hasColors |
|
46 |
; editField.backgroundColor Color red:100 green:75 blue:75 |
|
47 |
; editField.backgroundColor (Color scaledRed:16rB9B9 scaledGreen:16r8E8E scaledBlue:16r8E8E) exactOrNearestOn:(Screen current) |
|
48 |
editField.backgroundColor (Color scaledRed:16rB9B9 scaledGreen:16r8E8E scaledBlue:16r8E8E) exactOrNearestOn:(Screen current) |
|
49 |
editField.selectionBackgroundColor Color white |
|
50 |
editField.selectionForegroundColor Color black |
|
51 |
#endif |
|
52 |
||
2145
cf7ecfe69551
dont try to load screen font on non-sgi displays
Claus Gittinger <cg@exept.de>
parents:
2135
diff
changeset
|
53 |
#if (Display serverVendor = 'Silicon Graphics' and:[(Font family:'screen' face:'bold' style:'roman' size:16) existsOn:Display]) |
2115 | 54 |
editField.font Font family:'screen' face:'bold' style:'roman' size:16 |
55 |
#else |
|
56 |
editField.font Font family:'courier' face:'medium' style:'roman' size:12 |
|
57 |
#endif |
|
58 |
||
59 |
variableFont Font family:'helvetica' face:'medium' style:'roman' size:12 |
|
60 |
selection.font =variableFont |
|
61 |
label.font =variableFont |
|
62 |
||
63 |
#if Display hasColors |
|
64 |
toggle.showLamp true |
|
65 |
toggle.lampColor Color yellow |
|
66 |
checkToggle.checkColor Color red |
|
67 |
checkToggle.bitmapFile 'CheckOnColor.xpm' |
|
68 |
checkToggle.labelOverMargin true |
|
69 |
radioButton.showLamp false |
|
70 |
#endif |
|
71 |
||
72 |
scroller.level -1 |
|
73 |
scroller.thumbLevel 3 |
|
74 |
scroller.thumbColor =viewGrey |
|
75 |
#if Display hasGreyscales |
|
76 |
scroller.thumbEnteredColor =veryLightGray |
|
77 |
#endif |
|
78 |
scroller.thumbEdgeStyle #soft |
|
79 |
scroller.NTallyMarks 3 |
|
80 |
scroller.tallyLevel 1 |
|
81 |
scroller.ghostColor =mediumGray |
|
82 |
scroller.ghostLevel -1 |
|
83 |
#if Display hasGreyscales not |
|
84 |
scroller.viewBackground Color white |
|
85 |
#endif |
|
86 |
scroller.middleButtonJump true |
|
87 |
||
88 |
slider.NTallyMarks 1 |
|
89 |
slider.tallyLevel 1 |
|
90 |
||
91 |
button.edgeStyle #soft |
|
92 |
button.activeLevel -1 |
|
93 |
button.passiveLevel 3 |
|
94 |
button.disabledForegroundColor =darkGray |
|
95 |
#if Display hasGreyscales |
|
96 |
button.enteredBackgroundColor =veryLightGray |
|
97 |
button.activeBackgroundColor nil |
|
98 |
button.activeForegroundColor Color black |
|
99 |
#else |
|
100 |
button.enteredBackgroundColor Color white |
|
101 |
button.activeForegroundColor Color white |
|
102 |
button.activeBackgroundColor Color black |
|
103 |
#endif |
|
104 |
||
105 |
#if OperatingSystem getOSType = 'irix' |
|
106 |
menu.font Font family:'helvetica' face:'bold' style:'oblique' size:10 |
|
107 |
#else |
|
108 |
menu.font Font family:'helvetica' face:'bold' style:'roman' size:12 |
|
109 |
#endif |
|
110 |
||
111 |
menu.hilightBackgroundColor Color white |
|
112 |
menu.hilightForegroundColor Color black |
|
113 |
menu.hilightLevel 1 |
|
114 |
; menuShowAccelerators false |
|
115 |
#if Display hasColors |
|
116 |
menu.checkColor Color red |
|
117 |
#endif |
|
118 |
||
119 |
pullDownMenu.font =menu.font |
|
120 |
pullDownMenu.level 0 |
|
121 |
pullDownMenu.hilightLevel 2 |
|
122 |
pullDownMenu.edgeStyle #soft |
|
123 |
||
124 |
variablePanel.handleColor =darkGray |
|
125 |
#if Display hasGreyscales |
|
126 |
variablePanel.handleEnteredColor =veryLightGray |
|
127 |
#endif |
|
2135 | 128 |
variablePanel.barHeight 10 |
2115 | 129 |
|
130 |
activeHelp.backgroundColor Color yellow lightened |
|
131 |
activeHelp.borderWidth 2 |
|
132 |
||
133 |
#if Display hasGrayscales not |
|
134 |
html.anchorUnderline true |
|
135 |
html.anchorForegroundColor Color black |
|
136 |
html.backgroundColor Color white |
|
137 |
html.activeAnchorForegroundColor Color black |
|
138 |
html.activeAnchorBackgroundColor =html.backgroundColor |
|
139 |
html.visitedAnchorForegroundColor Color black |
|
140 |
html.exampleAnchorForegroundColor Color black |
|
141 |
#endif |