[Lazarus] TColor and Alpha channel support

Vojtěch Čihák vojtech.cihak at atlas.cz
Mon Sep 26 13:16:09 CEST 2016


Hi,
 
on one hand,
 
TColor = TGraphicsColor
and
TGraphicsColor = -$7FFFFFFF-1..$7FFFFFFF;
 
on the other hand, there are defined colors like
 
clNone    = TColor($1FFFFFFF);
clDefault = TColor($20000000);
 
So I'm also curious if its possible *somehow*.
 
Vojtěch
______________________________________________________________
> Od: Graeme Geldenhuys via Lazarus <lazarus at lists.lazarus-ide.org>
> Komu: Lazarus mailing list <lazarus at lists.lazarus.freepascal.org>
> Datum: 26.09.2016 12:37
> Předmět: [Lazarus] TColor and Alpha channel support
>
Hi,
 
 All LCL colors seem to be defined in the format TColor($BBGGRR) - all
 without the Alpha channel information.  Does TColor support the Alpha
 channel, and if it does, will it it be applied everywhere or all
 supported widgetsets?
 
 
 Regards,
  Graeme
 
 -- 
 fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
 http://fpgui.sourceforge.net/ <http://fpgui.sourceforge.net/>
 
 My public PGP key:  http://tinyurl.com/graeme-pgp <http://tinyurl.com/graeme-pgp>
 -- 
 _______________________________________________
 Lazarus mailing list
 Lazarus at lists.lazarus-ide.org
 http://lists.lazarus-ide.org/listinfo/lazarus <http://lists.lazarus-ide.org/listinfo/lazarus>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160926/927efa12/attachment.html>


More information about the Lazarus mailing list