author | convert-repo |
Fri, 21 Dec 2018 04:38:02 +0000 | |
changeset 8601 | bee9c53ab413 |
parent 3270 | 9c8c9b83eadb |
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 |
; |
|
3270 | 6 |
; $Header: /cvs/stx/stx/libview/styles/next.style,v 1.21 2000-08-25 09:52:12 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 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2585
diff
changeset
|
23 |
#if Screen current 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 |
|
2122 | 33 |
textCursor.type. #block |
34 |
textCursor.typeNoFocus #none |
|
35 |
||
152 | 36 |
shadowColor Color black |
37 |
||
122 | 38 |
borderWidth 0 |
39 |
viewBackground =viewGrey |
|
2585 | 40 |
popup.borderWidth 1 |
41 |
popup.level 1 |
|
122 | 42 |
|
1948 | 43 |
variablePanel.handlePosition #center |
44 |
variablePanel.handleStyle #next |
|
2118 | 45 |
variablePanel.handleImage Image fromFile:'bitmaps/HandleNext.xpm' |
122 | 46 |
|
3270 | 47 |
variablePanel.handleImage Image fromFile:'bitmaps/HandleNext.xpm' |
48 |
||
49 |
variablePanel.snapLevel 1 |
|
50 |
variablePanel.snapEnterLevel 1 |
|
51 |
variablePanel.selectedLevel 1 |
|
52 |
||
1948 | 53 |
scrollBar.scrollerBordered true |
122 | 54 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2585
diff
changeset
|
55 |
#if Screen current hasGreyscales |
1948 | 56 |
scroller.viewBackground (Color grey:50) exactOrNearestOn:(Screen current) |
57 |
scroller.thumbColor (Color lightGrey) exactOrNearestOn:(Screen current) |
|
58 |
scroller.thumbEdgeStyle #soft |
|
152 | 59 |
#else |
1948 | 60 |
scroller.thumbColor Color white |
152 | 61 |
#endif |
1948 | 62 |
scroller.thumbLevel 2 |
63 |
scroller.thumbInset 1 |
|
64 |
scroller.borderWidth 1 |
|
2119 | 65 |
scroller.handleImage Image fromFile:'bitmaps/HandleNext.xpm' |
2585 | 66 |
|
67 |
miniScroller.size 2.5 "/ millimeters |
|
122 | 68 |
|
1948 | 69 |
button.edgeStyle #soft |
70 |
button.activeLevel 1 |
|
71 |
button.passiveLevel 2 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2585
diff
changeset
|
72 |
#if Screen current hasGreyscales |
1948 | 73 |
button.activeForegroundColor Color black |
74 |
button.activeBackgroundColor Color white |
|
75 |
button.enteredBackgroundColor (Color lightGrey) exactOrNearestOn:(Screen current) |
|
76 |
button.halfShadowColor =viewGrey darkened |
|
77 |
button.halfLightColor Color white |
|
152 | 78 |
#else |
1948 | 79 |
button.activeBackgroundColor Color black |
80 |
button.activeForegroundColor Color white |
|
152 | 81 |
#endif |
122 | 82 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2585
diff
changeset
|
83 |
#if Screen current hasGreyscales |
2257 | 84 |
menu.hilightForegroundColor Color black |
85 |
menu.hilightBackgroundColor Color white |
|
86 |
#else |
|
87 |
menu.hilightForegroundColor Color white |
|
88 |
menu.hilightBackgroundColor Color black |
|
89 |
#endif |
|
90 |
menu.buttonActiveLevel =button.activeLevel |
|
91 |
menu.buttonPassiveLevel =button.passiveLevel |
|
92 |
menu.buttonActiveBackgroundColor =button.activeBackgroundColor |
|
93 |
||
94 |
||
1948 | 95 |
popUpList.popPosition #shifted |
193 | 96 |
|
2120 | 97 |
variableFont Font family:'helvetica' face:'medium' style:'roman' size:12 |
98 |
selection.font =variableFont |
|
99 |
label.font =variableFont |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
100 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2585
diff
changeset
|
101 |
#if Screen current hasGrayscales not |
1948 | 102 |
html.anchorUnderline true |
103 |
html.anchorForegroundColor Color black |
|
104 |
html.backgroundColor Color white |
|
105 |
html.activeAnchorForegroundColor Color black |
|
106 |
html.activeAnchorBackgroundColor =htmlBackgroundColor |
|
107 |
html.visitedAnchorForegroundColor Color black |
|
108 |
html.exampleAnchorForegroundColor Color black |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
109 |
#endif |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
110 |
|
2117 | 111 |
checkToggle.activeImage Image fromFile:'bitmaps/CheckOnNext.xpm' |
112 |
checkToggle.passiveImage Image fromFile:'bitmaps/CheckOffNext.xpm' |
|
113 |
checkToggle.activeLevel 0 |
|
114 |
checkToggle.passiveLevel 0 |
|
2568 | 115 |
checkToggle.activeBackgroundColor =viewGrey |
2117 | 116 |