From cac0e5a6f3baeaa2e891677c79bba00ff3c44e1a Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 18 May 2005 01:34:00 +0000 Subject: Development changes --- Util.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Util.cs') diff --git a/Util.cs b/Util.cs index c7a6b0e..bd9b414 100644 --- a/Util.cs +++ b/Util.cs @@ -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) { -- cgit v1.2.3