diff options
author | Rémi Calixte <remicalixte.rmc@gmail.com> | 2021-05-23 06:47:12 +0200 |
---|---|---|
committer | Rémi Calixte <remicalixte.rmc@gmail.com> | 2021-05-23 06:47:12 +0200 |
commit | 4ea5a0c4aa1605f625d860f55894ac656bdcbd49 (patch) | |
tree | c7f40d9e03335c1b29980a8b79bf2ddb51764a5f /include/list_menu_items.h | |
parent | 412bd487ed5513e52ad47f6eb3709b4d1aab1353 (diff) | |
parent | 121208bd6db271ae766a614da82fa00498bb7856 (diff) |
Merge branch 'master' into unk_02016B94
Diffstat (limited to 'include/list_menu_items.h')
-rw-r--r-- | include/list_menu_items.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/list_menu_items.h b/include/list_menu_items.h new file mode 100644 index 00000000..ec96d480 --- /dev/null +++ b/include/list_menu_items.h @@ -0,0 +1,21 @@ +#ifndef POKEDIAMOND_LIST_MENU_ITEMS_H +#define POKEDIAMOND_LIST_MENU_ITEMS_H + +#include "string16.h" +#include "msgdata.h" + +struct ListMenuItem +{ + struct String * text; + s32 value; +}; + +struct ListMenuItem * ListMenuItems_ctor(u32 count, u32 heap_id); +void ListMenuItems_dtor(struct ListMenuItem * items); +void ListMenuItems_AppendFromMsgData(struct ListMenuItem * items, struct MsgData * msgData, u32 msgNo, s32 value); +void ListMenuItems_AddItem(struct ListMenuItem * items, struct String * str, s32 value); +void ListMenuItems_CopyItem(struct ListMenuItem * items, struct ListMenuItem * src); +struct ListMenuItem * ListMenuItems_SeekEnd(struct ListMenuItem * items, u32 * heap_id_p); +void ListMenuItems_DestroyMenuStrings(struct ListMenuItem * items); + +#endif // POKEDIAMOND_LIST_MENU_ITEMS_H |