Error getting tags :
error 404Error getting tags :
error 404 privateColors | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
privateColors
Basics
Expander triangle
Type
Property
Syntax
set the privateColors to true
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
Linux
Security
None required
Summary
Specifies whether Revolution uses its own color table or the system color table on Unix systems.
Examples

set the privateColors to true

Additional Comments
Expander triangle

Use the privateColors property to improve display on Unix systems when the bit depth of the screen is 8 bits (256 colors) or less.

Value:

The privateColors is true or false.

By default, the privateColors property is set to false.

Comments:

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 Revolution 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.

Important! Once the privateColorsproperty is set to true, it cannot be set back to false. To change it back to true, you must quit and restart the application.

The setting of this property has no effect on Mac OS or Windows systems.

User Comments
Expander triangle