Unit installation
MAX+PLUS II Getting Started
286 Altera Corporation
Customizing MAX+PLUS II Colors
You can customize the colors of various elements in the MAX+PLUS II
window by editing the ASCII-format win.ini file, which is copied into the
<userÕs home directory>/windows directory the first time you run
MAX+PLUS II.
The settings in this file determine the colors of basic window elements when
Windows Òlook and feelÓ is selected. For more information about changing
the Òlook and feelÓ of the user interface, go to ÒEnvironment VariablesÓ on
page 288. In contrast, the Color Palette command (Options menu) in
MAX+PLUS II determines the colors of specific objects displayed in
individual MAX+PLUS II application windows.
The [colors] section of win.ini defines the color of various elements in the
MAX+PLUS II window. Three values in the range of 0 to 255 define the
amount of red, green, and blue (RGB) that determine the color of each
element.
The following table shows the [colors] section of a sample win.ini file
and a brief description of each window element.
Component = R G B Value: Description:
Background=192 192 192
Desktop background
AppWorkspace=255 255 255
MAX+PLUS II workspace
Window=255 255 255
MAX+PLUS II application
workspace
WindowText=0 0 0
Window text
Menu=255 255 255
Window background
MenuText=0 0 0
Menu text
ActiveTitle=0 0 128
Active window title bar
InactiveTitle=255 255 255
Inactive window title bar
TitleText=255 255 255
Title bar text in an active window
ActiveBorder=192 192 192
Active window border
InactiveBorder=192 192 192
Inactive window border
WindowFrame=0 0 0
Window frame
ScrollBar=192 192 192
Scroll bar background
ButtonFace=192 192 192
Button front surface
ButtonShadow=128 128 128
Shadow (i.e., darker edges) of an
unpressed button
81_GSBOOK.fm5 Page 286 Tuesday, October 14, 1997 4:04 PM