ソースを参照

* Alpha channel at Opaque for normal colors

luk 22 年 前
コミット
ecf5190d17
1 ファイル変更1 行追加0 行削除
  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;