summaryrefslogtreecommitdiff
path: root/GfxEditor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'GfxEditor.cs')
-rw-r--r--GfxEditor.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/GfxEditor.cs b/GfxEditor.cs
index d1249e6..0b09ce3 100644
--- a/GfxEditor.cs
+++ b/GfxEditor.cs
@@ -580,6 +580,16 @@ namespace BitmapFontEd
}
}
+ public Color SelectedForeground
+ {
+ get {return m_fgPreview.BackColor;}
+ }
+
+ public Color SelectedBackground
+ {
+ get {return m_bgPreview.BackColor;}
+ }
+
#endregion
// -------------------------------------------------------
@@ -1025,6 +1035,7 @@ namespace BitmapFontEd
m_grid=Math.Min(SIZE/m_width,SIZE/m_height);
m_mx=m_width*m_grid;
+ m_my=m_height*m_grid;
DrawGrid();
DrawChar();
@@ -1043,6 +1054,7 @@ namespace BitmapFontEd
m_grid=Math.Min(SIZE/m_width,SIZE/m_height);
+ m_mx=m_width*m_grid;
m_my=m_height*m_grid;
DrawGrid();