Browse Source

REVIEWED: Font struct, added charsPadding #1432 -WIP-

Not implemented usage of this variable yet but already setup for the future... some functions require review to consider it on drawing...
Ray 4 years ago
parent
commit
5f690819e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/raylib.h

+ 1 - 1
src/raylib.h

@@ -275,7 +275,7 @@ typedef struct CharInfo {
 typedef struct Font {
 typedef struct Font {
     int baseSize;           // Base size (default chars height)
     int baseSize;           // Base size (default chars height)
     int charsCount;         // Number of characters
     int charsCount;         // Number of characters
-    //int charsPadding;       // Padding around the chars
+    int charsPadding;       // Padding around the chars
     Texture2D texture;      // Characters texture atlas
     Texture2D texture;      // Characters texture atlas
     Rectangle *recs;        // Characters rectangles in texture
     Rectangle *recs;        // Characters rectangles in texture
     CharInfo *chars;        // Characters info data
     CharInfo *chars;        // Characters info data