From 33017193d2ca0b7b18e65526f93feb2fe3bfec46 Mon Sep 17 00:00:00 2001 From: Ian C Date: Sat, 21 May 2005 01:28:48 +0000 Subject: Changed so that editing allows alpha to be used. Font import still not working correctly. --- MainForm.cs | 41 +++++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 22 deletions(-) (limited to 'MainForm.cs') diff --git a/MainForm.cs b/MainForm.cs index efc34c5..6a48840 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -913,10 +913,9 @@ namespace BitmapFontEd void OnGlow(object sender, System.EventArgs e) { - ColorDialog d=new ColorDialog(); + AlphaColourDialog d=new AlphaColourDialog("Select Glow Colour"); d.Color=m_glowCol; - d.FullOpen=true; if (d.ShowDialog()==DialogResult.OK) { @@ -944,31 +943,27 @@ namespace BitmapFontEd { int x,y; int mx,my; - bool found; - - //System.Diagnostics.Debugger.Break(); c.Clear(m_edit.BackColor); - found=false; + mx=Int32.MinValue; + my=Int32.MinValue; - for(my=GfxEditor.MAX_SIZE-1;my>=0 && !found;my--) - for(x=0;x=0 && !found;mx--) - for(y=0;y