Browse Source

* Alpha channel at Opaque for normal colors

luk 22 years ago
parent
commit
ecf5190d17
1 changed files with 1 additions and 0 deletions
  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.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;