author | Claus Gittinger <cg@exept.de> |
Mon, 15 Jul 2019 15:39:44 +0200 | |
changeset 8731 | 5506d148b369 |
parent 3350 | 549439bc381a |
permissions | -rw-r--r-- |
2571 | 1 |
; View defaultStyle:#'decWindows' |
2 |
; |
|
3 |
; dec's motif style (as seen on an OSF-alpha system) |
|
4 |
; like motif |
|
5 |
; |
|
6 |
; |
|
3350 | 7 |
; $Header: /cvs/stx/stx/libview/styles/decWindows.style,v 1.9 2000-10-27 17:57:39 stefan Exp $ |
2571 | 8 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2982
diff
changeset
|
9 |
#if Screen current isNil or:[Screen current hasGreyscales] |
2982 | 10 |
viewGrey (Color grey:60) "/ (Color grey:59.6078) |
11 |
scrollerVB (Color grey:50) "/ (Color grey:50.1961) |
|
3350 | 12 |
selectionInListColor (Color grey:66.7) |
2571 | 13 |
#endif |
2982 | 14 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2982
diff
changeset
|
15 |
#if Screen current isNil or:[Screen current hasColors] |
2571 | 16 |
orange (Color red:90.9804 green:65.8824 blue:43.9216) |
17 |
#endif |
|
18 |
||
2982 | 19 |
shadowColor (Color grey:50 "50.1961") |
20 |
lightColor (Color grey:81 "81.5686") |
|
21 |
mediumColor (Color grey:60 "59.6078") |
|
2571 | 22 |
|
2965
063920a0e4c6
Use 14-point fonts for decWindows style
Stefan Vogel <sv@exept.de>
parents:
2812
diff
changeset
|
23 |
selectionFont Font family:'lucidabright' face:'medium' style:'roman' size:14 |
063920a0e4c6
Use 14-point fonts for decWindows style
Stefan Vogel <sv@exept.de>
parents:
2812
diff
changeset
|
24 |
labelFont Font family:'lucidabright' face:'medium' style:'roman' size:14 |
063920a0e4c6
Use 14-point fonts for decWindows style
Stefan Vogel <sv@exept.de>
parents:
2812
diff
changeset
|
25 |
menuFont Font family:'lucidabright' face:'medium' style:'roman' size:14 |
063920a0e4c6
Use 14-point fonts for decWindows style
Stefan Vogel <sv@exept.de>
parents:
2812
diff
changeset
|
26 |
textFont Font family:'courier' size:14 |
2571 | 27 |
|
28 |
#include 'motif.common' |
|
29 |
||
30 |
comment 'DEC-windows look alike' |
|
31 |
||
32 |
#if (Language == #german) or:[Language == #de] |
|
33 |
comment 'Angelehnt an DEC-windows.' |
|
34 |
#endif |
|
35 |
#if (Language == #french) or:[Language == #fr] |
|
36 |
comment 'Comme DEC-windows' |
|
37 |
#endif |
|
38 |
||
3190
3d3301e074e6
change selection foreground and background
Stefan Vogel <sv@exept.de>
parents:
2991
diff
changeset
|
39 |
textForeground Color black |
3d3301e074e6
change selection foreground and background
Stefan Vogel <sv@exept.de>
parents:
2991
diff
changeset
|
40 |
; textForeground Color white |
3d3301e074e6
change selection foreground and background
Stefan Vogel <sv@exept.de>
parents:
2991
diff
changeset
|
41 |
|
2571 | 42 |
lightColor Color grey:85 |
2982 | 43 |
shadowColor Color grey:25 "/ Color grey:30 |
2571 | 44 |
|
45 |
textCursor.type #block |
|
46 |
||
47 |
scroller.viewBackground =scrollerVB |
|
48 |
scroller.thumbColor =viewGrey |
|
49 |
scroller.thumbLevel 1 |
|
50 |
scrollBar.level -1 |
|
51 |
||
52 |
selection.foregroundColor Color black |
|
53 |
||
54 |
button.activeBackgroundColor =scrollerVB |
|
3190
3d3301e074e6
change selection foreground and background
Stefan Vogel <sv@exept.de>
parents:
2991
diff
changeset
|
55 |
button.foregroundColor =textForeground |
3d3301e074e6
change selection foreground and background
Stefan Vogel <sv@exept.de>
parents:
2991
diff
changeset
|
56 |
button.activeForegroundColor =textForeground |
2571 | 57 |
button.activeLevel -1 |
58 |
button.passiveLevel 1 |
|
59 |
button.font =menuFont |
|
60 |
||
61 |
label.font =menuFont |
|
3190
3d3301e074e6
change selection foreground and background
Stefan Vogel <sv@exept.de>
parents:
2991
diff
changeset
|
62 |
label.foregroundColor =textForeground |
2571 | 63 |
|
64 |
arrowButton.activeForegroundColor =viewGrey |
|
65 |
||
66 |
checkToggle.bitmapFile 'CheckOn14Dec.xbm' |
|
67 |
checkToggle.activeBackgroundColor =scrollerVB |
|
68 |
checkToggle.backgroundColor =viewGrey |
|
3350 | 69 |
checkToggle.disabledForegroundColor Color grey:33 |
2571 | 70 |
checkToggle.activeLevel -1 |
71 |
checkBoxStyle #dummy |
|
72 |
||
73 |
menu.viewBackgroundColor =viewGrey |
|
74 |
menu.backgroundColor =viewGrey |
|
3190
3d3301e074e6
change selection foreground and background
Stefan Vogel <sv@exept.de>
parents:
2991
diff
changeset
|
75 |
menu.foregroundColor =textForeground |
2571 | 76 |
menu.disabledForegroundColor Color darkGrey |
77 |
; menu.hilightLevel -1 |
|
78 |
; menu.hilightFrameColor nil |
|
79 |
||
80 |
selection.backgroundColor =selectionInListColor |
|
3190
3d3301e074e6
change selection foreground and background
Stefan Vogel <sv@exept.de>
parents:
2991
diff
changeset
|
81 |
selection.foregroundColor =textForeground |
3d3301e074e6
change selection foreground and background
Stefan Vogel <sv@exept.de>
parents:
2991
diff
changeset
|
82 |
selection.hilightForegroundColor Color black |
2571 | 83 |
selection.hilightBackgroundColor Color white |
84 |
; selection.hilightFrameColor =orange |
|
85 |
selection.hilightFrameColor nil |
|
86 |
selection.font =menuFont |
|
3350 | 87 |
selection.disabledForegroundColor Color grey:25 |
2571 | 88 |
|
89 |
editField.backgroundColor =selectionInListColor |
|
3190
3d3301e074e6
change selection foreground and background
Stefan Vogel <sv@exept.de>
parents:
2991
diff
changeset
|
90 |
editField.foregroundColor =textForeground |
3d3301e074e6
change selection foreground and background
Stefan Vogel <sv@exept.de>
parents:
2991
diff
changeset
|
91 |
editField.hilightForegroundColor Color black |
2571 | 92 |
editField.hilightBackgroundColor Color white |
93 |
editField.cursorType #Ibeam |
|
94 |
editField.cursorForegroundColor nil |
|
95 |
editField.cursorBackgroundColor Color white |
|
3350 | 96 |
editField.disabledForegroundColor Color grey:33 |
2571 | 97 |
ruler.backgroundColor =scrollerVB |
98 |
||
99 |
focusBorderWidth 2 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2982
diff
changeset
|
100 |
#if Screen current isNil or:[Screen current hasColors] |
2571 | 101 |
focusColor =orange |
102 |
#endif |
|
103 |
||
3190
3d3301e074e6
change selection foreground and background
Stefan Vogel <sv@exept.de>
parents:
2991
diff
changeset
|
104 |
framedBox.foregroundColor =textForeground |
2571 | 105 |
framedBox.font =menuFont |