The panel contains controls that are manipulated to set the components of the color of the currently selected layer or other drawing attribute. If the Print Control panel (induced by the Print button in the File Menu) is visible, the color set will be used for rendering the plot, if the plot driver supports definable colors.
Along the top of the panel are three drop-down menus. The leftmost menu selects between Electrical and Physical, which for attributes whose color differs between modes, this specifies which color to display or set.
The second menu contains two or three choices: Attributesa and Prompt Line, and in the case where the first menu choice is Electrical, a thrid choice Plot Marks is available. The choice here will determine the content of the third menu. Each entry of the third menu represents a color that can be adjusted.
The third menu choices for the three choices in the second menu are described below.
|Current Layer||Current layer color|
|Background||Drawing window background color|
|Coarse Grid||Color used for coarse grid lines|
|Fine Grid||Color used for fine grid lines|
|Ghosting||Color used for ``sprites'' attached to the mouse pointer|
|Highlighting||Color used for highlighting, such as for DRC errors|
|Selection Color 1||One of two alternating colors used for selections|
|Selection Color 2||One of two alternating colors used for selections|
|Instance Boundary||Boundary color of unexpanded instance|
|Instance Name Text||Name text color in unexpanded instance|
|Instance Size Text||Size text color in unexpanded instance, physical mode only|
|Text||Normal prompt line text|
|Prompt Text||Text color used for prompting|
|Highlight Text||Text color used for hypertext references|
|Cursor||Text cursor color|
|Background||Normal background color|
|Edit Background||Background color while editing|
The entries are: Plot Mark 1 to Plot Mark 18.
The rest of the panel consists of the stock GTK-2 color selection widgets. There are six up/down buttons which can adjust the red, green, and blue values, or the hue, saturation, and intensity values. To the left is a color wheel, with a triangle inside. One can drag the marked triangle vertex around the outer ring to set the color, and drag the small circle in the triangle to set the lightness. All widgets automatically track the current color setting.
There is also a palette containing several colors, and a rectangular color display area for the current and previous colors. Colors can be dragged between the palette locations and the current color location. The eye-dropper button allows setting the current color from a clicked-on screen object.
The Colors button brings up a listing of color names and RGB values. Clicking on a list entry will load that color into the color selector.
The Apply button must be pressed to actually transfer the new color to Xic. For layer colors, drag/drop of a color to the entries in the layer table or layer palette can be done as well. When changing layer colors, or screen attribute colors such as grid colors, the main window and similar (same display mode) sub-windows will be redrawn. The NoPhysRedraw variable, if set, will suppress automatic redraw of physical-mode windows.
When the Print Control Panel panel is visible, i.e., in hard copy mode, the colors set will be used in that mode only, and in the plots if the printer driver supports it.