usbloadergx/source/menu.h
dimok321 fa11a745d6 A lot of changes with this rev
*Rewrote the whole Settings.cpp into 11 classes. Each settings menu has it's own class now
*Reworked the whole sound system. Supported formats AIF/MP3/OGG/BNS/WAV now with no file size limit (streaming).
*Changed button click/over sounds to wav from raw pcm
*Lot's of bug fixes
2010-11-13 22:34:53 +00:00

50 lines
1.0 KiB
C

/****************************************************************************
* libwiigui Template
* Tantric 2009
*
* menu.h
* Menu flow routines - handles all menu logic
***************************************************************************/
#ifndef _MENU_H_
#define _MENU_H_
#include <ogcsys.h>
#include "libwiigui/gui.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_INSTALL,
MENU_GAME_SETTINGS,
MENU_HOMEBREWBROWSE,
BOOTHOMEBREW,
MENU_THEMEDOWNLOADER
};
void ResumeGui();
void HaltGui();
GuiImageData *LoadCoverImage(struct discHdr *header, bool Prefere3D = true, bool noCover = true);
extern GuiImageData *pointer[4];
extern GuiImageData *background;
extern GuiImage *bgImg;
extern GuiWindow *mainWindow;
extern GuiText *GameRegionTxt;
extern GuiText *GameIDTxt;
extern GuiImageData *cover;
extern GuiImage *coverImg;
extern FreeTypeGX *fontSystem;
#endif