cedit(6D)
cedit - edit colors on the screen
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME cedit - edit colors on the screen SYNOPSIS /usr/sbin/cedit DESCRIPTION The frame buffer of the IRIS contains values which are translated into RGB values by a color map for applications in color map mode. Cedit changes the mapping of any color index. Three sliders are displayed, along with a sample patch of the color being edited. Normal operation is to establish input focus by placing the cursor within the cedit window then press and hold the Alt key down. While continuing to hold the Alt key down move the cursor outside of the cedit window and click the left button to pick up a color index to be edited. The sliders indicate the red, green, and blue components of the current color. Once the color map index has been picked, release the Alt key and return to the cedit win- dow. The color can then be changed by clicking down on a slider in cedit, and adjusting the position of the control. Under each slider con- trol is a number representing the current value of that color component. The number ranges from 0 (for least intensity) to 255 (for most intensi- ty). Under the color patch is a number that represents the current color index. The user can toggle between decimal and hexidecimal representa- tions of the current RGB values being displayed via the menu item "toggle numbers". SEE ALSO showmap(6D) NOTES It is not possible for cedit to know if the window you are selecting a color from is single or double buffered. This can be a problem on machines that have only 8 bitplanes. cedit can be made to interpret data as single or double buffered via the last item in the menu. This menu will toggle between choices. The menu shows up on 8 bit machines only, since it is not a problem on other machines. BUGS If another process changes the color entry being edited, the sliders of cedit do not indicate the correct positions for that color index. This program must have input focus in order to work properly. See the window manager documentation for a discussion of input focus. cedit only knows about the frontbuffer. If the queried pixel belongs to a double buffered window, it is possible for cedit to grab from the wrong buffer. When the window swaps buffers, cedit will be able to grab the correct color. Some applications use dithered colors so the index and color of adjacent pixels will be different for some regions of the screen. Systems with multiple color maps are confusing. Cedit can only edit the color map currently installed in the hardware colormap. Applications with their own color maps cannot be edited unless their colormap is currently installed.