2009-05-03 20:53:31 +02:00
|
|
|
/****************************************************************************
|
|
|
|
* 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>
|
2011-06-14 19:53:19 +02:00
|
|
|
#include "GUI/gui.h"
|
2011-12-28 17:27:30 +01:00
|
|
|
#include "Controls/WiiPointer.h"
|
2010-09-19 22:25:12 +02:00
|
|
|
#include "settings/CSettings.h"
|
2009-06-05 00:13:39 +02:00
|
|
|
#include "main.h"
|
2009-05-03 20:53:31 +02:00
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
void InitGUIThreads(void);
|
|
|
|
void ExitGUIThreads(void);
|
2009-06-01 17:50:18 +02:00
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
int MainMenu(int menuitem);
|
2009-07-30 07:41:12 +02:00
|
|
|
|
2010-09-19 01:16:05 +02:00
|
|
|
enum
|
|
|
|
{
|
2011-07-26 00:28:22 +02:00
|
|
|
MENU_EXIT = -1,
|
|
|
|
MENU_NONE,
|
|
|
|
MENU_SETTINGS,
|
|
|
|
MENU_DISCLIST,
|
|
|
|
MENU_GAME_SETTINGS,
|
|
|
|
MENU_HOMEBREWBROWSE,
|
|
|
|
BOOTHOMEBREW,
|
|
|
|
MENU_THEMEMENU,
|
2009-05-03 20:53:31 +02:00
|
|
|
};
|
2010-11-06 16:30:14 +01:00
|
|
|
|
|
|
|
void ResumeGui();
|
|
|
|
void HaltGui();
|
|
|
|
|
2011-12-28 17:27:30 +01:00
|
|
|
extern WiiPointer *pointer[4];
|
2010-11-06 16:30:14 +01: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 20:53:31 +02:00
|
|
|
#endif
|