mirror of
https://github.com/love2d/love.git
synced 2026-08-19 12:14:20 +02:00
Removed more unnecessary tabs in blank lines
This commit is contained in:
@@ -125,14 +125,14 @@ public:
|
||||
* Returns the spacing modifier.
|
||||
**/
|
||||
float getSpacing() const;
|
||||
|
||||
|
||||
void setFilter(const Image::Filter &f);
|
||||
Image::Filter getFilter();
|
||||
|
||||
// Implements Volatile.
|
||||
bool loadVolatile();
|
||||
void unloadVolatile();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
enum FontType
|
||||
@@ -154,13 +154,13 @@ private:
|
||||
int spacing;
|
||||
GlyphQuad quad;
|
||||
};
|
||||
|
||||
|
||||
// used to determine when to change textures in the vertex array generated when printing text
|
||||
struct GlyphArrayDrawInfo
|
||||
{
|
||||
GLuint texture;
|
||||
int startquad, numquads;
|
||||
|
||||
|
||||
// used when sorting with std::sort
|
||||
// sorts by texture first (binding textures is expensive) and relative position in memory second
|
||||
bool operator < (const GlyphArrayDrawInfo &other) const
|
||||
@@ -177,16 +177,16 @@ private:
|
||||
int height;
|
||||
float lineHeight;
|
||||
float mSpacing; // modifies the spacing by multiplying it with this value
|
||||
|
||||
|
||||
int texture_size_index;
|
||||
int texture_width;
|
||||
int texture_height;
|
||||
|
||||
|
||||
std::vector<GLuint> textures; // vector of packed textures
|
||||
std::map<int, Glyph *> glyphs; // maps glyphs to quad information
|
||||
FontType type;
|
||||
Image::Filter filter;
|
||||
|
||||
|
||||
static const int NUM_TEXTURE_SIZES = 7;
|
||||
static const int TEXTURE_WIDTHS[NUM_TEXTURE_SIZES];
|
||||
static const int TEXTURE_HEIGHTS[NUM_TEXTURE_SIZES];
|
||||
|
||||
Reference in New Issue
Block a user