mirror of
https://github.com/pret/pokediamond.git
synced 2026-04-22 21:12:38 -05:00
21 lines
790 B
C
21 lines
790 B
C
#ifndef POKEDIAMOND_LIST_MENU_ITEMS_H
|
|
#define POKEDIAMOND_LIST_MENU_ITEMS_H
|
|
|
|
#include "msgdata.h"
|
|
#include "string16.h"
|
|
|
|
struct ListMenuItem {
|
|
struct String *text;
|
|
s32 value;
|
|
};
|
|
|
|
struct ListMenuItem *ListMenuItems_New(u32 count, HeapID heapId);
|
|
void ListMenuItems_Delete(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, HeapID *heapIdPtr);
|
|
void ListMenuItems_DestroyMenuStrings(struct ListMenuItem *items);
|
|
|
|
#endif // POKEDIAMOND_LIST_MENU_ITEMS_H
|