122
|
1 |
; View defaultStyle:#os2
|
|
2 |
;
|
|
3 |
; this is not yet completed
|
|
4 |
;
|
1040
|
5 |
; $Header: /cvs/stx/stx/libview/styles/os2.style,v 1.6 1996-08-30 16:37:56 cg Exp $
|
144
|
6 |
|
|
7 |
comment 'OS/2 look alike'
|
122
|
8 |
|
309
|
9 |
#if (Language == #german) or:[Language == #de]
|
498
|
10 |
comment 'An `OS/2'' angelehnter Stil'
|
|
11 |
#endif
|
|
12 |
#if (Language == #french) or:[Language == #fr]
|
|
13 |
comment 'Comme `OS/2'''
|
309
|
14 |
#endif
|
|
15 |
|
122
|
16 |
is3D true
|
|
17 |
name #os2
|
|
18 |
|
144
|
19 |
; viewGrey Color grey:80
|
|
20 |
; darkerGrey Color grey:67
|
152
|
21 |
|
|
22 |
|
|
23 |
#if Display hasColors
|
1040
|
24 |
Yellow Color red:100 green:100 blue:70
|
152
|
25 |
#else
|
1040
|
26 |
Yellow Color white
|
152
|
27 |
#endif
|
|
28 |
|
|
29 |
#if Display hasGreyscales
|
144
|
30 |
viewGrey Color grey:67
|
152
|
31 |
brighterGrey Color grey:80
|
144
|
32 |
darkerGrey Color grey:50
|
152
|
33 |
#else
|
1040
|
34 |
Yellow Color white
|
152
|
35 |
viewGrey Color white
|
|
36 |
brighterGrey Color white
|
|
37 |
darkerGrey Color white
|
|
38 |
#endif
|
144
|
39 |
|
122
|
40 |
borderWidth 0
|
|
41 |
viewBackground =viewGrey
|
|
42 |
|
144
|
43 |
fatFont Font family:'variable' face:nil style:nil size:nil encoding:nil "/ Font family:'helvetica' face:'bold' style:'roman' size:12
|
|
44 |
thinFont Font family:'helvetica' face:'medium' style:'roman' size:12
|
|
45 |
|
122
|
46 |
scrollBarPosition #right
|
|
47 |
|
|
48 |
scrollBarButtonPositions #around
|
144
|
49 |
scrollBarLevel -1
|
122
|
50 |
scrollBarElementSpacing 0
|
144
|
51 |
scrollBarDisableButtons true
|
122
|
52 |
|
144
|
53 |
scrollerLevel 0
|
|
54 |
scrollerViewBackground =darkerGrey
|
|
55 |
scrollerThumbColor =viewGrey
|
|
56 |
scrollerThumbLevel 1
|
|
57 |
scrollerThumbInset 0
|
152
|
58 |
;scrollerThumbInset 1
|
144
|
59 |
|
|
60 |
buttonEdgeStyle #soft
|
|
61 |
buttonActiveLevel -1
|
|
62 |
buttonPassiveLevel 3
|
|
63 |
buttonReturnButtonHasBorder true
|
152
|
64 |
; buttonActiveBackgroundColor =darkerGrey
|
|
65 |
#if Display hasGreyscales
|
|
66 |
buttonActiveBackgroundColor =brighterGrey
|
|
67 |
#else
|
|
68 |
buttonActiveBackgroundColor Color black
|
|
69 |
buttonActiveForegroundColor Color white
|
|
70 |
#endif
|
122
|
71 |
|
152
|
72 |
textCursorType #solidCaret
|
|
73 |
textCursorBackgroundColor Color black
|
122
|
74 |
|
152
|
75 |
popupShadow true
|
|
76 |
popupShadowColor Color black
|
|
77 |
popupBorderWidth 1
|
122
|
78 |
|
144
|
79 |
arrowButtonStyle #os2
|
|
80 |
arrowButtonForegroundColor Color black
|
122
|
81 |
arrowButtonActiveBackgroundColor =viewGrey
|
144
|
82 |
arrowButtonUpFormFile 'ScrollUp.os2.14.xbm'.
|
|
83 |
arrowButtonDownFormFile 'ScrollDn.os2.14.xbm'.
|
|
84 |
arrowButtonLeftFormFile 'ScrollLt.os2.14.xbm'.
|
|
85 |
arrowButtonRightFormFile 'ScrollRt.os2.14.xbm'.
|
|
86 |
arrowButtonActiveLevel -1 "/ 0
|
|
87 |
arrowButtonPassiveLevel 1
|
122
|
88 |
|
152
|
89 |
#if Display hasGreyscales
|
144
|
90 |
buttonDisabledForegroundColor Color white
|
152
|
91 |
arrowButtonActiveForegroundColor Color white
|
|
92 |
#else
|
|
93 |
buttonDisabledForegroundColor Color grey
|
|
94 |
arrowButtonActiveForegroundColor Color grey
|
|
95 |
#endif
|
144
|
96 |
|
|
97 |
checkToggleCheckColor Color black
|
152
|
98 |
#if Display hasGreyscales not
|
|
99 |
checkToggleActiveBackgroundColor Color white
|
|
100 |
#endif
|
144
|
101 |
|
152
|
102 |
selectionFont =fatFont
|
|
103 |
labelFont =thinFont
|
144
|
104 |
|
1040
|
105 |
selectionBackgroundColor =Yellow
|
152
|
106 |
selectionHilightForegroundColor Color white
|
|
107 |
#if Display hasGreyscales
|
|
108 |
selectionHilightBackgroundColor Color grey:50
|
|
109 |
#else
|
|
110 |
selectionHilightBackgroundColor Color black
|
|
111 |
#endif
|
|
112 |
selectionHilightFrameColor Color grey:25
|
144
|
113 |
|
152
|
114 |
selectionHilightLevel 0
|
|
115 |
selectionRightArrowLevel 0
|
|
116 |
|
1040
|
117 |
editFieldBackgroundColor =Yellow
|
152
|
118 |
editFieldSelectionBackgroundColor Color black
|
|
119 |
editFieldSelectionForegroundColor Color white
|
122
|
120 |
|
144
|
121 |
;
|
|
122 |
; since menus inherit from selectionInList,
|
1040
|
123 |
; redefine the Yellow settings ...
|
144
|
124 |
;
|
152
|
125 |
menuBackgroundColor =viewGrey
|
|
126 |
menuShadowColor =menuBackgroundColor darkened
|
|
127 |
menuLightColor =menuBackgroundColor lightened
|
|
128 |
; menuHilightForegroundColor Color white
|
|
129 |
; menuHilightBackgroundColor =darkerGrey
|
|
130 |
#if Display hasGreyscales
|
|
131 |
menuHilightFrameColor nil
|
|
132 |
menuHilightLevel -1
|
|
133 |
#else
|
|
134 |
menuHilightFrameColor Color black
|
|
135 |
menuHilightLevel 0
|
|
136 |
#endif
|
|
137 |
menuViewBackground =viewGrey
|
|
138 |
menuSeparatingLineLevel 0
|
122
|
139 |
|
152
|
140 |
pullDownMenuFont =selectionFont
|
|
141 |
pullDownMenuSeparatingLines false
|
|
142 |
pullDownMenuLevel 0
|
|
143 |
pullDownMenuHilightLevel -1
|
|
144 |
pullDownMenuHilightForegroundColor Color black
|
|
145 |
pullDownMenuKeepMenu true
|
|
146 |
; pullDownMenuToggleKeep true
|