LCL: docs

git-svn-id: trunk@45160 -
This commit is contained in:
mattias 2014-05-24 02:24:28 +00:00
parent eb70911826
commit d1a8e989e6

View File

@ -6805,8 +6805,9 @@
</element>
<!-- alias type Visibility: default -->
<element name="TColorRef">
<short/>
<descr/>
<short>TColor, TColorRef</short>
<descr>Values from 0..$FFFFFF are BGR colors. The lowest 8 bit are the blue component, the middle 8 bit the green component and the highest 8 bit the red component. Use the functions Red, Green, Blue to extract the components, RedGreenBlue to extract all three components and RGBToColor to convert the three colors to a TColor.
Values with highest bit set are system colors or themed colors. For example clNone, clBackground, clButton, clWindowText. Their actual value depend on the context (i.e. the used Canvas) and they are not valid in all contexts. For example clWindowText might only work for Font.Color, not for Brush.Color or Pen.Color. clBackground might be a color, gradient, pattern or image, depending on theme and control type. A system color can change during runtime, so do not store them. Use system colors only on LCL control Canvas. They probably are not defined for printer canvas and some are not defined on bitmap canvas.</descr>
<seealso/>
</element>
<!-- constant Visibility: default -->