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