GUI: Use ATTRIBUTE_FORMAT on GUIFontPrintf

This commit is contained in:
Jeffrey Pfau 2015-08-30 22:20:46 -07:00
parent e6429cc8a2
commit 416b1a13f4
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ unsigned GUIFontHeight(const struct GUIFont*);
unsigned GUIFontGlyphWidth(const struct GUIFont*, uint32_t glyph);
unsigned GUIFontSpanWidth(const struct GUIFont*, const char* text);
ATTRIBUTE_FORMAT(printf, 6, 7)
void GUIFontPrintf(const struct GUIFont*, int x, int y, enum GUITextAlignment, uint32_t color, const char* text, ...);
void GUIFontPrint(const struct GUIFont*, int x, int y, enum GUITextAlignment, uint32_t color, const char* text);
void GUIFontDrawGlyph(const struct GUIFont*, int x, int y, uint32_t color, uint32_t glyph);