mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 09:59:17 +02:00
* Alpha channel at Opaque for normal colors
This commit is contained in:
parent
304539d845
commit
ecf5190d17
@ -70,6 +70,7 @@ begin
|
|||||||
result.red := (Convert(copy(s,1,l)));
|
result.red := (Convert(copy(s,1,l)));
|
||||||
result.green := (Convert(copy(s,l+1,l)));
|
result.green := (Convert(copy(s,l+1,l)));
|
||||||
result.blue := Convert(copy(s,l+l+1,l));
|
result.blue := Convert(copy(s,l+l+1,l));
|
||||||
|
result.alpha := AlphaOpaque;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TFPReaderXPM.NameToColor(s : string) : TFPColor;
|
function TFPReaderXPM.NameToColor(s : string) : TFPColor;
|
||||||
|
Loading…
Reference in New Issue
Block a user