author | Claus Gittinger <cg@exept.de> |
Tue, 19 May 1998 16:32:29 +0200 | |
changeset 2120 | 9935ecfd0f06 |
parent 2119 | 581ba258dd7d |
child 2122 | a0e79be44383 |
permissions | -rw-r--r-- |
122 | 1 |
; View defaultStyle:#next |
2 |
; |
|
3 |
; NeXT look-alike - almost like motif or iris, |
|
4 |
; but with smoother edges and frames around scrollbars and selections |
|
5 |
; |
|
2120 | 6 |
; $Header: /cvs/stx/stx/libview/styles/next.style,v 1.14 1998-05-19 14:32:29 cg Exp $ |
144 | 7 |
|
8 |
comment 'NeXT look alike' |
|
122 | 9 |
|
309 | 10 |
#if (Language == #german) or:[Language == #de] |
11 |
comment 'Angelehnt an NeXT' |
|
12 |
#endif |
|
498 | 13 |
#if (Language == #french) or:[Language == #fr] |
14 |
comment 'Comme NeXT' |
|
15 |
#endif |
|
309 | 16 |
|
122 | 17 |
is3D true |
18 |
name #next |
|
19 |
||
2117 | 20 |
lightGrey Color redByte:170 greenByte:170 blueByte:170 |
21 |
darkGrey Color redByte:85 greenByte:85 blueByte:85 |
|
22 |
||
152 | 23 |
#if Display hasGreyscales |
2117 | 24 |
viewGrey =lightGrey exactOrNearestOn:(Screen current) |
152 | 25 |
lightColor Color white |
2117 | 26 |
halfShadowColor =darkGrey exactOrNearestOn:(Screen current) |
152 | 27 |
halfLightColor Color white "/ grey:67 |
28 |
#else |
|
29 |
viewGrey Color white |
|
30 |
lightColor Color grey:50 |
|
31 |
#endif |
|
1853
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1620
diff
changeset
|
32 |
|
152 | 33 |
shadowColor Color black |
34 |
||
122 | 35 |
borderWidth 0 |
36 |
viewBackground =viewGrey |
|
37 |
popupBorderWidth 1 |
|
38 |
||
152 | 39 |
#if Display hasGreyscales |
1948 | 40 |
menu.hilightForegroundColor Color black |
41 |
menu.hilightBackgroundColor Color white |
|
152 | 42 |
#else |
1948 | 43 |
menu.hilightForegroundColor Color white |
44 |
menu.hilightBackgroundColor Color black |
|
152 | 45 |
#endif |
122 | 46 |
|
1948 | 47 |
variablePanel.handlePosition #center |
48 |
variablePanel.handleStyle #next |
|
2118 | 49 |
variablePanel.handleImage Image fromFile:'bitmaps/HandleNext.xpm' |
122 | 50 |
|
1948 | 51 |
scrollBar.scrollerBordered true |
122 | 52 |
|
152 | 53 |
#if Display hasGreyscales |
1948 | 54 |
scroller.viewBackground (Color grey:50) exactOrNearestOn:(Screen current) |
55 |
scroller.thumbColor (Color lightGrey) exactOrNearestOn:(Screen current) |
|
56 |
scroller.thumbEdgeStyle #soft |
|
152 | 57 |
#else |
1948 | 58 |
scroller.thumbColor Color white |
152 | 59 |
#endif |
1948 | 60 |
scroller.thumbLevel 2 |
61 |
scroller.thumbInset 1 |
|
62 |
scroller.borderWidth 1 |
|
2119 | 63 |
scroller.handleImage Image fromFile:'bitmaps/HandleNext.xpm' |
122 | 64 |
|
1948 | 65 |
button.edgeStyle #soft |
66 |
button.activeLevel 1 |
|
67 |
button.passiveLevel 2 |
|
122 | 68 |
#if Display hasGreyscales |
1948 | 69 |
button.activeForegroundColor Color black |
70 |
button.activeBackgroundColor Color white |
|
71 |
button.enteredBackgroundColor (Color lightGrey) exactOrNearestOn:(Screen current) |
|
72 |
button.halfShadowColor =viewGrey darkened |
|
73 |
button.halfLightColor Color white |
|
152 | 74 |
#else |
1948 | 75 |
button.activeBackgroundColor Color black |
76 |
button.activeForegroundColor Color white |
|
152 | 77 |
#endif |
122 | 78 |
|
1948 | 79 |
popUpList.popPosition #shifted |
193 | 80 |
|
2120 | 81 |
variableFont Font family:'helvetica' face:'medium' style:'roman' size:12 |
82 |
selection.font =variableFont |
|
83 |
label.font =variableFont |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
84 |
|
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
85 |
#if Display hasGrayscales not |
1948 | 86 |
html.anchorUnderline true |
87 |
html.anchorForegroundColor Color black |
|
88 |
html.backgroundColor Color white |
|
89 |
html.activeAnchorForegroundColor Color black |
|
90 |
html.activeAnchorBackgroundColor =htmlBackgroundColor |
|
91 |
html.visitedAnchorForegroundColor Color black |
|
92 |
html.exampleAnchorForegroundColor Color black |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
93 |
#endif |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
94 |
|
2117 | 95 |
checkToggle.activeImage Image fromFile:'bitmaps/CheckOnNext.xpm' |
96 |
checkToggle.passiveImage Image fromFile:'bitmaps/CheckOffNext.xpm' |
|
97 |
checkToggle.activeLevel 0 |
|
98 |
checkToggle.passiveLevel 0 |
|
99 |