author | mawalch |
Thu, 26 Oct 2017 21:55:28 +0200 | |
changeset 8213 | 0e7ce71e334c |
parent 3258 | c04be6af294f |
permissions | -rw-r--r-- |
122 | 1 |
; View defaultStyle:#'fun_iris' |
2 |
; |
|
3 |
; like iris, but with different viewbackground |
|
4 |
; not really useful - test in selections and labels should be made |
|
5 |
; brighter (but a nice demo) |
|
6 |
; |
|
7 |
; notice, that the light- and dark brown shadow colors are computed from the bitmaps; |
|
8 |
; if you replace them by some (say reddish) image, they will change too. |
|
9 |
; |
|
3258 | 10 |
; $Header: /cvs/stx/stx/libview/styles/oldStyles/fun_iris.style,v 1.11 2000-08-16 14:27:26 ca Exp $ |
122 | 11 |
; |
12 |
||
13 |
#include 'iris.style' |
|
14 |
||
1440 | 15 |
comment 'Fun style.\Like ''iris'', with rock-solid viewbackground.\May be too dark on some VGA displays' |
309 | 16 |
|
17 |
#if (Language == #german) or:[Language == #de] |
|
18 |
comment 'Wie ''iris'', mit steinhartem, solidem Hintergrund.\\Erscheint auf vielen VGA Monitoren zu dunkel' |
|
19 |
#endif |
|
144 | 20 |
|
3258 | 21 |
#viewBackground (Smalltalk imageFromFileNamed:'bitmaps/granite.tiff' inPackage:'stx:libwidg3') |
22 |
viewBackground (Smalltalk imageFromFileNamed:'bitmaps/granite_small.tiff' inPackage:'stx:libwidg3') |
|
122 | 23 |
lightColor Color grey:66 |
24 |
||
309 | 25 |
brightGrey Color grey:90 |
26 |
disabledGrey Color grey:66 |
|
27 |
||
28 |
; foregroundColor Color grey:80 |
|
29 |
foregroundColor =brightGrey |
|
122 | 30 |
|
2788 | 31 |
brightYellow Color yellow lightened |
32 |
||
3258 | 33 |
wooden (Smalltalk imageFromFileNamed:'bitmaps/wood2H.tiff' inPackage:'stx:libwidg3') |
122 | 34 |
averageColor =wooden averageColorIn:(0@0 corner:9@9) |
35 |
darkWood =averageColor darkened |
|
36 |
lightWood =averageColor lightened |
|
37 |
||
309 | 38 |
textViewBackground Color red:100 green:90 blue:90 "a bit redish" |
1951 | 39 |
text.backgroundColor =textViewBackground |
180 | 40 |
|
1951 | 41 |
label.foregroundColor Color white |
309 | 42 |
|
2585 | 43 |
button.foregroundColor Color black |
44 |
button.backgroundColor =wooden |
|
45 |
button.activeBackgroundColor =lightWood |
|
46 |
button.enteredBackgroundColor =lightWood |
|
1948 | 47 |
button.disabledForegroundColor =disabledGrey |
2585 | 48 |
button.shadowColor =darkWood |
49 |
button.lightColor =lightWood |
|
50 |
button.halfShadowColor =darkWood |
|
51 |
||
2788 | 52 |
noteBook.foregroundColor =brightGrey |
53 |
noteBook.activeForegroundColor =brightYellow |
|
54 |
framedBox.foregroundColor =brightGrey |
|
55 |
||
2585 | 56 |
toggle.activeBackgroundColor =lightWood |
57 |
toggle.activeLevel -2 |
|
122 | 58 |
|
1948 | 59 |
checkToggle.checkColor Color white |
60 |
checkBox.labelForegroundColor Color white |
|
2788 | 61 |
checkToggle.activeBackgroundColor =wooden |
234
71a3b9319c0f
white toggle-labels are better
Claus Gittinger <cg@exept.de>
parents:
180
diff
changeset
|
62 |
|
1948 | 63 |
menu.foregroundColor =brightGrey |
2788 | 64 |
menu.hilightForegroundColor =brightYellow |
1951 | 65 |
menu.hilightBackgroundColor =viewBackground |
1948 | 66 |
menu.disabledForegroundColor =disabledGrey |
122 | 67 |
|
1948 | 68 |
selection.foregroundColor =brightGrey |
2788 | 69 |
selection.hilightForegroundColor =brightYellow |
1948 | 70 |
selection.hilightBackgroundColor =viewBackground |
122 | 71 |
|
2788 | 72 |
; ruler.foregroundColor =brightYellow |
122 | 73 |
|
1948 | 74 |
scroller.thumbColor =wooden |
75 |
scroller.thumbShadowColor =darkWood |
|
76 |
scroller.thumbLightColor =lightWood |
|
77 |
scroller.thumbHalfShadowColor =darkWood |
|
78 |
scroller.ghostColor =darkWood |
|
2585 | 79 |
scroller.thumbEnteredColor =lightWood |
80 |