privateColors | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Specifies whether LiveCode uses its own color table or the system color table on Unix systems. | ||||||
Introduced | 1.0 | ||||||
OS | linux | ||||||
Platforms | desktop, server | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: default Property: remapColor Function: screenType Glossary: property, bit depth, engine, pixel, color table, bit, Unix, application Object: stack | ||||||
Description | Use the privateColors property to improve display on Unixsystems when the bit depth of the screen is 8 bits (256 colors) or less. Set the privateColors property to true for a stack that uses colors that aren't in the default color table. This has the advantage of letting the stack display more colors than normally possible on an 8- bit display. The disadvantage is that if the privateColors is true, the colors of other applications' windows may be distorted while LiveCode is the foreground application. When the privateColors is set to false, the engine uses the system color table. When it is set to true, the engine uses its own custom color table. This property has no effect unless the screenType property has a value of "PseudoColor" --that is, each pixel on the screen is one of a color table of colors (usually 256 colors), and the colors in that color table can be changed by the engine.
The setting of this property has no effect on Mac OS or Windows systems. |