DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
OSF/Motif window manager resources

Resources for coloring windows, icons, menus, and mattes

The following resources control the colors that are used in active and inactive window frames, icon images, menus, and mattes:

Color resources

Value
Name Class type Default
Windows, icons, and menus
activeBackground Background color scoActiveBackground
activeBottomShadowColor Foreground color black
activeForeground Foreground color scoActiveForeground
activeTopShadowColor Background color scoActiveTopShadow
background Background color scoBackground
bottomShadowColor Foreground color black
foreground Foreground color scoForeground
topShadowColor Background color scoTopShadow
Mattes
matteBackground Background color value of *background
matteBottomShadowColor Foreground color black
matteForeground Foreground color value of *foreground
matteTopShadowColor Background color scoBackground
matteWidth MatteWidth pixels 0
Icon images
iconImageBackground Background color value of *background
iconImageBottomShadowColor Foreground color black
iconImageForeground Foreground color value of *foreground
iconImageTopShadowColor Background color value of *topShadowColor


NOTE: Most of these color resources specify a palette resource variable, instead of a specific color. For example, the activeForeground resource specifies a value of ``scoActiveForeground.'' These palette resource variables are replaced with a color value, depending on the color choices you make with the scocolor client. See ``Changing colors'' for more information.

The resources listed in ``Color resources'' are described in more detail below:

activeBackground (Class: Background)
This resource specifies the color of the active window manager window frame. The default value is ``scoActiveBackground.'' (This is a component appearance resource.)

activeBottomShadowColor (Class: Foreground)
This resource specifies the color of the lower and right bevels of the active window frame. The default value is ``black.'' (This is a component appearance resource.)

activeForeground (Class: Foreground)
This resource specifies the color of text in the active window frame. The default value is ``scoActiveForeground.'' (This is a component appearance resource.)

activeTopShadowColor (Class: Background)
This resource specifies the color of the upper and left bevels of the active window frame. The default value is ``scoActiveTopShadow.'' (This is a component appearance resource.)

background (Class: Background)
This resource specifies the background color used in all components of the window manager, particularly the background of windows. The default value is ``scoBackground.'' (This is a component appearance resource.)

bottomShadowColor (Class: Foreground)
This resource specifies the color of the lower and right bevels in all window frames. The default value is ``black.'' (This is a component appearance resource.)

foreground (Class: Foreground)
This resource specifies the color of text used in all components of the window manager, particularly in windows. The default value is ``scoForeground.'' (This is a component appearance resource.)

iconImageBackground (Class: Background)
This resource specifies the background color for the window manager icon image. The default value is the color specified by the *background or *icon*background window manager resources. (This is a client-specific resource.)

iconImageBottomShadowColor (Class: Foreground)
This resource specifies the color used to create the bottom shadow of the icon image. The default value is ``black.'' (This is a client-specific resource.)

iconImageForeground (Class: Foreground)
This resource specifies the foreground color of the icon image. The default value is the color specified by the *foreground or *icon*foreground window manager resources. (This is a client-specific resource.)

iconImageTopShadowColor (Class: Background)
This resource specifies the color used to create the top shadow of the icon image. The default value is the color specified by the *topShadowColor window manager resource. (This is a client-specific resource.)

matteBackground (Class: Background)
This resource specifies the background color of the matte. The matte is a three-dimensional border between the client's window and the window frame added by the window manager. This resource is used only if matteWidth is greater than zero. The default value is the color specified by the *background or *client*background window manager resources. (This is a client-specific resource.)

matteBottomShadowColor (Class: Foreground)
This resource specifies the color used to create the bottom shadow of the matte. This resource is used only if matteWidth is greater than zero. The default value is ``black.'' (This is a client-specific resource.)

matteForeground (Class: Foreground)
This resource specifies the foreground color of the matte. This resource is used only if matteWidth is greater than zero. The default value is the color specified by the *foreground or *client*foreground window manager resources. (This is a client-specific resource.)

matteTopShadowColor (Class: Background)
This resource specifies the color used to create the top shadow of the matte. This resource is used only if matteWidth is greater than zero. The default value is the color specified by the *topShadowColor window manager resource. (This is a client-specific resource.)

matteWidth (Class: MatteWidth)
This resource specifies the width of the matte, in pixels. The default value is zero; no matte appears by default. (This is a client-specific resource.)

topShadowColor (Class: Background)
This resource specifies the color of the top and left bevels in all window frames. The default value is ``scoTopShadow.'' (This is a component appearance resource.)


Next topic: Resources for shading windows, icons, menus, and mattes
Previous topic: Resource for specifying window manager fonts

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003