author | Claus Gittinger <cg@exept.de> |
Thu, 20 Nov 1997 19:46:45 +0100 | |
changeset 1959 | d5ec4b54e970 |
parent 1952 | 4b7aaf1e3fd6 |
child 2468 | 1a93026b436f |
permissions | -rw-r--r-- |
122 | 1 |
; View defaultStyle:#st80 |
2 |
; |
|
3 |
; simulation of the old st80 style - looks somewhat like os2 |
|
4 |
; |
|
1959 | 5 |
; $Header: /cvs/stx/stx/libview/styles/st80.style,v 1.21 1997-11-20 18:46:45 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 |
|
1948 | 39 |
selection.hilightForegroundColor Color black |
40 |
selection.hilightBackgroundColor Color grey:60 |
|
41 |
selection.hilightFrameColor 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 |
|
1948 | 50 |
variablePanel.barHeightMM 2 |
1440 | 51 |
|
1948 | 52 |
scrolledView.level 1 |
53 |
scrolledView.margin 1 |
|
54 |
||
55 |
scrollBar.position #right |
|
56 |
; scrollBar.hiding true "/ automatic hiding of useless scrollBars |
|
122 | 57 |
|
1948 | 58 |
scrollBar.buttonPositions #around |
59 |
scrollBar.level 0 |
|
60 |
scrollBar.elementSpacing 0 |
|
61 |
scrollBar.spacing 0 |
|
62 |
; scrollBar.neverMini true |
|
63 |
scrollBar.buttonImageMargin 0 |
|
122 | 64 |
|
1948 | 65 |
scroller.level 1 |
66 |
scroller.viewBackground =viewGrey |
|
67 |
scroller.thumbColor Color black |
|
68 |
scroller.thumbFrameColor nil |
|
69 |
scroller.thumbLevel 0 |
|
70 |
scroller.thumbInset 3 |
|
71 |
scroller.middleButtonJump true "middle button jumps to click position" |
|
122 | 72 |
|
1948 | 73 |
textCursor.type #solidCaret |
74 |
textCursor.backgroundColor Color black |
|
75 |
textCursor.noFocusForegroundColor Color grey |
|
274 | 76 |
|
77 |
#if Display hasColors |
|
1952 | 78 |
#text.selectionBackgroundColor Color green |
79 |
#text.selectionForegroundColor Color black |
|
80 |
text.selectionBackgroundColor Color grey:60 |
|
1948 | 81 |
text.selectionForegroundColor Color black |
274 | 82 |
#else |
83 |
# if Display hasGreyscales |
|
1948 | 84 |
text.selectionBackgroundColor =viewGrey "Color grey" |
85 |
text.selectionForegroundColor Color black |
|
274 | 86 |
# endif |
122 | 87 |
#endif |
1952 | 88 |
text.st80Selections true |
89 |
||
122 | 90 |
|
1948 | 91 |
popup.borderWidth 1 |
122 | 92 |
|
1948 | 93 |
arrowButton.style #st80 |
94 |
arrowButton.activeForegroundColor Color white |
|
95 |
; button.activeForegroundColor Color white |
|
96 |
button.activeBackgroundColor Color grey |
|
122 | 97 |
|
1951 | 98 |
radioButton.style #round2D |
99 |
||
1948 | 100 |
menu.font =variableBoldFont |
101 |
menu.viewBackground Color white |
|
102 |
menu.foregroundColor Color black |
|
103 |
menu.backgroundColor Color white |
|
104 |
menu.hilightForegroundColor =menu.backgroundColor |
|
105 |
menu.hilightBackgroundColor =menu.foregroundColor |
|
106 |
menu.highlightLevel 0 |
|
107 |
menu.separatingLineLevel 0 |
|
108 |
menu.separatingLineInset 0 |
|
122 | 109 |
|
1948 | 110 |
pullDownMenu.font =variableBoldFont |
111 |
pullDownMenu.viewBackground =viewGrey |
|
112 |
pullDownMenu.level 0 |
|
113 |
pullDownMenu.hilightLevel -1 |
|
114 |
pullDownMenu.hilightBackgroundColor Color grey |
|
115 |
pullDownMenu.separatingLines false |
|
961 | 116 |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
117 |
#if Display hasGrayscales not |
1948 | 118 |
html.anchorUnderline true |
119 |
html.anchorForegroundColor Color black |
|
120 |
html.backgroundColor Color white |
|
121 |
html.activeAnchorForegroundColor Color black |
|
122 |
html.activeAnchorBackgroundColor =html.backgroundColor |
|
123 |
html.visitedAnchorForegroundColor Color black |
|
124 |
html.exampleAnchorForegroundColor Color black |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
125 |
#endif |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
126 |
|
1896 | 127 |
TextView.st80Selections true |
128 |