mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 17:29:17 +01:00
4f7ccef2ec
*Added initialized too all the cheat variables (that was bad...i wonder how it didn't go wrong) *Corrected several theme texts (x, y position mistype) *Added "Default" button to theme downloader to reset the theme *Fixed bug in loading language file with fresh configs *Fixed display of theme path in custom path options *Fixed rockout reset after leaving the GameWindowPrompt *Added limit to page indicators to 5 and rotate them
33 lines
978 B
C++
33 lines
978 B
C++
#ifndef _THEME_DOWNLOADER_H_
|
|
#define _THEME_DOWNLOADER_H_
|
|
|
|
#include "settings/menus/FlyingButtonsMenu.hpp"
|
|
#include "themes/Theme_List.h"
|
|
|
|
class ThemeDownloader : public FlyingButtonsMenu
|
|
{
|
|
public:
|
|
ThemeDownloader();
|
|
~ThemeDownloader();
|
|
static int Run();
|
|
int MainLoop();
|
|
protected:
|
|
void CreateSettingsMenu(int index) { MainButtonClicked(index); };
|
|
void MainButtonClicked(int button);
|
|
void AddMainButtons();
|
|
void SetupMainButtons();
|
|
void SetMainButton(int position, const char * ButtonText, GuiImageData * imageData, GuiImageData * imageOver);
|
|
GuiImageData * GetImageData(int theme);
|
|
int DownloadTheme(const char *url, const char *title);
|
|
|
|
Theme_List * ThemeList;
|
|
GuiText * urlTxt;
|
|
GuiText * defaultBtnTxt;
|
|
GuiImage * defaultBtnImg;
|
|
GuiButton * defaultBtn;
|
|
GuiImageData * ThemePreviews[4];
|
|
std::string ThemeListURL;
|
|
};
|
|
|
|
#endif
|