mirror of
https://github.com/pret/pokediamond.git
synced 2026-08-07 11:14:05 -05:00
22 lines
797 B
C
22 lines
797 B
C
#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
|