예제 #1
0
파일: FP.cs 프로젝트: Tankooni/shoe-polish
 /// <summary>
 /// Create an SFML color instance from a Flash-style uint (0xRRGGBB)
 /// </summary>
 /// <param name="color">A Flash-style color (0xRRGGBB)</param>
 /// <returns>The converted color</returns>
 public static Color Color(uint color)
 {
     return(new Color(FP.GetRed(color), FP.GetGreen(color), FP.GetBlue(color)));
 }