2009-05-03 18:53:31 +00:00
|
|
|
/****************************************************************************
|
|
|
|
* libwiigui Template
|
|
|
|
* Tantric 2009
|
|
|
|
*
|
|
|
|
* menu.h
|
|
|
|
* Menu flow routines - handles all menu logic
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _MENU_H_
|
|
|
|
#define _MENU_H_
|
|
|
|
|
2009-06-13 00:24:36 +00:00
|
|
|
#include <ogcsys.h>
|
2009-07-30 05:41:12 +00:00
|
|
|
#include "settings/cfg.h"
|
2009-06-04 22:13:39 +00:00
|
|
|
#include "main.h"
|
2009-05-03 18:53:31 +00:00
|
|
|
|
2009-06-01 15:50:18 +00:00
|
|
|
void InitGUIThreads(void);
|
2009-07-30 05:41:12 +00:00
|
|
|
void ExitGUIThreads(void);
|
2009-06-01 15:50:18 +00:00
|
|
|
|
2009-07-30 05:41:12 +00:00
|
|
|
int MainMenu (int menuitem);
|
|
|
|
|
|
|
|
enum {
|
|
|
|
MENU_EXIT = -1,
|
|
|
|
MENU_NONE,
|
|
|
|
MENU_SETTINGS,
|
|
|
|
MENU_DISCLIST,
|
|
|
|
MENU_FORMAT,
|
|
|
|
MENU_INSTALL,
|
|
|
|
MENU_CHECK,
|
|
|
|
MENU_GAME_SETTINGS,
|
|
|
|
MENU_HOMEBREWBROWSE,
|
2009-10-21 19:32:46 +00:00
|
|
|
BOOTHOMEBREW,
|
|
|
|
MENU_THEMEDOWNLOADER
|
2009-05-03 18:53:31 +00:00
|
|
|
};
|
2009-09-27 18:19:53 +00:00
|
|
|
class GuiImageData;
|
|
|
|
GuiImageData *LoadCoverImage(struct discHdr *header, bool Prefere3D=true, bool noCover=true);
|
2009-11-09 23:03:13 +00:00
|
|
|
class GuiSound;
|
|
|
|
extern GuiSound *btnClick2;
|
2009-05-03 18:53:31 +00:00
|
|
|
#endif
|