First Step to make CFonts threadsave

This commit is contained in:
Flamefire committed 2014-09-06 14:17:27 +02:00
1 parent 32241a91dc
commit 7f60e6f321
5 files changed
+135 -138

No files matched your search

+2
View File
@@ -17,6 +17,7 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Drawing;
using System.Windows.Forms;
using VocaluxeLib.Songs;
@@ -48,6 +49,7 @@ namespace VocaluxeLib
A = color.A;
}
[Pure]
public Color AsColor()
{
return Color.FromArgb((int)(A * 255), (int)(R * 255), (int)(G * 255), (int)(B * 255));