styles/motif.common
changeset 1948 6a9b754ca6d3
parent 1924 5d09bd2ff0c7
child 1951 5290a36652db
equal deleted inserted replaced
1947:dce44929b7c5 1948:6a9b754ca6d3
     1 ;
     1 ;
     2 ; common motif stuff (not a style, but included by all motif style variations)
     2 ; common motif stuff (not a style, but included by all motif style variations)
     3 ;
     3 ;
     4 ;
     4 ;
     5 ; $Header: /cvs/stx/stx/libview/styles/motif.common,v 1.16 1997-10-15 11:29:43 cg Exp $
     5 ; $Header: /cvs/stx/stx/libview/styles/motif.common,v 1.17 1997-11-02 19:48:57 cg Exp $
     6 
     6 
     7 ;
     7 ;
     8 ; this is to be included from the real style,
     8 ; this is to be included from the real style,
     9 ; with (at least) viewGrey, shadowColor, lightColor and mediumColor
     9 ; with (at least) viewGrey, shadowColor, lightColor and mediumColor
    10 ; being predefined
    10 ; being predefined
    56 
    56 
    57 variablePanel.trackingStyle       #solidLine
    57 variablePanel.trackingStyle       #solidLine
    58 
    58 
    59 framedBox.labelPosition           #topLeft
    59 framedBox.labelPosition           #topLeft
    60 
    60 
    61 labelForegroundColor             Color black
    61 label.foregroundColor             Color black
    62 
    62 
    63 buttonActiveLevel                -2 
    63 button.activeLevel                -2 
    64 buttonPassiveLevel               2
    64 button.passiveLevel               2
    65 buttonReturnButtonHasBorder      true
    65 button.returnButtonHasBorder      true
    66 
    66 
    67 buttonActiveBackgroundColor      =mediumColor
    67 button.activeBackgroundColor      =mediumColor
    68 buttonActiveForegroundColor      Color black
    68 button.activeForegroundColor      Color black
    69 buttonDisabledForegroundColor    =shadowColor
    69 button.disabledForegroundColor    =shadowColor
    70 
    70 
    71 #if Display hasGreyscales not
    71 #if Display hasGreyscales not
    72 buttonActiveBackgroundColor      Color grey:80
    72 button.activeBackgroundColor      Color grey:80
    73 #endif
    73 #endif
    74 
    74 
    75 arrowButtonStyle                 #motif
    75 arrowButton.style                 #motif
    76 arrowButtonActiveLevel           0
    76 arrowButton.activeLevel           0
    77 arrowButtonPassiveLevel          0
    77 arrowButton.passiveLevel          0
    78 
    78 
    79 arrowButtonForegroundColor         =viewGrey
    79 arrowButton.foregroundColor         =viewGrey
    80 arrowButtonBackgroundColor         =mediumColor
    80 arrowButton.backgroundColor         =mediumColor
    81 arrowButtonActiveForegroundColor   =viewGrey
    81 arrowButton.activeForegroundColor   =viewGrey
    82 arrowButtonActiveBackgroundColor   =viewGrey
    82 arrowButton.activeBackgroundColor   =viewGrey
    83 arrowButtonDisabledForegroundColor =viewGrey
    83 arrowButton.disabledForegroundColor =viewGrey
    84 
    84 
    85 editFieldBackgroundColor           =mediumColor
    85 editField.backgroundColor           =mediumColor
    86 
    86 
    87 menuHilightLevel                 2
    87 menu.hilightLevel                 2
    88 menuSeparatingLineInset          0
    88 menu.separatingLineInset          0
    89 menuViewBackgroundColor         =viewGrey
    89 menu.viewBackgroundColor         =viewGrey
    90 menuDisabledForegroundColor     =shadowColor
    90 menu.disabledForegroundColor     =shadowColor
    91 
    91 
    92 pullDownMenuKeepMenu                 true
    92 pullDownMenu.keepMenu                 true
    93 pullDownMenuLevel                    1
    93 pullDownMenu.level                    1
    94 pullDownMenuHilightLevel             2
    94 pullDownMenu.hilightLevel             2
    95 #if Display hasGreyscales not
    95 #if Display hasGreyscales not
    96 pullDownMenuHilightForegroundColor   Color white
    96 pullDownMenu.hilightForegroundColor   Color white
    97 pullDownMenuHilightBackgroundColor   Color black
    97 pullDownMenu.hilightBackgroundColor   Color black
    98 #endif
    98 #endif
    99 pullDownMenuAutoselectFirst         true
    99 pullDownMenu.autoselectFirst         true
   100 
   100 
   101 #selectionMultiSelectionModifier      #Control
   101 #selection.multiSelectionModifier      #Control
   102 selectionRightArrowLevel             -1
   102 #selection.rightArrowLevel             -1
   103 selectionRightArrowLevel             2
   103 selection.rightArrowLevel             2
   104 selectionLineSpacing                 4
   104 selection.lineSpacing                 4
   105 selectionForegroundColor             Color black
   105 selection.foregroundColor             Color black
   106 selectionHilightBackgroundColor      Color black
   106 selection.hilightBackgroundColor      Color black
   107 selectionHilightStyle                #motif
   107 selection.hilightStyle                #motif
   108 selectionDisabledForegroundColor     =shadowColor
   108 selection.disabledForegroundColor     =shadowColor
   109 
   109 
   110 #textCursorType                       #caret
   110 #textCursorType                       #caret
   111 textCursorType                       #ibeam
   111 textCursor.type                       #ibeam
   112 textCursorNoFocusForegroundColor     Color grey
   112 textCursor.noFocusForegroundColor     Color grey
   113 
   113 
   114 activeHelpBackgroundColor            Color yellow lightened
   114 activeHelp.backgroundColor            Color yellow lightened
   115 activeHelpBorderWidth                2
   115 activeHelp.borderWidth                2
   116 
   116 
   117 rulerForegroundColor            Color black
   117 ruler.foregroundColor            Color black
   118 rulerBackgroundColor            =viewGrey
   118 ruler.backgroundColor            =viewGrey
   119 
   119 
   120 #if Display hasGrayscales not
   120 #if Display hasGrayscales not
   121 htmlAnchorUnderline                true
   121 html.anchorUnderline                true
   122 htmlAnchorForegroundColor          Color black
   122 html.anchorForegroundColor          Color black
   123 htmlBackgroundColor                Color white
   123 html.backgroundColor                Color white
   124 htmlActiveAnchorForegroundColor    Color black
   124 html.activeAnchorForegroundColor    Color black
   125 htmlActiveAnchorBackgroundColor    =htmlBackgroundColor
   125 html.activeAnchorBackgroundColor    =htmlBackgroundColor
   126 htmlVisitedAnchorForegroundColor   Color black
   126 html.visitedAnchorForegroundColor   Color black
   127 htmlExampleAnchorForegroundColor   Color black
   127 html.exampleAnchorForegroundColor   Color black
   128 #endif
   128 #endif
   129 
   129 
   130 infoBoxSeparator                  true
   130 infoBox.separator                  true
   131 infoBoxIconFile                   'bitmaps/Information_motif.xbm'
   131 infoBox.iconFile                   'bitmaps/Information_motif.xbm'
   132 warningBoxIconFile                'bitmaps/Warning_motif.xbm'
   132 warningBox.iconFile                'bitmaps/Warning_motif.xbm'
   133 requestBoxIconFile                'bitmaps/Request_motif.xbm'
   133 requestBox.iconFile                'bitmaps/Request_motif.xbm'
   134 
   134 
   135 
   135 
   136 #if Display hasGrayscales
   136 #if Display hasGrayscales
   137 arrowButtonUpForm                 Image extent:11@12 \
   137 arrowButton.upForm                 Image extent:11@12 \
   138 					depth:2      \
   138 					depth:2      \
   139 					bits:#[4r0000 4r0100 4r0000 \
   139 					bits:#[4r0000 4r0100 4r0000 \
   140 					       4r0000 4r1120 4r0000 \
   140 					       4r0000 4r1120 4r0000 \
   141 					       4r0000 4r1120 4r0000 \
   141 					       4r0000 4r1120 4r0000 \
   142 					       4r0001 4r1322 4r0000 \
   142 					       4r0001 4r1322 4r0000 \
   148 					       4r1122 4r2222 4r2220 \
   148 					       4r1122 4r2222 4r2220 \
   149 					       4r1222 4r2222 4r2220 \
   149 					       4r1222 4r2222 4r2220 \
   150 					       4r0000 4r0000 4r0000] \
   150 					       4r0000 4r0000 4r0000] \
   151 					pad:8
   151 					pad:8
   152 
   152 
   153 arrowButtonDownForm               Image extent:11@12 \
   153 arrowButton.downForm               Image extent:11@12 \
   154 					depth:2      \
   154 					depth:2      \
   155 					bits:#[ \
   155 					bits:#[ \
   156 					       4r0000 4r0000 4r0000 \
   156 					       4r0000 4r0000 4r0000 \
   157 					       4r1111 4r1111 4r1110 \
   157 					       4r1111 4r1111 4r1110 \
   158 					       4r1111 4r1111 4r1220 \
   158 					       4r1111 4r1111 4r1220 \
   166 					       4r0000 4r1220 4r0000 \
   166 					       4r0000 4r1220 4r0000 \
   167 					       4r0000 4r0200 4r0000 \
   167 					       4r0000 4r0200 4r0000 \
   168 					      ] \
   168 					      ] \
   169 					pad:8
   169 					pad:8
   170 
   170 
   171 arrowButtonLeftForm               Image extent:12@11 \
   171 arrowButton.leftForm               Image extent:12@11 \
   172 					depth:2      \
   172 					depth:2      \
   173 					bits:#[ \
   173 					bits:#[ \
   174 					       4r0000 4r0000 4r0110 \
   174 					       4r0000 4r0000 4r0110 \
   175 					       4r0000 4r0001 4r1120 \
   175 					       4r0000 4r0001 4r1120 \
   176 					       4r0000 4r0111 4r1220 \
   176 					       4r0000 4r0111 4r1220 \
   183 					       4r0000 4r0002 4r2220 \
   183 					       4r0000 4r0002 4r2220 \
   184 					       4r0000 4r0000 4r0220 \
   184 					       4r0000 4r0000 4r0220 \
   185 					      ] \
   185 					      ] \
   186 					pad:8
   186 					pad:8
   187 
   187 
   188 arrowButtonRightForm              Image extent:12@11 \
   188 arrowButton.rightForm              Image extent:12@11 \
   189 					depth:2      \
   189 					depth:2      \
   190 					bits:#[ \
   190 					bits:#[ \
   191 					       4r0110 4r0000 4r0000 \
   191 					       4r0110 4r0000 4r0000 \
   192 					       4r0111 4r1000 4r0000 \
   192 					       4r0111 4r1000 4r0000 \
   193 					       4r0111 4r1110 4r0000 \
   193 					       4r0111 4r1110 4r0000 \
   200 					       4r0122 4r2000 4r0000 \
   200 					       4r0122 4r2000 4r0000 \
   201 					       4r0120 4r0000 4r0000 \
   201 					       4r0120 4r0000 4r0000 \
   202 					      ] \
   202 					      ] \
   203 					pad:8
   203 					pad:8
   204 #else
   204 #else
   205 arrowButtonUpForm                 Image extent:11@12 \
   205 arrowButton.upForm                 Image extent:11@12 \
   206 					depth:1      \
   206 					depth:1      \
   207 					bits:#[2r00000000 2r00000000 \
   207 					bits:#[2r00000000 2r00000000 \
   208 					       2r00000100 2r00000000 \
   208 					       2r00000100 2r00000000 \
   209 					       2r00000100 2r00000000 \
   209 					       2r00000100 2r00000000 \
   210 					       2r00001110 2r00000000 \
   210 					       2r00001110 2r00000000 \
   216 					       2r01111111 2r11000000 \
   216 					       2r01111111 2r11000000 \
   217 					       2r00000000 2r00000000 \
   217 					       2r00000000 2r00000000 \
   218 					       2r00000000 2r00000000] \
   218 					       2r00000000 2r00000000] \
   219 					pad:8
   219 					pad:8
   220 
   220 
   221 arrowButtonDownForm               Image extent:11@12 \
   221 arrowButton.downForm               Image extent:11@12 \
   222 					depth:1      \
   222 					depth:1      \
   223 					bits:#[2r00000000 2r00000000 \
   223 					bits:#[2r00000000 2r00000000 \
   224 					       2r00000000 2r00000000 \
   224 					       2r00000000 2r00000000 \
   225 					       2r01111111 2r11000000 \
   225 					       2r01111111 2r11000000 \
   226 					       2r00111111 2r10000000 \
   226 					       2r00111111 2r10000000 \
   232 					       2r00000100 2r00000000 \
   232 					       2r00000100 2r00000000 \
   233 					       2r00000100 2r00000000 \
   233 					       2r00000100 2r00000000 \
   234 					       2r00000000 2r00000000] \
   234 					       2r00000000 2r00000000] \
   235 					pad:8
   235 					pad:8
   236 
   236 
   237 arrowButtonLeftForm               Image extent:12@11 \
   237 arrowButton.leftForm               Image extent:12@11 \
   238 					depth:1      \
   238 					depth:1      \
   239 					bits:#[ \
   239 					bits:#[ \
   240 					       2r00000000 2r00000000 \
   240 					       2r00000000 2r00000000 \
   241 					       2r00000000 2r01000000 \
   241 					       2r00000000 2r01000000 \
   242 					       2r00000001 2r11000000 \
   242 					       2r00000001 2r11000000 \
   249 					       2r00000000 2r11000000 \
   249 					       2r00000000 2r11000000 \
   250 					       2r00000000 2r00000000 \
   250 					       2r00000000 2r00000000 \
   251 					      ] \
   251 					      ] \
   252 					pad:8
   252 					pad:8
   253 
   253 
   254 arrowButtonRightForm              Image extent:12@11 \
   254 arrowButton.rightForm              Image extent:12@11 \
   255 					depth:1      \
   255 					depth:1      \
   256 					bits:#[ \
   256 					bits:#[ \
   257 					       2r00000000 2r00000000 \
   257 					       2r00000000 2r00000000 \
   258 					       2r00100000 2r00000000 \
   258 					       2r00100000 2r00000000 \
   259 					       2r00111000 2r00000000 \
   259 					       2r00111000 2r00000000 \