122
|
1 |
; View defaultStyle:#st80
|
|
2 |
;
|
|
3 |
; simulation of the old st80 style - looks somewhat like os2
|
|
4 |
;
|
309
|
5 |
; $Header: /cvs/stx/stx/libview/styles/st80.style,v 1.6 1995-12-14 15:16:12 cg Exp $
|
144
|
6 |
|
|
7 |
comment 'old ST80 3D look alike'
|
122
|
8 |
|
309
|
9 |
#if (Language == #german) or:[Language == #de]
|
|
10 |
comment 'An früheres ST-80 angelehnt'
|
|
11 |
#endif
|
|
12 |
|
122
|
13 |
name #st80
|
|
14 |
|
|
15 |
;
|
|
16 |
; take a smaller font on VGA displays
|
|
17 |
;
|
|
18 |
#if Display width == 640
|
|
19 |
; take smaller fonts on VGA screens
|
|
20 |
font Font family:'courier' face:'medium' style:'roman' size:10
|
|
21 |
selectionFont Font family:'helvetica' face:'medium' style:'roman' size:10
|
|
22 |
#else
|
|
23 |
selectionFont Font family:'helvetica' face:'medium' style:'roman' size:12
|
|
24 |
#endif
|
|
25 |
|
|
26 |
#if Display hasGreyscales
|
|
27 |
is3D true
|
|
28 |
borderWidth 0
|
|
29 |
viewGrey Color grey:80
|
|
30 |
#else
|
|
31 |
viewGrey Color white
|
|
32 |
lightColor Color grey:50
|
|
33 |
borderWidth 1
|
|
34 |
#endif
|
|
35 |
|
|
36 |
viewBackground =viewGrey
|
|
37 |
|
|
38 |
scrollBarPosition #right
|
|
39 |
|
|
40 |
scrollBarButtonPositions #around
|
|
41 |
scrollBarLevel 0
|
|
42 |
scrollBarElementSpacing 0
|
|
43 |
|
|
44 |
scrollerLevel 1
|
|
45 |
scrollerViewBackground =viewGrey
|
|
46 |
scrollerThumbColor Color black
|
|
47 |
scrollerThumbFrameColor nil
|
|
48 |
scrollerThumbLevel 0
|
|
49 |
scrollerThumbInset 3
|
|
50 |
|
|
51 |
textCursorType #solidCaret
|
|
52 |
textCursorBackgroundColor Color black
|
274
|
53 |
|
|
54 |
#if Display hasColors
|
|
55 |
textSelectionBackgroundColor Color green
|
122
|
56 |
textSelectionForegroundColor Color black
|
274
|
57 |
#else
|
|
58 |
# if Display hasGreyscales
|
|
59 |
textSelectionBackgroundColor =viewGrey "Color grey"
|
|
60 |
textSelectionForegroundColor Color black
|
|
61 |
# endif
|
122
|
62 |
#endif
|
|
63 |
|
|
64 |
popupBorderWidth 1
|
|
65 |
|
|
66 |
arrowButtonStyle #st80
|
|
67 |
arrowButtonActiveForegroundColor Color white
|
153
|
68 |
; buttonActiveForegroundColor Color white
|
|
69 |
buttonActiveBackgroundColor Color grey
|
122
|
70 |
|
|
71 |
menuViewBackground Color white
|
|
72 |
menuForegroundColor Color black
|
|
73 |
menuBackgroundColor Color white
|
|
74 |
menuHilightForegroundColor =menuBackgroundColor
|
|
75 |
menuHilightBackgroundColor =menuForegroundColor
|
|
76 |
menuHighlightLevel 0
|
|
77 |
menuSeparatingLineLevel 0
|
152
|
78 |
menuSeparatingLineInset 0
|
122
|
79 |
|
153
|
80 |
pullDownMenuViewBackground =viewGrey
|
|
81 |
pullDownMenuLevel 1
|
|
82 |
pullDownMenuHilightLevel -1
|
|
83 |
pullDownMenuHilightBackgroundColor Color grey
|