mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Renamed ParticleSystem:count, Channel:count, and all getNum* functions to get*Count (issue #602)
This commit is contained in:
@@ -146,7 +146,7 @@ void ImageRasterizer::load()
|
||||
}
|
||||
}
|
||||
|
||||
int ImageRasterizer::getNumGlyphs() const
|
||||
int ImageRasterizer::getGlyphCount() const
|
||||
{
|
||||
return numglyphs;
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
// Implement Rasterizer
|
||||
virtual int getLineHeight() const;
|
||||
virtual GlyphData *getGlyphData(unsigned int glyph) const;
|
||||
virtual int getNumGlyphs() const;
|
||||
virtual int getGlyphCount() const;
|
||||
|
||||
private:
|
||||
// Load all the glyph positions into memory
|
||||
|
||||
@@ -87,7 +87,7 @@ public:
|
||||
/**
|
||||
* Gets the number of glyphs the rasterizer has data for.
|
||||
**/
|
||||
virtual int getNumGlyphs() const = 0;
|
||||
virtual int getGlyphCount() const = 0;
|
||||
|
||||
|
||||
}; // Rasterizer
|
||||
|
||||
@@ -106,7 +106,7 @@ GlyphData *TrueTypeRasterizer::getGlyphData(unsigned int glyph) const
|
||||
return glyphData;
|
||||
}
|
||||
|
||||
int TrueTypeRasterizer::getNumGlyphs() const
|
||||
int TrueTypeRasterizer::getGlyphCount() const
|
||||
{
|
||||
return face->num_glyphs;
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ public:
|
||||
// Implement Rasterizer
|
||||
virtual int getLineHeight() const;
|
||||
virtual GlyphData *getGlyphData(unsigned int glyph) const;
|
||||
virtual int getNumGlyphs() const;
|
||||
virtual int getGlyphCount() const;
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user