diff options
author | Ian C <ianc@noddybox.co.uk> | 2005-05-18 01:34:00 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2005-05-18 01:34:00 +0000 |
commit | cac0e5a6f3baeaa2e891677c79bba00ff3c44e1a (patch) | |
tree | 79af3f1c867974c49bb0bb492daea721b6f37fc3 /Util.cs | |
parent | 81ed3c21ad7624a383a721c9509f671bd6f5ac23 (diff) |
Development changes
Diffstat (limited to 'Util.cs')
-rw-r--r-- | Util.cs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -21,6 +21,7 @@ using System; using System.Windows.Forms;
using System.Text;
using System.IO;
+using System.Drawing;
namespace BitmapFontEd
{
@@ -52,6 +53,10 @@ namespace BitmapFontEd MessageBoxButtons.OK,MessageBoxIcon.Information);
}
+ public static bool IsBlack(Color c)
+ {
+ return c.R==0 && c.G==0 && c.B==0;
+ }
public static uint ReadUint(Stream str)
{
|