usbloadergx/source/menu.h
dimok321 15bcbfa482 *Finished the background initialization thread for devices started by giantpune and merged it into trunk. Now you can startup the loader without a HDD. Also you can put in your device after startup and it will be recognized. Hot swapping not yet added (as in remove and than stick it in).
You will see the list of available channels on your system if you start without a HDD or if your HDD is slow and is being recognized late. The list of games is than reloading as soon as it is recognized.
*Hot swapping of the SD card was implemented into background thread (by giantpune)
*Made lots of cleanups and some fixes
*Format menu was moved to settings page 3 (only on godmode accessable)
*Added ScreenShot and Reset/Shutdown call to background thread. Removed the not needed ones. Now you can call for Screenshot/Reset/Shutdown anywhere in the loader (after gui is started).
2010-01-06 23:07:35 +00:00

42 lines
902 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/cfg.h"
#include "main.h"
void InitGUIThreads(void);
void ExitGUIThreads(void);
void ResumeGui();
void HaltGui();
void menuBootgame(const char *headless);
int MainMenu (int menu);
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