Explorar o código

* Alpha channel at Opaque for normal colors

luk %!s(int64=22) %!d(string=hai) anos
pai
achega
ecf5190d17
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      fcl/image/fpreadxpm.pp

+ 1 - 0
fcl/image/fpreadxpm.pp

@@ -70,6 +70,7 @@ begin
   result.red   := (Convert(copy(s,1,l)));
   result.green := (Convert(copy(s,l+1,l)));
   result.blue  :=  Convert(copy(s,l+l+1,l));
+  result.alpha := AlphaOpaque;
 end;
 
 function TFPReaderXPM.NameToColor(s : string) : TFPColor;