author | Claus Gittinger <cg@exept.de> |
Sun, 02 Nov 1997 20:49:19 +0100 | |
changeset 1948 | 6a9b754ca6d3 |
parent 1620 | 49812898bfe2 |
child 1951 | 5290a36652db |
permissions | -rw-r--r-- |
199 | 1 |
; common for all mswindows-like styles |
2 |
; |
|
3 |
; this is not yet completed |
|
4 |
; |
|
1948 | 5 |
; $Header: /cvs/stx/stx/libview/styles/mswindows.common,v 1.5 1997-11-02 19:49:07 cg Exp $ |
199 | 6 |
|
7 |
name #mswindows |
|
8 |
||
9 |
;this seems not fully true, buttons |
|
10 |
;and scrollers show some 3D. |
|
11 |
;anyway, most other views are flat. |
|
12 |
is3D false |
|
13 |
||
14 |
#if Display hasGreyscales not |
|
15 |
viewGrey Color white |
|
16 |
#endif |
|
17 |
||
18 |
borderWidth 1 |
|
19 |
popupBorderWidth 1 |
|
20 |
viewBackground =viewGrey |
|
21 |
||
22 |
font Font family:'helvetica' face:'bold' style:'roman' size:12 |
|
23 |
textFont Font family:'courier' face:'bold' style:'roman' size:12 |
|
24 |
||
1948 | 25 |
scrollBar.position #right |
26 |
scrollBar.buttonPositions #around |
|
27 |
scrollBar.spacing 0 |
|
199 | 28 |
|
1948 | 29 |
scroller.borderWidth 1 |
199 | 30 |
#if Display hasGreyscales |
1948 | 31 |
scroller.viewBackground Color grey:80 |
199 | 32 |
#else |
1948 | 33 |
scroller.viewBackground Color white |
199 | 34 |
#endif |
1948 | 35 |
scroller.fullViewBackground Color white |
36 |
scroller.thumbColor Color grey:80 |
|
199 | 37 |
|
1948 | 38 |
scroller.thumbLevel 3 "2" |
39 |
scroller.thumbFixHeight true |
|
40 |
scroller.thumbEdgeStyle #soft |
|
41 |
scroller.thumbFrameColor Color black |
|
42 |
scroller.ghostFrameColor Color darkGrey |
|
199 | 43 |
|
1948 | 44 |
; variablePanel.showHandle false |
199 | 45 |
|
1948 | 46 |
framedBox.labelPosition #topLeft |
47 |
framedBox.3DFrame false |
|
199 | 48 |
|
1948 | 49 |
button.edgeStyle #soft |
50 |
button.activeLevel -1 |
|
51 |
button.passiveLevel 4 "3" |
|
52 |
button.disabledForegroundColor Color darkGrey |
|
53 |
button.borderWidth 0 |
|
199 | 54 |
|
55 |
#if Display hasGreyscales |
|
1948 | 56 |
button.foregroundColor Color black |
57 |
button.backgroundColor Color grey:80 |
|
58 |
button.activeForegroundColor =buttonForegroundColor |
|
59 |
button.activeBackgroundColor =buttonBackgroundColor |
|
199 | 60 |
#endif |
61 |
||
1948 | 62 |
button.returnButtonHasBorder true |
199 | 63 |
|
1948 | 64 |
arrowButton.style #mswindows |
65 |
arrowButton.upFormFile 'ScrollUp_win.xbm' |
|
66 |
arrowButton.downFormFile 'ScrollDn_win.xbm' |
|
67 |
arrowButton.leftFormFile 'ScrollLt_win.xbm' |
|
68 |
arrowButton.rightFormFile 'ScrollRt_win.xbm' |
|
199 | 69 |
|
1948 | 70 |
checkToggle.bitmapFile nil |
71 |
checkToggle.style #cross |
|
72 |
checkToggle.activeLevel 0 |
|
73 |
checkToggle.passiveLevel 0 |
|
74 |
checkToggle.borderWidth 1 |
|
75 |
checkToggle.activeBackgroundColor Color white |
|
76 |
checkToggle.backgroundColor Color white |
|
199 | 77 |
|
78 |
; |
|
79 |
; selection-in-list |
|
80 |
; |
|
81 |
#if Display hasColors |
|
1948 | 82 |
selection.hilightForegroundColor Color white |
83 |
selection.hilightBackgroundColor Color blue |
|
84 |
selection.hilightFrameColor Color black |
|
199 | 85 |
#endif |
86 |
||
1948 | 87 |
menuView.background Color white |
199 | 88 |
|
1948 | 89 |
pullDownMenu.keepMenu true |
199 | 90 |
|
1948 | 91 |
popUpList.popPosition #below |
199 | 92 |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1448
diff
changeset
|
93 |
#if Display hasGrayscales not |
1948 | 94 |
html.anchorUnderline true |
95 |
html.anchorForegroundColor Color black |
|
96 |
html.backgroundColor Color white |
|
97 |
html.activeAnchorForegroundColor Color black |
|
98 |
html.activeAnchorBackgroundColor =html.backgroundColor |
|
99 |
html.visitedAnchorForegroundColor Color black |
|
100 |
html.exampleAnchorForegroundColor Color black |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1448
diff
changeset
|
101 |
#else |
1948 | 102 |
html.backgroundColor Color white |
103 |
html.anchorForegroundColor Color green darkened |
|
104 |
html.visitedAnchorForegroundColor =html.anchorForegroundColor darkened darkened |
|
105 |
html.anchorUnderlines true |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1448
diff
changeset
|
106 |
#endif |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1448
diff
changeset
|
107 |