usbloadergx/source/menu.h
strtoul a66a30a771 *removed buggy focus system completely (it was never working correct)
*added support to control screen pointer with gc pad or classic controller. you are always able to control as long as the corresponding wii control does not point to the screen (e.g. wiimote 1 not pointing to screen -> gcpad/classic controller 1 can control pointer 1). a speed factor is added to the gui option. need feedback about a proper default value, currently 15% (only tested gc pad on dolphin-emu)
*fix reinit of cheatcount on download of new file
*moved installation window to be on top of main window
*added game installation cancel
*added nand extract cancel
*added back extract of save feature for a real nand channels
*added auto position of progress window messages in vertical direction depending of how many are used at the same time
2011-12-28 16:27:30 +00:00

50 lines
974 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 "GUI/gui.h"
#include "Controls/WiiPointer.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_GAME_SETTINGS,
MENU_HOMEBREWBROWSE,
BOOTHOMEBREW,
MENU_THEMEDOWNLOADER,
MENU_THEMEMENU,
};
void ResumeGui();
void HaltGui();
extern WiiPointer *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