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