2
0
Эх сурвалжийг харах

* Alpha channel at Opaque for normal colors

luk 22 жил өмнө
parent
commit
ecf5190d17

+ 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;