Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

Commit

Permalink
LCL: docs
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45160 4005530d-fff6-0310-9dd1-cebe43e6787f
  • Loading branch information
mattias committed May 24, 2014
1 parent 077e39c commit eaecedd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/xml/lcl/lcltype.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand Down

0 comments on commit eaecedd

Please sign in to comment.