Add missing cursorKind field usage

This commit is contained in:
GriffinR 2022-11-09 15:37:47 -05:00
parent 1d1c2d41bb
commit 431a7ef8dd
2 changed files with 7 additions and 5 deletions

View file

@ -314,8 +314,9 @@ static const struct ListMenuTemplate sDecorationItemsListMenuTemplate =
.cursorShadowPal = 3, .cursorShadowPal = 3,
.lettersSpacing = FALSE, .lettersSpacing = FALSE,
.itemVerticalPadding = 0, .itemVerticalPadding = 0,
.scrollMultiple = FALSE, .scrollMultiple = LIST_NO_MULTIPLE_SCROLL,
.fontId = FONT_NARROW .fontId = FONT_NARROW,
.cursorKind = CURSOR_BLACK_ARROW,
}; };
#include "data/decoration/icon.h" #include "data/decoration/icon.h"
@ -890,7 +891,7 @@ static void PrintDecorationItemMenuItems(u8 taskId)
StringCopy(sDecorationItemsMenu->names[i], gText_Cancel); StringCopy(sDecorationItemsMenu->names[i], gText_Cancel);
sDecorationItemsMenu->items[i].name = sDecorationItemsMenu->names[i]; sDecorationItemsMenu->items[i].name = sDecorationItemsMenu->names[i];
sDecorationItemsMenu->items[i].id = -2; sDecorationItemsMenu->items[i].id = LIST_CANCEL;
gMultiuseListMenuTemplate = sDecorationItemsListMenuTemplate; gMultiuseListMenuTemplate = sDecorationItemsListMenuTemplate;
gMultiuseListMenuTemplate.windowId = sDecorMenuWindowIds[WINDOW_DECORATION_CATEGORIES]; gMultiuseListMenuTemplate.windowId = sDecorMenuWindowIds[WINDOW_DECORATION_CATEGORIES];
gMultiuseListMenuTemplate.totalItems = sDecorationItemsMenu->numMenuItems; gMultiuseListMenuTemplate.totalItems = sDecorationItemsMenu->numMenuItems;

View file

@ -290,8 +290,9 @@ static const struct ListMenuTemplate sListMenuTemplate_ItemStorage =
.cursorShadowPal = 3, .cursorShadowPal = 3,
.lettersSpacing = FALSE, .lettersSpacing = FALSE,
.itemVerticalPadding = 0, .itemVerticalPadding = 0,
.scrollMultiple = FALSE, .scrollMultiple = LIST_NO_MULTIPLE_SCROLL,
.fontId = FONT_NARROW .fontId = FONT_NARROW,
.cursorKind = CURSOR_BLACK_ARROW,
}; };
static const struct WindowTemplate sWindowTemplates_ItemStorage[ITEMPC_WIN_COUNT] = static const struct WindowTemplate sWindowTemplates_ItemStorage[ITEMPC_WIN_COUNT] =