author | convert-repo |
Fri, 21 Dec 2018 04:38:02 +0000 | |
changeset 8601 | bee9c53ab413 |
parent 4288 | 2c0afff190be |
permissions | -rw-r--r-- |
4288
2c0afff190be
Set comboView.level (to -1) instead of hardcoding it into ComboView.
Stefan Vogel <sv@exept.de>
parents:
3702
diff
changeset
|
1 |
; View defaultStyle:#st80 |
122 | 2 |
; |
3 |
; simulation of the old st80 style - looks somewhat like os2 |
|
4 |
; |
|
4288
2c0afff190be
Set comboView.level (to -1) instead of hardcoding it into ComboView.
Stefan Vogel <sv@exept.de>
parents:
3702
diff
changeset
|
5 |
; $Header: /cvs/stx/stx/libview/styles/st80.style,v 1.28 2004-09-27 08:28:21 stefan 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 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2607
diff
changeset
|
22 |
#if Screen current width <= 800 |
122 | 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 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2607
diff
changeset
|
35 |
#if Screen current hasGreyscales |
688 | 36 |
is3D true |
37 |
borderWidth 0 |
|
2607
e19a8a144912
use (some) preference values under WIN32
Claus Gittinger <cg@exept.de>
parents:
2568
diff
changeset
|
38 |
viewGrey Color grey:80 |
e19a8a144912
use (some) preference values under WIN32
Claus Gittinger <cg@exept.de>
parents:
2568
diff
changeset
|
39 |
darkerGrey Color grey:60 |
e19a8a144912
use (some) preference values under WIN32
Claus Gittinger <cg@exept.de>
parents:
2568
diff
changeset
|
40 |
|
1948 | 41 |
selection.hilightForegroundColor Color black |
2607
e19a8a144912
use (some) preference values under WIN32
Claus Gittinger <cg@exept.de>
parents:
2568
diff
changeset
|
42 |
selection.hilightBackgroundColor =darkerGrey |
1948 | 43 |
selection.hilightFrameColor Color black |
122 | 44 |
#else |
2607
e19a8a144912
use (some) preference values under WIN32
Claus Gittinger <cg@exept.de>
parents:
2568
diff
changeset
|
45 |
viewGrey Color white |
e19a8a144912
use (some) preference values under WIN32
Claus Gittinger <cg@exept.de>
parents:
2568
diff
changeset
|
46 |
lightColor Color grey:50 |
122 | 47 |
borderWidth 1 |
48 |
#endif |
|
49 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2607
diff
changeset
|
50 |
#if Screen current platformName = 'WIN32' |
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2607
diff
changeset
|
51 |
viewGrey [Screen current getSystemColor:#'COLOR_BTNFACE'] |
2607
e19a8a144912
use (some) preference values under WIN32
Claus Gittinger <cg@exept.de>
parents:
2568
diff
changeset
|
52 |
darkerGrey Color grey:50 |
e19a8a144912
use (some) preference values under WIN32
Claus Gittinger <cg@exept.de>
parents:
2568
diff
changeset
|
53 |
#endif |
e19a8a144912
use (some) preference values under WIN32
Claus Gittinger <cg@exept.de>
parents:
2568
diff
changeset
|
54 |
|
e19a8a144912
use (some) preference values under WIN32
Claus Gittinger <cg@exept.de>
parents:
2568
diff
changeset
|
55 |
viewBackground =viewGrey |
122 | 56 |
|
1948 | 57 |
variablePanel.barHeightMM 2 |
1440 | 58 |
|
1948 | 59 |
scrolledView.level 1 |
60 |
scrolledView.margin 1 |
|
61 |
||
62 |
scrollBar.position #right |
|
63 |
; scrollBar.hiding true "/ automatic hiding of useless scrollBars |
|
122 | 64 |
|
4288
2c0afff190be
Set comboView.level (to -1) instead of hardcoding it into ComboView.
Stefan Vogel <sv@exept.de>
parents:
3702
diff
changeset
|
65 |
scrollBar.buttonPositions #around |
1948 | 66 |
scrollBar.level 0 |
67 |
scrollBar.elementSpacing 0 |
|
68 |
scrollBar.spacing 0 |
|
69 |
; scrollBar.neverMini true |
|
70 |
scrollBar.buttonImageMargin 0 |
|
122 | 71 |
|
1948 | 72 |
scroller.level 1 |
73 |
scroller.viewBackground =viewGrey |
|
74 |
scroller.thumbColor Color black |
|
75 |
scroller.thumbFrameColor nil |
|
76 |
scroller.thumbLevel 0 |
|
77 |
scroller.thumbInset 3 |
|
78 |
scroller.middleButtonJump true "middle button jumps to click position" |
|
2468
1a93026b436f
slightly increased miniScroller sizes
Claus Gittinger <cg@exept.de>
parents:
1959
diff
changeset
|
79 |
miniScroller.size 2.5 "/ millimeter |
122 | 80 |
|
1948 | 81 |
textCursor.type #solidCaret |
82 |
textCursor.backgroundColor Color black |
|
83 |
textCursor.noFocusForegroundColor Color grey |
|
274 | 84 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2607
diff
changeset
|
85 |
#if Screen current hasColors |
1952 | 86 |
#text.selectionBackgroundColor Color green |
87 |
#text.selectionForegroundColor Color black |
|
2607
e19a8a144912
use (some) preference values under WIN32
Claus Gittinger <cg@exept.de>
parents:
2568
diff
changeset
|
88 |
text.selectionBackgroundColor =darkerGrey |
e19a8a144912
use (some) preference values under WIN32
Claus Gittinger <cg@exept.de>
parents:
2568
diff
changeset
|
89 |
text.selectionForegroundColor Color black |
274 | 90 |
#else |
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2607
diff
changeset
|
91 |
# if Screen current hasGreyscales |
1948 | 92 |
text.selectionBackgroundColor =viewGrey "Color grey" |
93 |
text.selectionForegroundColor Color black |
|
274 | 94 |
# endif |
122 | 95 |
#endif |
1952 | 96 |
text.st80Selections true |
97 |
||
122 | 98 |
|
4288
2c0afff190be
Set comboView.level (to -1) instead of hardcoding it into ComboView.
Stefan Vogel <sv@exept.de>
parents:
3702
diff
changeset
|
99 |
popup.borderWidth 1 |
122 | 100 |
|
4288
2c0afff190be
Set comboView.level (to -1) instead of hardcoding it into ComboView.
Stefan Vogel <sv@exept.de>
parents:
3702
diff
changeset
|
101 |
arrowButton.style #st80 |
2c0afff190be
Set comboView.level (to -1) instead of hardcoding it into ComboView.
Stefan Vogel <sv@exept.de>
parents:
3702
diff
changeset
|
102 |
arrowButton.activeForegroundColor Color white |
1948 | 103 |
; button.activeForegroundColor Color white |
104 |
button.activeBackgroundColor Color grey |
|
122 | 105 |
|
2568 | 106 |
checkToggle.activeBackgroundColor =viewGrey |
107 |
||
1951 | 108 |
radioButton.style #round2D |
109 |
||
1948 | 110 |
menu.font =variableBoldFont |
111 |
menu.viewBackground Color white |
|
112 |
menu.foregroundColor Color black |
|
113 |
menu.backgroundColor Color white |
|
114 |
menu.hilightForegroundColor =menu.backgroundColor |
|
115 |
menu.hilightBackgroundColor =menu.foregroundColor |
|
116 |
menu.highlightLevel 0 |
|
117 |
menu.separatingLineLevel 0 |
|
118 |
menu.separatingLineInset 0 |
|
122 | 119 |
|
1948 | 120 |
pullDownMenu.font =variableBoldFont |
121 |
pullDownMenu.viewBackground =viewGrey |
|
3702 | 122 |
;; pullDownMenu.level 0 |
123 |
pullDownMenu.level 1 |
|
1948 | 124 |
pullDownMenu.hilightLevel -1 |
125 |
pullDownMenu.hilightBackgroundColor Color grey |
|
126 |
pullDownMenu.separatingLines false |
|
961 | 127 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2607
diff
changeset
|
128 |
#if Screen current hasGrayscales not |
1948 | 129 |
html.anchorUnderline true |
130 |
html.anchorForegroundColor Color black |
|
131 |
html.backgroundColor Color white |
|
132 |
html.activeAnchorForegroundColor Color black |
|
133 |
html.activeAnchorBackgroundColor =html.backgroundColor |
|
134 |
html.visitedAnchorForegroundColor Color black |
|
135 |
html.exampleAnchorForegroundColor Color black |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
136 |
#endif |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1450
diff
changeset
|
137 |
|
1896 | 138 |
TextView.st80Selections true |
139 |
||
4288
2c0afff190be
Set comboView.level (to -1) instead of hardcoding it into ComboView.
Stefan Vogel <sv@exept.de>
parents:
3702
diff
changeset
|
140 |
comboView.level -1 |
2c0afff190be
Set comboView.level (to -1) instead of hardcoding it into ComboView.
Stefan Vogel <sv@exept.de>
parents:
3702
diff
changeset
|
141 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2607
diff
changeset
|
142 |
#if Screen current platformName = 'WIN32' |
2607
e19a8a144912
use (some) preference values under WIN32
Claus Gittinger <cg@exept.de>
parents:
2568
diff
changeset
|
143 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2607
diff
changeset
|
144 |
viewBackgroundColor [Screen current getSystemColor:#'COLOR_MENU' ] |
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2607
diff
changeset
|
145 |
menu.backgroundColor [Screen current getSystemColor:#'COLOR_MENU' ] |
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2607
diff
changeset
|
146 |
menu.foregroundColor [Screen current getSystemColor:#'COLOR_MENUTEXT' ] |
2607
e19a8a144912
use (some) preference values under WIN32
Claus Gittinger <cg@exept.de>
parents:
2568
diff
changeset
|
147 |
pullDownMenu.backgroundColor =menu.backgroundColor |
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2607
diff
changeset
|
148 |
button.backgroundColor [Screen current getSystemColor:#'COLOR_BTNFACE' ] |
2607
e19a8a144912
use (some) preference values under WIN32
Claus Gittinger <cg@exept.de>
parents:
2568
diff
changeset
|
149 |
|
e19a8a144912
use (some) preference values under WIN32
Claus Gittinger <cg@exept.de>
parents:
2568
diff
changeset
|
150 |
#endif |