Prism 6.0 User's Guide

Changing Colors

Prism provides several resources for changing the default colors it uses when it is run on a color workstation.

Changing the Colors Used for Colormap Visualizers

Use the Prism.vizColormap resource to specify a file that contains the colors to be used in colormap visualizers. You can also change the setting of this resource via the Customize utility; see " Using the Customize Utility". See " Resources" for a discussion of how to create a visualizer color file.

Use the resource Prism.spectralMapSize to specify how large the default spectral color map is to be for colormap visualizers. The default is 100 entries. You would typically use this resource to specify fewer entries, if this number causes problems on your workstation. To set the default to 50, for example, set the resource in your X resource database as follows:

Prism.spectralMapSize: 50

Changing Prism's Standard Colors

Use the Prism.dialogColor resource to change the background color of dialog boxes.

Use the Prism.textBgColor resource to change the background color for text in buttons, dialog boxes, etc. Note that this setting overrides the setting of the X toolkit -bg option.

Use the Prism.textMasterColor resource to change the color used to highlight the master pane when the source window is split.

Use Prism.graphFillColor to specify the interior fill color for objects in graphics windows that have 3-D shadow borders.

Use Prism.graphBGColor to specify the background color of all graphics windows, such as the structure browser, where graph, and visualizer.

Use the Prism.mainColor resource to change the color used for just about everything else.

The defaults are:

Prism.dialogColor: Thistle
Prism.textBgColor: snow2
Prism.textMasterColor: black
Prism.graphFillColor: grey
Prism.graphBGColor: light grey
Prism.mainColor: light sea green

Changing the Colors of MPI Communicators in the MPI Queue Visualizer

Use the Prism.comm1Color resource to change the color of the first communicator displayed in the MPI queue visualizer.

Use the Prism.comm2Color resource to change the color of the second communicator displayed in the MPI queue visualizer.

Use the Prism.comm3Color resource to change the color of the third communicator displayed in the MPI queue visualizer.

Use the Prism.commOtherColor resource to change the color of the fourth communicator displayed in the MPI queue visualizer.

The defaults are:

Prism.comm1Color: chartreuse2
Prism.comm2Color: cyan2
Prism.comm3Color: magenta2
Prism.commOtherColor: purple