better motif-style selectionInListView highlighting
authorClaus Gittinger <cg@exept.de>
Thu, 21 Mar 1996 17:45:53 +0100
changeset 534 ae5caa947d14
parent 533 ebc16cbb45fa
child 535 bff0f0248f93
better motif-style selectionInListView highlighting
styles/generic.style
styles/motif.common
styles/motif2.style
styles/motif3.style
--- a/styles/generic.style	Wed Mar 20 17:04:13 1996 +0100
+++ b/styles/generic.style	Thu Mar 21 17:45:53 1996 +0100
@@ -26,7 +26,7 @@
 ; all of them for new styles. 
 ;
 ;
-; $Header: /cvs/stx/stx/libview/styles/generic.style,v 1.13 1996-03-20 10:15:11 cg Exp $
+; $Header: /cvs/stx/stx/libview/styles/generic.style,v 1.14 1996-03-21 16:45:50 cg Exp $
 
 ;
 ; agenda:
@@ -329,6 +329,7 @@
 selectionHilightBackgroundColor         nil "means: use foregroundColor"
 selectionHilightFrameColor              nil "means: no frame around selection"
 selectionHilightLevel                   0
+selectionHilightStyle                   nil "means: depend on styles name"
 selectionFont                           nil "means: use textFont"
 selectionDisabledForegroundColor        nil "means: use grey"
 ;NOTIMPL selectionRightArrowStyle
--- a/styles/motif.common	Wed Mar 20 17:04:13 1996 +0100
+++ b/styles/motif.common	Thu Mar 21 17:45:53 1996 +0100
@@ -2,7 +2,7 @@
 ; common motif stuff (not a style, but included by all motif style variations)
 ;
 ;
-; $Header: /cvs/stx/stx/libview/styles/motif.common,v 1.4 1996-02-27 02:02:10 cg Exp $
+; $Header: /cvs/stx/stx/libview/styles/motif.common,v 1.5 1996-03-21 16:45:51 cg Exp $
 
 ;
 ; this is to be included from the real style,
@@ -87,25 +87,26 @@
 menuViewBackgroundColor         =viewGrey
 menuDisabledForegroundColor     =shadowColor
 
-pullDownMenuKeepMenu             true
-pullDownMenuLevel                1
-pullDownMenuHilightLevel         2
+pullDownMenuKeepMenu                 true
+pullDownMenuLevel                    1
+pullDownMenuHilightLevel             2
 #if Display hasGreyscales not
-pullDownMenuHilightForegroundColor      Color white
-pullDownMenuHilightBackgroundColor      Color black
+pullDownMenuHilightForegroundColor   Color white
+pullDownMenuHilightBackgroundColor   Color black
 #endif
 
-selectionRightArrowLevel         -1
-selectionRightArrowLevel         2
-selectionLineSpacing             4
-selectionForegroundColor         Color black
-selectionHilightBackgroundColor  Color black
-selectionDisabledForegroundColor =shadowColor
+selectionRightArrowLevel             -1
+selectionRightArrowLevel             2
+selectionLineSpacing                 4
+selectionForegroundColor             Color black
+selectionHilightBackgroundColor      Color black
+selectionHilightStyle                #motif
+selectionDisabledForegroundColor     =shadowColor
 
-textCursorType                   #caret
+textCursorType                       #caret
 
-activeHelpBackgroundColor         Color yellow lightened
-activeHelpBorderWidth             2
+activeHelpBackgroundColor            Color yellow lightened
+activeHelpBorderWidth                2
 
 rulerForegroundColor            Color black
 rulerBackgroundColor            =viewGrey
--- a/styles/motif2.style	Wed Mar 20 17:04:13 1996 +0100
+++ b/styles/motif2.style	Thu Mar 21 17:45:53 1996 +0100
@@ -3,7 +3,7 @@
 ; just a demo:
 ; like motif, but with different (red) menu-hilighting
 ;
-; $Header: /cvs/stx/stx/libview/styles/motif2.style,v 1.6 1996-03-06 11:47:46 cg Exp $
+; $Header: /cvs/stx/stx/libview/styles/motif2.style,v 1.7 1996-03-21 16:45:52 cg Exp $
 
 #if Display hasGreyscales
 viewGrey                Color grey:61 
@@ -37,6 +37,7 @@
 ; (if the following is uncommented)
 ;
 
-selectionHilightForegroundColor Color black      
-selectionHilightBackgroundColor Color green
-selectionHilightLevel           1
+selectionHilightForegroundColor     Color black      
+selectionHilightBackgroundColor     Color green
+selectionHilightStyle               nil
+selectionHilightLevel               1
--- a/styles/motif3.style	Wed Mar 20 17:04:13 1996 +0100
+++ b/styles/motif3.style	Thu Mar 21 17:45:53 1996 +0100
@@ -4,7 +4,7 @@
 ; like motif, but with different menu-hilighting
 ; (yellow text on grey - looks like lighted with a lamp from behind ...)
 ;
-; $Header: /cvs/stx/stx/libview/styles/motif3.style,v 1.5 1996-03-06 11:47:47 cg Exp $
+; $Header: /cvs/stx/stx/libview/styles/motif3.style,v 1.6 1996-03-21 16:45:53 cg Exp $
 
 
 #include 'motif.style'
@@ -23,12 +23,13 @@
 menuHilightLevel                0
 
 ;
-; and different selectionHilighting
+; and different selectionHilighting (yellow fg highlighting)
 ;
 
-selectionHilightForegroundColor Color yellow      
-selectionHilightBackgroundColor =viewGrey
-selectionHilightLevel           0
+selectionHilightForegroundColor     Color yellow      
+selectionHilightBackgroundColor     =viewGrey
+selectionHilightStyle               nil
+selectionHilightLevel               0
 
 ;
 ; and different button hilighting