lockColorMap | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Specifies whether changes to the color table cause the screen to be redrawn with the new color table. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux | ||||||
Platforms | desktop, server | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: card, image, player Property: remapColor Command: unlock colorMap Function: screenColors Glossary: property, redraw, bit, color table, Mac OS, video clip, bit depth Object: image, player | ||||||
Description | Use the lockColorMap property to trade off between color accuracy and possible screen flashing when the bit depth of the screen is 8 bits (256 colors) or less. If the lockColorMap property is set to false, newly-displayed images, videoclips, and players can change the color table used by LiveCode. This displays the colors in images and movies more accurately, but can cause screen flashing. (To minimize screen flashing when the lockColorMap is false, go to the card containing the image and then set the lockColorMap property to true.) If the lockColorMap is true, the color table cannot be changed. In this case, if an image, video clip, or player contains a color not in the current color table, the closest existing color is substituted. This may cause banding or strange-looking displays in photographs and other images that contain a smooth gradation of colors. This property has no effect on systems using 16-bit or 24-bit color. | ||||||
Tags | ui |