IGlyphCache.Contains should return bool, not void.

GlyphCache now implements the IGlyphCache interface.
This commit is contained in:
the_fiddler 2008-11-25 22:19:42 +00:00
parent afa76c9894
commit a26b75f3af
2 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@ using System.Drawing;
namespace OpenTK.Graphics.Text namespace OpenTK.Graphics.Text
{ {
class GlyphCache// : IGlyphCache class GlyphCache : IGlyphCache
{ {
#region Fields #region Fields
@ -56,7 +56,7 @@ namespace OpenTK.Graphics.Text
#endregion #endregion
#region Public Members #region IGlyphCache Members
public void Add(Glyph glyph) public void Add(Glyph glyph)
{ {

View file

@ -30,7 +30,7 @@ namespace OpenTK.Graphics.Text
interface IGlyphCache interface IGlyphCache
{ {
void Add(Glyph glyph); void Add(Glyph glyph);
void Contains(Glyph glyph); bool Contains(Glyph glyph);
CachedGlyphInfo this[Glyph glyph] { get; } CachedGlyphInfo this[Glyph glyph] { get; }
} }
} }