summaryrefslogtreecommitdiff
path: root/include/menu.h
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-06-14 00:05:22 -0400
committerGitHub <noreply@github.com>2017-06-14 00:05:22 -0400
commit48a15638c63f2b3d4b2d12d346e466ddca006570 (patch)
tree89942e8cf1e40968b48759bf2b4e575912a2271b /include/menu.h
parente09e1da6c252e17cf6db429ad142b05dbf156548 (diff)
parent4e7297790f29987b1dd502fcf3b03ca76042c622 (diff)
Merge pull request #316 from PikalaxALT/decoration
Decoration
Diffstat (limited to 'include/menu.h')
-rw-r--r--include/menu.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/menu.h b/include/menu.h
index cb5efa448..98d7afcc3 100644
--- a/include/menu.h
+++ b/include/menu.h
@@ -9,6 +9,18 @@ struct MenuAction
u8 (*func)();
};
+struct MenuAction2
+{
+ const u8 *text;
+ void (*func)(u8);
+};
+
+struct MenuAction3
+{
+ void (*func1)(u8);
+ void (*func2)(u8);
+};
+
void CloseMenu(void);
void AppendToList(u8 *list, u8 *pindex, u32 value);
void InitMenuWindow(const struct WindowConfig *);
@@ -52,7 +64,7 @@ s8 ProcessMenuInputNoWrap_(void);
u8 MenuPrint_PixelCoords(const u8 *, u8, u16, u8);
u8 sub_8072A18(const u8 *, u8, u16, u8, u32);
u8 unref_sub_8072A5C(u8 *, u8 *, u8, u16, u8, u32);
-int sub_8072AB0(u8 *, u8, u16, u8, u8, u32);
+int sub_8072AB0(const u8 *, u8, u16, u8, u8, u32);
void MenuPrint_RightAligned(u8 *, u8, u8);
void sub_8072B80(u8 *, u8, u8, u8 *);
void sub_8072BD8(const u8 *, u8, u8, u16);