usbloadergx/source/menu.h

50 lines
1.0 KiB
C
Raw Normal View History

/****************************************************************************
* 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>
#include "libwiigui/gui.h"
#include "settings/CSettings.h"
#include "main.h"
2010-09-24 02:48:03 +02:00
void InitGUIThreads(void);
void ExitGUIThreads(void);
2010-09-24 02:48:03 +02:00
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();
2010-09-24 02:48:03 +02:00
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