mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 09:19:17 +01:00
25946236ab
*Fixed apply on theme downloader after redownloading a theme *Removed old theme changing menu (no one ever found it anyway) NOTE: If a theme now includes a "theme_preview.png" in the image folder, it will be shown in the Theme Menu. If it does not have one than when downloading a theme, the loader will copy the preview from the theme downloader to the theme image folder. NOTE to Themers: Just fyi, if you badly need to use another format than png for the images whyever, than just do so. Just rename the file from the actual format extension to .png extension. The loader will detect that it is not really a png and use the correct format. Supported image formats by USB Loader GX are png/gif/bmp/jpg/tpl.
50 lines
994 B
C
50 lines
994 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 "libwiigui/gui.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_INSTALL,
|
|
MENU_GAME_SETTINGS,
|
|
MENU_HOMEBREWBROWSE,
|
|
BOOTHOMEBREW,
|
|
MENU_THEMEDOWNLOADER,
|
|
MENU_THEMEMENU,
|
|
};
|
|
|
|
void ResumeGui();
|
|
void HaltGui();
|
|
|
|
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
|