<doc>
  <legacy_id>1832</legacy_id>
  <name>privateColors</name>
  <type>property</type>
  <syntax>
    <example>set the privateColors to true</example>
  </syntax>
  <library></library>
  <objects>
    <global/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>The System Environment</category>
  </classification>
  <references>
    <function tag="screenType">screenType Function</function>
    <property tag="remapColor">remapColor Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <linux/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
  </classes>
  <security>
  </security>
  <summary>Specifies whether LiveCode uses its own <glossary tag="color table">color table</glossary> or the system <glossary tag="color table">color table</glossary> on <glossary tag="Unix">Unix systems</glossary>.</summary>
  <examples>
    <example>set the privateColors to true</example>
  </examples>
  <description>
    <p>Use the <b>privateColors</b> <glossary tag="property">property</glossary> to improve display on <glossary tag="Unix">Unix systems</glossary> when the <glossary tag="bit depth">bit depth</glossary> of the screen is 8 <glossary tag="bit">bits</glossary> (256 colors) or less.</p><p/><p><b>Value:</b></p><p>The <b>privateColors</b> is true or false.</p><p/><p>By default, the <b>privateColors</b> <glossary tag="property">property</glossary> is set to false.</p><p/><p><b>Comments:</b></p><p>Set the <b>privateColors</b> <glossary tag="property">property</glossary> to true for a <object tag="stack">stack</object> that uses colors that aren't in the <keyword tag="default">default</keyword> <glossary tag="color table">color table</glossary>. This has the advantage of letting the <object tag="stack">stack</object> display more colors than normally possible on an 8-<glossary tag="bit">bit</glossary> display. The disadvantage is that if the <b>privateColors</b> is true, the colors of other applications' windows may be distorted while LiveCode is the foreground application.</p><p/><p>When the <b>privateColors</b> is set to false, the <glossary tag="engine">engine</glossary> uses the system <glossary tag="color table">color table</glossary>. When it is set to true, the <glossary tag="engine">engine</glossary> uses its own custom <glossary tag="color table">color table</glossary>.</p><p/><p>This property has no effect unless the <b>screenType</b> <glossary tag="property">property</glossary> has a value of "PseudoColor"--that is, each <glossary tag="pixel">pixel</glossary> on the screen is one of a <glossary tag="color table">color table</glossary> of colors (usually 256 colors), and the colors in that <glossary tag="color table">color table</glossary> can be changed by the <glossary tag="engine">engine</glossary>.</p><p/><p><code/><img src="202653"/> <b>Important!</b><code/> Once the <b>privateColors</b> <glossary tag="property">property</glossary> is set to true, it cannot be set back to false. To change it back to true, you must quit and restart the <glossary tag="application">application</glossary>.</p><p/><p>The setting of this property has no effect on Mac OS or Windows systems.</p>
  </description>
</doc>