author | Claus Gittinger <cg@exept.de> |
Fri, 01 Mar 2019 11:57:14 +0100 | |
changeset 8645 | 928296c95235 |
parent 1948 | 6a9b754ca6d3 |
permissions | -rw-r--r-- |
122 | 1 |
; View defaultStyle:#motif3 |
2 |
; |
|
3 |
; just a demo: |
|
4 |
; like motif, but with different menu-hilighting |
|
5 |
; (yellow text on grey - looks like lighted with a lamp from behind ...) |
|
6 |
; |
|
1948 | 7 |
; $Header: /cvs/stx/stx/libview/styles/motif3.style,v 1.7 1997-11-02 19:48:59 cg Exp $ |
122 | 8 |
|
9 |
||
10 |
#include 'motif.style' |
|
11 |
||
309 | 12 |
comment 'like `motif'' style;\\with changed menu, selection & button colors' |
13 |
||
14 |
#if (Language == #german) or:[Language == #de] |
|
15 |
comment 'Wie `motif'', mit geänderten Farben für\Menüs, Selektionen und Knöpfe' |
|
16 |
#endif |
|
498 | 17 |
#if (Language == #french) or:[Language == #fr] |
18 |
comment 'Comme `motif'', avec des couleurs differentes' |
|
19 |
#endif |
|
144 | 20 |
|
1948 | 21 |
menu.hilightForegroundColor Color yellow |
22 |
menu.hilightBackgroundColor =viewGrey |
|
23 |
menu.hilightLevel 0 |
|
122 | 24 |
|
25 |
; |
|
534
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
26 |
; and different selectionHilighting (yellow fg highlighting) |
122 | 27 |
; |
28 |
||
1948 | 29 |
selection.hilightForegroundColor Color yellow |
30 |
selection.hilightBackgroundColor =viewGrey |
|
31 |
selection.hilightStyle nil |
|
32 |
selection.hilightLevel 0 |
|
122 | 33 |
|
34 |
; |
|
35 |
; and different button hilighting |
|
36 |
; |
|
37 |
||
1948 | 38 |
button.activeForegroundColor Color yellow |
39 |
button.foregroundColor Color black |