author | Claus Gittinger <cg@exept.de> |
Sun, 02 Nov 1997 20:49:19 +0100 | |
changeset 1948 | 6a9b754ca6d3 |
parent 1896 | 5128713473db |
child 1951 | 5290a36652db |
permissions | -rw-r--r-- |
122 | 1 |
; View defaultStyle:#st80 |
2 |
; |
|
3 |
; simulation of the old st80 style - looks somewhat like os2 |
|
4 |
; |
|
1948 | 5 |
; $Header: /cvs/stx/stx/libview/styles/st80.style,v 1.18 1997-11-02 19:49:18 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 |
|
1948 | 78 |
text.selectionBackgroundColor Color green |
79 |
text.selectionForegroundColor Color black |
|
274 | 80 |
#else |
81 |
# if Display hasGreyscales |
|
1948 | 82 |
text.selectionBackgroundColor =viewGrey "Color grey" |
83 |
text.selectionForegroundColor Color black |
|
274 | 84 |
# endif |
122 | 85 |
#endif |
86 |
||
1948 | 87 |
popup.borderWidth 1 |
122 | 88 |
|
1948 | 89 |
arrowButton.style #st80 |
90 |
arrowButton.activeForegroundColor Color white |
|
91 |
; button.activeForegroundColor Color white |
|
92 |
button.activeBackgroundColor Color grey |
|
122 | 93 |
|
1948 | 94 |
menu.font =variableBoldFont |
95 |
menu.viewBackground Color white |
|
96 |
menu.foregroundColor Color black |
|
97 |
menu.backgroundColor Color white |
|
98 |
menu.hilightForegroundColor =menu.backgroundColor |
|
99 |
menu.hilightBackgroundColor =menu.foregroundColor |
|
100 |
menu.highlightLevel 0 |
|
101 |
menu.separatingLineLevel 0 |
|
102 |
menu.separatingLineInset 0 |
|
122 | 103 |
|
1948 | 104 |
pullDownMenu.font =variableBoldFont |
105 |
pullDownMenu.viewBackground =viewGrey |
|
106 |
pullDownMenu.level 0 |
|
107 |
pullDownMenu.hilightLevel -1 |
|
108 |
pullDownMenu.hilightBackgroundColor Color grey |
|
109 |
pullDownMenu.separatingLines false |
|
110 |
; pullDownMenu.keepMenu true |
|
961 | 111 |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
112 |
#if Display hasGrayscales not |
1948 | 113 |
html.anchorUnderline true |
114 |
html.anchorForegroundColor Color black |
|
115 |
html.backgroundColor Color white |
|
116 |
html.activeAnchorForegroundColor Color black |
|
117 |
html.activeAnchorBackgroundColor =html.backgroundColor |
|
118 |
html.visitedAnchorForegroundColor Color black |
|
119 |
html.exampleAnchorForegroundColor Color black |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
120 |
#endif |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
121 |
|
1896 | 122 |
TextView.st80Selections true |
123 |