mirror of
https://github.com/rvtr/TDT.git
synced 2025-10-31 13:51:07 -04:00
Delete menu.h
This commit is contained in:
parent
a1d9a74865
commit
977ea6e7de
42
src/menu.h
42
src/menu.h
@ -1,42 +0,0 @@
|
||||
#ifndef MENU_H
|
||||
#define MENU_H
|
||||
|
||||
#include <nds/ndstypes.h>
|
||||
|
||||
void titleMenu();
|
||||
void installMenu();
|
||||
void testMenu();
|
||||
|
||||
#define NUM_OF_ITEMS 100
|
||||
|
||||
typedef struct {
|
||||
char label[32+1];
|
||||
} MenuItem;
|
||||
|
||||
typedef struct {
|
||||
int cursor;
|
||||
int scrolly;
|
||||
int numberOfItems;
|
||||
MenuItem items[NUM_OF_ITEMS];
|
||||
} Menu;
|
||||
|
||||
void clearMenu(Menu* m);
|
||||
void printMenu(Menu* m);
|
||||
|
||||
int getMenuCursor(Menu* m);
|
||||
int getNumberOfMenuItems(Menu* m);
|
||||
bool moveCursor(Menu* m);
|
||||
|
||||
void addMenuItem(Menu* m, char* label);
|
||||
|
||||
enum {
|
||||
YES = true,
|
||||
NO = false
|
||||
};
|
||||
|
||||
void keyWait(u32 key);
|
||||
bool choiceBox(char* message);
|
||||
bool choicePrint(char* message);
|
||||
void messageBox(char* message);
|
||||
|
||||
#endif
|
||||
Loading…
Reference in New Issue
Block a user