diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-08-11 19:01:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-11 19:01:47 -0400 |
commit | 80348e7188f64036171d57512defdd7321aec00b (patch) | |
tree | 517139fce4979f7dda50b1216968caa63fc5d0e6 /include/menu_helpers.h | |
parent | 28a8fe191af71a71d45afb93480dc59f98e790cf (diff) | |
parent | cc516274650bfc21437003c16bb793a43d190a41 (diff) |
Merge branch 'master' into doc-itemmenu2
Diffstat (limited to 'include/menu_helpers.h')
-rw-r--r-- | include/menu_helpers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/menu_helpers.h b/include/menu_helpers.h index b9b9e2d80..1434efcf3 100644 --- a/include/menu_helpers.h +++ b/include/menu_helpers.h @@ -32,8 +32,8 @@ bool8 IsHoldingItemAllowed(u16 itemId); bool8 IsWritingMailAllowed(u16 itemId); bool8 MenuHelpers_LinkSomething(void); bool8 MenuHelpers_CallLinkSomething(void); -void sub_812220C(struct ItemSlot *slots, u8 count, u8 *arg2, u8 *usedSlotsCount, u8 maxUsedSlotsCount); -void sub_812225C(u16 *scrollOffset, u16 *cursorPos, u8 maxShownItems, u8 numItems); +void SetItemListPerPageCount(struct ItemSlot *slots, u8 slotsCount, u8 *pageItems, u8 *totalItems, u8 maxPerPage); +void SetCursorWithinListBounds(u16 *scrollOffset, u16 *cursorPos, u8 maxShownItems, u8 totalItems); void SetCursorScrollWithinListBounds(u16 *scrollOffset, u16 *cursorPos, u8 shownItems, u8 totalItems, u8 maxShownItems); void LoadListMenuSwapLineGfx(void); void CreateSwapLineSprites(u8 *spriteIds, u8 count); |