author | Stefan Vogel <sv@exept.de> |
Wed, 05 Feb 2020 13:55:32 +0100 | |
changeset 8985 | b4d006b79f84 |
parent 2991 | 918e2f570098 |
permissions | -rw-r--r-- |
122 | 1 |
; View defaultStyle:#openwin |
2 |
; |
|
3 |
; somewhat like SUN openwindows - however, the scrollbars |
|
4 |
; are not openwin-like (and since SUN dropped openwin, no |
|
5 |
; effort will probably ever be spent on changing this). |
|
6 |
; |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
1959
diff
changeset
|
7 |
; $Header: /cvs/stx/stx/libview/styles/openwin.style,v 1.17 1999-10-27 13:28:03 stefan Exp $ |
122 | 8 |
; |
9 |
||
309 | 10 |
comment 'SUN openwin look alike\unfinished (especially scrollbars)' |
11 |
||
12 |
#if (Language == #german) or:[Language == #de] |
|
13 |
comment 'An SUN''s openwin angelehnter Stil\nicht perfekt (insbes. Verschiebebalken).' |
|
14 |
#endif |
|
498 | 15 |
#if (Language == #french) or:[Language == #fr] |
16 |
comment 'Comme openwin du SUN' |
|
17 |
#endif |
|
144 | 18 |
|
770 | 19 |
selectionFont Font family:'helvetica' face:'medium' style:'roman' size:12 |
20 |
#menuFont Font family:'helvetica' face:'medium' style:'roman' size:14 |
|
21 |
menuFont Font family:'lucida' face:'medium' style:'roman' size:12 |
|
22 |
||
122 | 23 |
is3D true |
24 |
name #openwin |
|
25 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
1959
diff
changeset
|
26 |
#if Screen current hasGreyscales |
1857 | 27 |
viewGrey (Color grey:80) exactOrNearestOn:(Screen current) |
28 |
darkerGrey (Color grey:67) exactOrNearestOn:(Screen current) |
|
122 | 29 |
#else |
30 |
viewGrey Color white |
|
31 |
lightColor Color grey:50 |
|
1853
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1620
diff
changeset
|
32 |
darkerGrey Color grey:67 |
122 | 33 |
#endif |
34 |
||
35 |
borderWidth 0 |
|
1948 | 36 |
popup.borderWidth 1 |
122 | 37 |
|
38 |
viewBackground =viewGrey |
|
39 |
||
1948 | 40 |
textCursor.type #bigSolidCaret |
41 |
textCursor.noFocusForegroundColor Color grey |
|
122 | 42 |
|
1948 | 43 |
scrolledView.level 0 |
44 |
scrollableView.level 0 |
|
45 |
scrolledView.borderWidth 1 |
|
1440 | 46 |
|
1948 | 47 |
scroller.level -1 |
48 |
scroller.thumbLevel 1 |
|
49 |
scroller.thumbColor =viewGrey |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
1959
diff
changeset
|
50 |
#if Screen current hasGreyscales |
1948 | 51 |
scroller.viewBackground =darkerGrey |
122 | 52 |
#else |
1948 | 53 |
scroller.viewBackground Color white |
122 | 54 |
#endif |
1948 | 55 |
scrollBar.position #right |
122 | 56 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
1959
diff
changeset
|
57 |
#if Screen current hasGreyscales |
1948 | 58 |
button.activeForegroundColor Color black |
59 |
button.activeBackgroundColor =darkerGrey |
|
152 | 60 |
#else |
1948 | 61 |
button.activeForegroundColor Color white |
62 |
button.activeBackgroundColor Color black |
|
122 | 63 |
#endif |
64 |
||
1948 | 65 |
menu.separatingLineLevel 1 |
66 |
menu.hilightStyle #openwin |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
1959
diff
changeset
|
67 |
#if Screen current hasGreyscales |
1948 | 68 |
menu.hilightLevel -1 |
69 |
menu.hilightBackgroundColor =darkerGrey |
|
770 | 70 |
#else |
1948 | 71 |
menu.hilightBackgroundColor Color black |
72 |
menu.hilightForegroundColor Color white |
|
73 |
menu.hilightLevel 0 |
|
770 | 74 |
#endif |
75 |
||
1948 | 76 |
pullDownMenu.hilightForegroundColor Color black |
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
1959
diff
changeset
|
77 |
#if Screen current hasGreyscales not |
1948 | 78 |
pullDownMenu.hilightBackgroundColor Color grey:87 |
79 |
pullDownMenu.hilightLevel 0 |
|
80 |
pullDownMenu.level 0 |
|
81 |
pullDownMenu.font Font family:'lucida' face:'bold' style:'roman' size:12 |
|
770 | 82 |
#endif |
122 | 83 |
|
1948 | 84 |
selection.rightArrowLevel -1 |
85 |
selection.hilightLevel -1 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
1959
diff
changeset
|
86 |
#if Screen current hasGreyscales |
1948 | 87 |
selection.hilightBackgroundColor =darkerGrey |
152 | 88 |
#endif |
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1441
diff
changeset
|
89 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
1959
diff
changeset
|
90 |
#if Screen current hasGrayscales not |
1948 | 91 |
html.anchorUnderline true |
92 |
html.anchorForegroundColor Color black |
|
93 |
html.backgroundColor Color white |
|
94 |
html.activeAnchorForegroundColor Color black |
|
95 |
html.activeAnchorBackgroundColor =htmlBackgroundColor |
|
96 |
html.visitedAnchorForegroundColor Color black |
|
97 |
html.exampleAnchorForegroundColor Color black |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1441
diff
changeset
|
98 |
#endif |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1441
diff
changeset
|
99 |