mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-14 20:15:34 +00:00
25 lines
476 B
C#
25 lines
476 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace OpenTK.Graphics.Text
|
|
{
|
|
class TextBlockComparer : IComparer<TextBlock>
|
|
{
|
|
#region Constructors
|
|
|
|
public TextBlockComparer() { }
|
|
|
|
#endregion
|
|
|
|
#region IComparer<TextBlock> Members
|
|
|
|
public int Compare(TextBlock x, TextBlock y)
|
|
{
|
|
return x.UsageCount.CompareTo(y.UsageCount);
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|