mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-03 10:47:23 +02:00
Setting code formatting standard to allman.
This commit is contained in:
@@ -17,49 +17,49 @@ class Page;
|
||||
class RetroFE
|
||||
{
|
||||
public:
|
||||
RetroFE(CollectionDatabase *db, Configuration *c);
|
||||
virtual ~RetroFE();
|
||||
bool Initialize();
|
||||
bool DeInitialize();
|
||||
void Run();
|
||||
Configuration *GetConfiguration();
|
||||
void FreeGraphicsMemory();
|
||||
void AllocateGraphicsMemory();
|
||||
void LaunchEnter();
|
||||
void LaunchExit();
|
||||
RetroFE(CollectionDatabase *db, Configuration *c);
|
||||
virtual ~RetroFE();
|
||||
bool Initialize();
|
||||
bool DeInitialize();
|
||||
void Run();
|
||||
Configuration *GetConfiguration();
|
||||
void FreeGraphicsMemory();
|
||||
void AllocateGraphicsMemory();
|
||||
void LaunchEnter();
|
||||
void LaunchExit();
|
||||
private:
|
||||
enum RETROFE_STATE
|
||||
{
|
||||
RETROFE_IDLE,
|
||||
RETROFE_NEXT_PAGE_REQUEST,
|
||||
RETROFE_NEXT_PAGE_WAIT,
|
||||
RETROFE_LAUNCH_REQUEST,
|
||||
RETROFE_BACK_REQUEST,
|
||||
RETROFE_BACK_WAIT,
|
||||
RETROFE_NEW,
|
||||
RETROFE_QUIT_REQUEST,
|
||||
RETROFE_QUIT,
|
||||
};
|
||||
enum RETROFE_STATE
|
||||
{
|
||||
RETROFE_IDLE,
|
||||
RETROFE_NEXT_PAGE_REQUEST,
|
||||
RETROFE_NEXT_PAGE_WAIT,
|
||||
RETROFE_LAUNCH_REQUEST,
|
||||
RETROFE_BACK_REQUEST,
|
||||
RETROFE_BACK_WAIT,
|
||||
RETROFE_NEW,
|
||||
RETROFE_QUIT_REQUEST,
|
||||
RETROFE_QUIT,
|
||||
};
|
||||
|
||||
void Render();
|
||||
bool ItemSelected();
|
||||
bool Back(bool &exit);
|
||||
void Quit();
|
||||
Page *LoadPage(std::string collectionName);
|
||||
RETROFE_STATE ProcessUserInput();
|
||||
void Update(float dt, bool scrollActive);
|
||||
void Render();
|
||||
bool ItemSelected();
|
||||
bool Back(bool &exit);
|
||||
void Quit();
|
||||
Page *LoadPage(std::string collectionName);
|
||||
RETROFE_STATE ProcessUserInput();
|
||||
void Update(float dt, bool scrollActive);
|
||||
|
||||
|
||||
Configuration *Config;
|
||||
CollectionDatabase *CollectionDB;
|
||||
UserInput Input;
|
||||
std::list<Page *> PageChain;
|
||||
float KeyInputDisable;
|
||||
float InactiveKeyTime;
|
||||
bool AttractMode;
|
||||
float CurrentTime;
|
||||
Item *NextPageItem;
|
||||
FontCache FC;
|
||||
IVideo *VideoInst;
|
||||
Configuration *Config;
|
||||
CollectionDatabase *CollectionDB;
|
||||
UserInput Input;
|
||||
std::list<Page *> PageChain;
|
||||
float KeyInputDisable;
|
||||
float InactiveKeyTime;
|
||||
bool AttractMode;
|
||||
float CurrentTime;
|
||||
Item *NextPageItem;
|
||||
FontCache FC;
|
||||
IVideo *VideoInst;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user