f3ef9104b1
*Moved all related global settings to a settings class. one for themes and individual games will follow. Probably broke some settings or theme loading, we can deal with that later and fix when someone discovers bugs.
39 lines
849 B
C++
39 lines
849 B
C++
/****************************************************************************
|
|
* libwiigui Template
|
|
* Tantric 2009
|
|
*
|
|
* menu.h
|
|
* Menu flow routines - handles all menu logic
|
|
***************************************************************************/
|
|
|
|
#ifndef _MENU_H_
|
|
#define _MENU_H_
|
|
|
|
#include <ogcsys.h>
|
|
#include "settings/CSettings.h"
|
|
#include "main.h"
|
|
|
|
void InitGUIThreads( void );
|
|
void ExitGUIThreads( void );
|
|
|
|
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,
|
|
BOOTHOMEBREW,
|
|
MENU_THEMEDOWNLOADER
|
|
};
|
|
class GuiImageData;
|
|
GuiImageData *LoadCoverImage( struct discHdr *header, bool Prefere3D = true, bool noCover = true );
|
|
class GuiSound;
|
|
extern GuiSound *btnClick2;
|
|
#endif
|