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

38 lines
714 B
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//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
}
}