summaryrefslogtreecommitdiff
path: root/include/text.h
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-09-20 23:37:59 -0400
committerGitHub <noreply@github.com>2017-09-20 23:37:59 -0400
commited9e0e20547e2c96833cddea67c6b423ef7af7ef (patch)
treee9666a04c3fd57eedd27a341a94fcf57150fd822 /include/text.h
parent40c1e81d03f4e4fc21675564ca5b879a577a399e (diff)
parent27903a102b3b99da6fb8f0a18957598bff65b428 (diff)
Merge pull request #37 from PikalaxALT/berry_fix_program
Berry fix program
Diffstat (limited to 'include/text.h')
-rw-r--r--include/text.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/text.h b/include/text.h
index 73e6e5437..c61f6cc98 100644
--- a/include/text.h
+++ b/include/text.h
@@ -186,9 +186,9 @@ bool8 TextPrinterWaitWithDownArrow(struct TextPrinter *textPrinter);
bool8 TextPrinterWait(struct TextPrinter *textPrinter);
void DrawDownArrow(u8 windowId, u16 x, u16 y, u8 bgColor, bool8 drawArrow, u8 *counter, u8 *yCoordIndex);
u16 RenderText(struct TextPrinter *textPrinter);
-u32 GetStringWidthFixedWidthFont(u8 *str, u8 fontId, u8 letterSpacing);
+u32 GetStringWidthFixedWidthFont(const u8 *str, u8 fontId, u8 letterSpacing);
u32 (*GetFontWidthFunc(u8 glyphId))(u16, bool32);
-s32 GetStringWidth(u8 fontId, u8 *str, s16 letterSpacing);
+u32 GetStringWidth(u8 fontId, const u8 *str, s16 letterSpacing);
u8 RenderTextFont9(u8 *pixels, u8 fontId, u8 *str);
u8 DrawKeypadIcon(u8 windowId, u8 keypadIconId, u16 x, u16 y);
u8 GetKeypadIconTileOffset(u8 keypadIconId);