2010-12-31 00:49:22 +01:00
|
|
|
#ifndef STARTUPPROCESS_H_
|
|
|
|
#define STARTUPPROCESS_H_
|
|
|
|
|
2011-06-14 19:53:19 +02:00
|
|
|
#include "GUI/gui.h"
|
2010-12-31 00:49:22 +01:00
|
|
|
|
|
|
|
class StartUpProcess
|
|
|
|
{
|
2011-07-26 00:28:22 +02:00
|
|
|
public:
|
|
|
|
static int Run(int argc, char *argv[]);
|
|
|
|
private:
|
|
|
|
StartUpProcess();
|
|
|
|
~StartUpProcess();
|
|
|
|
int Execute();
|
|
|
|
bool USBSpinUp();
|
|
|
|
void TextFade(int direction);
|
|
|
|
void SetTextf(const char * format, ...);
|
|
|
|
void Draw();
|
|
|
|
static int ParseArguments(int argc, char *argv[]);
|
|
|
|
static int QuickGameBoot(const char * gameID);
|
2010-12-31 00:49:22 +01:00
|
|
|
|
2011-11-20 11:46:07 +01:00
|
|
|
bool drawCancel;
|
|
|
|
|
2011-07-26 00:28:22 +02:00
|
|
|
GuiImageData * GXImageData;
|
|
|
|
GuiImage * background;
|
|
|
|
GuiImage * GXImage;
|
|
|
|
GuiText * titleTxt;
|
|
|
|
GuiText * messageTxt;
|
2015-04-04 18:04:30 +02:00
|
|
|
GuiText * versionTxt;
|
2011-11-20 11:46:07 +01:00
|
|
|
GuiText * cancelTxt;
|
|
|
|
GuiButton * cancelBtn;
|
|
|
|
GuiTrigger * trigB;
|
2010-12-31 00:49:22 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|