2009-05-03 14:53:31 -04:00
|
|
|
/****************************************************************************
|
|
|
|
* libwiigui Template
|
|
|
|
* Tantric 2009
|
|
|
|
*
|
|
|
|
* menu.h
|
|
|
|
* Menu flow routines - handles all menu logic
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _MENU_H_
|
|
|
|
#define _MENU_H_
|
|
|
|
|
2009-06-12 20:24:36 -04:00
|
|
|
#include <ogcsys.h>
|
2011-06-14 13:53:19 -04:00
|
|
|
#include "GUI/gui.h"
|
2011-12-28 13:27:30 -03:00
|
|
|
#include "Controls/WiiPointer.h"
|
2010-09-19 16:25:12 -04:00
|
|
|
#include "settings/CSettings.h"
|
2009-06-04 18:13:39 -04:00
|
|
|
#include "main.h"
|
2009-05-03 14:53:31 -04:00
|
|
|
|
2010-09-23 20:48:03 -04:00
|
|
|
void InitGUIThreads(void);
|
|
|
|
void ExitGUIThreads(void);
|
2009-06-01 11:50:18 -04:00
|
|
|
|
2010-09-23 20:48:03 -04:00
|
|
|
int MainMenu(int menuitem);
|
2009-07-30 01:41:12 -04:00
|
|
|
|
2010-09-18 19:16:05 -04:00
|
|
|
enum
|
|
|
|
{
|
2011-07-25 18:28:22 -04:00
|
|
|
MENU_EXIT = -1,
|
|
|
|
MENU_NONE,
|
|
|
|
MENU_SETTINGS,
|
|
|
|
MENU_DISCLIST,
|
|
|
|
MENU_GAME_SETTINGS,
|
|
|
|
MENU_HOMEBREWBROWSE,
|
|
|
|
BOOTHOMEBREW,
|
|
|
|
MENU_THEMEMENU,
|
2009-05-03 14:53:31 -04:00
|
|
|
};
|
2010-11-06 12:30:14 -03:00
|
|
|
|
|
|
|
void ResumeGui();
|
|
|
|
void HaltGui();
|
|
|
|
|
2011-12-28 13:27:30 -03:00
|
|
|
extern WiiPointer *pointer[4];
|
2010-11-06 12:30:14 -03:00
|
|
|
extern GuiImageData *background;
|
|
|
|
extern GuiImage *bgImg;
|
|
|
|
extern GuiWindow *mainWindow;
|
|
|
|
extern GuiText *GameRegionTxt;
|
|
|
|
extern GuiText *GameIDTxt;
|
|
|
|
extern GuiImageData *cover;
|
|
|
|
extern GuiImage *coverImg;
|
|
|
|
extern FreeTypeGX *fontSystem;
|
|
|
|
|
2009-05-03 14:53:31 -04:00
|
|
|
#endif
|