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