author | Claus Gittinger <cg@exept.de> |
Thu, 11 Sep 1997 03:57:38 +0200 | |
changeset 1896 | 5128713473db |
parent 1833 | d361315c60e4 |
child 1948 | 6a9b754ca6d3 |
permissions | -rw-r--r-- |
122 | 1 |
; View defaultStyle:#st80 |
2 |
; |
|
3 |
; simulation of the old st80 style - looks somewhat like os2 |
|
4 |
; |
|
1896 | 5 |
; $Header: /cvs/stx/stx/libview/styles/st80.style,v 1.17 1997-09-11 01:57:38 cg Exp $ |
144 | 6 |
|
498 | 7 |
comment 'old `ST80'' 3D look alike' |
122 | 8 |
|
309 | 9 |
#if (Language == #german) or:[Language == #de] |
498 | 10 |
comment 'An früheres `ST-80'' angelehnt' |
11 |
#endif |
|
12 |
#if (Language == #french) or:[Language == #fr] |
|
13 |
comment 'Comme `ST-80''' |
|
309 | 14 |
#endif |
15 |
||
122 | 16 |
name #st80 |
17 |
||
18 |
; |
|
19 |
; take a smaller font on VGA displays |
|
20 |
; |
|
1450 | 21 |
|
122 | 22 |
#if Display width == 640 |
23 |
; take smaller fonts on VGA screens |
|
24 |
font Font family:'courier' face:'medium' style:'roman' size:10 |
|
1450 | 25 |
variableBoldFont Font family:'helvetica' face:'medium' style:'roman' size:10 |
961 | 26 |
boldFont Font family:'helvetica' face:'bold' style:'roman' size:10 |
122 | 27 |
#else |
1450 | 28 |
variableFont Font family:'helvetica' face:'medium' style:'roman' size:12 |
29 |
variableBoldFont Font family:'helvetica' face:'bold' style:'roman' size:12 |
|
122 | 30 |
#endif |
31 |
||
1450 | 32 |
selectionFont =variableFont |
33 |
labelFont =selectionFont |
|
34 |
||
122 | 35 |
#if Display hasGreyscales |
688 | 36 |
is3D true |
37 |
borderWidth 0 |
|
38 |
viewGrey Color grey:80 |
|
39 |
selectionHilightForegroundColor Color black |
|
40 |
selectionHilightBackgroundColor Color grey:50 |
|
1896 | 41 |
selectionHilightFrameColor Color black |
122 | 42 |
#else |
688 | 43 |
viewGrey Color white |
44 |
lightColor Color grey:50 |
|
122 | 45 |
borderWidth 1 |
46 |
#endif |
|
47 |
||
1440 | 48 |
viewBackground =viewGrey |
122 | 49 |
|
1440 | 50 |
scrolledViewLevel 1 |
51 |
scrolledViewMargin 1 |
|
52 |
||
53 |
scrollBarPosition #right |
|
1833 | 54 |
; scrollBarHiding true "/ automatic hiding of useless scrollBars |
122 | 55 |
|
1440 | 56 |
scrollBarButtonPositions #around |
57 |
scrollBarLevel 0 |
|
58 |
scrollBarElementSpacing 0 |
|
59 |
scrollBarSpacing 0 |
|
1442 | 60 |
; scrollBarNeverMini true |
1440 | 61 |
scrollBarButtonImageMargin 0 |
122 | 62 |
|
1440 | 63 |
scrollerLevel 1 |
64 |
scrollerViewBackground =viewGrey |
|
65 |
scrollerThumbColor Color black |
|
66 |
scrollerThumbFrameColor nil |
|
67 |
scrollerThumbLevel 0 |
|
68 |
scrollerThumbInset 3 |
|
1896 | 69 |
scrollerMiddleButtonJump true "middle button jumps to click position" |
122 | 70 |
|
71 |
textCursorType #solidCaret |
|
72 |
textCursorBackgroundColor Color black |
|
1360 | 73 |
textCursorNoFocusForegroundColor Color grey |
274 | 74 |
|
75 |
#if Display hasColors |
|
76 |
textSelectionBackgroundColor Color green |
|
122 | 77 |
textSelectionForegroundColor Color black |
274 | 78 |
#else |
79 |
# if Display hasGreyscales |
|
80 |
textSelectionBackgroundColor =viewGrey "Color grey" |
|
81 |
textSelectionForegroundColor Color black |
|
82 |
# endif |
|
122 | 83 |
#endif |
84 |
||
85 |
popupBorderWidth 1 |
|
86 |
||
87 |
arrowButtonStyle #st80 |
|
88 |
arrowButtonActiveForegroundColor Color white |
|
153 | 89 |
; buttonActiveForegroundColor Color white |
90 |
buttonActiveBackgroundColor Color grey |
|
122 | 91 |
|
1450 | 92 |
menuFont =variableBoldFont |
122 | 93 |
menuViewBackground Color white |
94 |
menuForegroundColor Color black |
|
95 |
menuBackgroundColor Color white |
|
96 |
menuHilightForegroundColor =menuBackgroundColor |
|
97 |
menuHilightBackgroundColor =menuForegroundColor |
|
98 |
menuHighlightLevel 0 |
|
99 |
menuSeparatingLineLevel 0 |
|
152 | 100 |
menuSeparatingLineInset 0 |
122 | 101 |
|
1450 | 102 |
pullDownMenuFont =variableBoldFont |
153 | 103 |
pullDownMenuViewBackground =viewGrey |
961 | 104 |
pullDownMenuLevel 0 |
153 | 105 |
pullDownMenuHilightLevel -1 |
106 |
pullDownMenuHilightBackgroundColor Color grey |
|
961 | 107 |
pullDownMenuSeparatingLines false |
108 |
; pullDownMenuKeepMenu true |
|
109 |
||
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
110 |
#if Display hasGrayscales not |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
111 |
htmlAnchorUnderline true |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
112 |
htmlAnchorForegroundColor Color black |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
113 |
htmlBackgroundColor Color white |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
114 |
htmlActiveAnchorForegroundColor Color black |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
115 |
htmlActiveAnchorBackgroundColor =htmlBackgroundColor |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
116 |
htmlVisitedAnchorForegroundColor Color black |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
117 |
htmlExampleAnchorForegroundColor Color black |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
118 |
#endif |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
119 |
|
1896 | 120 |
TextView.st80Selections true |
121 |