mirror of https://github.com/mgba-emu/mgba.git
GUI: Use ATTRIBUTE_FORMAT on GUIFontPrintf
This commit is contained in:
parent
e6429cc8a2
commit
416b1a13f4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue