BizHawk/Bizware/BizHawk.Bizware.BizwareGL/Borrowed/BitmapFontParser/Page.cs

38 lines
714 B
C#
Raw Normal View History

2014-01-27 00:02:21 +00:00
//public domain assumed from cyotek.com
using System.IO;
namespace Cyotek.Drawing.BitmapFont
{
public struct Page
{
#region  Public Constructors
public Page(int id, string fileName)
: this()
{
this.FileName = fileName;
this.Id = id;
}
#endregion  Public Constructors
#region  Public Methods
public override string ToString()
{
return string.Format("{0} ({1})", this.Id, Path.GetFileName(this.FileName));
}
#endregion  Public Methods
#region  Public Properties
public string FileName { get; set; }
public int Id { get; set; }
#endregion  Public Properties
}
}