فهرست منبع

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 سال پیش
والد
کامیت
5f690819e7
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/raylib.h

+ 1 - 1
src/raylib.h

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