Color
The color group defines the color index palette.
Color example
[COLOR]
! R G B
! --- --- ---
color0 = 1, 1, 1 Black*
color1 = 254, 0, 0 Red*
color2 = 0, 129, 0 Dark green*
color3 = 254, 254, 0 Yellow*
color4 = 0, 0, 254 Blue*
color5 = 254, 0, 254 Magenta*
color6 = 0, 254, 254 Cyan*
color7 = 193, 193, 193 Light grey*
!----------------------
color8 = 129, 129, 129 Medium grey*
color9 = 0, 0, 129 Dark blue*
color10 = 129, 0, 0 Dark red*
color11 = 129, 0, 129 Dark magenta*
color12 = 0, 254, 0 Green*
color13 = 0, 129, 129 Dark cyan*
color14 = 129, 129, 0 Dark yellow*
color15 = 254, 254, 254 White*
!----------------------
color16 = 250, 250, 250 2% grey
color17 = 242, 242, 242 5% grey
color18 = 224, 224, 224 12% grey
color19 = 184, 184, 184 28% grey
color20 = 160, 160, 160 Light grey*
color21 = 119, 119, 119 53% grey
color22 = 96, 96, 96 62% grey
color23 = 77, 77, 77 70% grey
.
.
.
color74 = 255, 204, 255
color75 = 249, 108, 181
color76 = 255, 79, 121
color77 = 215, 0, 0
color78 = 185, 56, 0
color79 = 114, 75, 0
!----------------------
#if truecolor
color80 = 90, 90, 165
#else
color80 = 0, 0, 129
#endif
listbox_background_color_index = 15
#if truecolor
listbox_selection_color_index = 47
threshold_value1 = 0
threshold_color_index1 = 52
threshold_value2 = 100
threshold_color_index2 = 75
#else
listbox_selection_color_index = 50
threshold_value1 = 0
threshold_color_index1 = 50
threshold_value2 = 100
threshold_color_index2 = 75
#endif
procentagebar_text_color_index = 22
color<index> = <Red value>, <Green
value>, <Blue value>
A color index is used to refer to a specific color. Color indexes 0 to 15 are mapped to hardware colors. Color index 0 should always be black, index 7 pale gray (background color) and index 15 should be white.
Color indexes 0 to 79 can be used for coloring.
Indexes 80 to 99 are reserved for special purposes - currently only index 80 is used to handle a color problem at 256 colors. The background bitmap color that is used in the main menu is a palette color, which the text label control can not use at 256 colors.
Indexes 100 to 199 are system colors that are used for defaults.
Color selection dialog (#674) in MAPP | The panel definition in PMGENE__.SKM |
---|---|
Color |
|
List box_background_color_index = <color index>
List box_selection_color_index = <color index>
List box_background_color_index sets the default background color index of the listbox. If a specific color index is not defined on the listbox, this color index is used.
List box_selection_color_index set the default selection color index of the listbox. If a specific color index is not defined on the listbox, this color index is used.
threshold_value1 = <integer threshold value>
threshold_color_index1 = <color index>
Threshold_value1 to threshold_value15 defines the threshold value used to select the color that is used the percent bar in the list box. If the value is less or equals the threshold_value1, then threshold_color_index1 is used as color.
procentagebar_text_color_index = <color index>
Procentage bar_text_color_index sets the color of the text in the percentage bar.