summaryrefslogtreecommitdiff
path: root/include/text.h
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-09-23 20:36:00 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2017-09-23 20:36:00 +0200
commit7bb0fcf182e5a760ab9e08878a381566819dc8f2 (patch)
treebbb0603d41fa6d0d71a838c7e2fde85fe346fbe1 /include/text.h
parent601fc9e85b383792819768c31728e4855e854f32 (diff)
parenta57915fa5bd8c2e68bc291a371e66e3cafd7e195 (diff)
merge with master and fix conflicts
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 f584b61ea..dba409f37 100644
--- a/include/text.h
+++ b/include/text.h
@@ -195,9 +195,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);