ES-DE/src/components/GuiGameList.h

33 lines
557 B
C
Raw Normal View History

#ifndef _GUIGAMELIST_H_
#define _GUIGAMELIST_H_
#include "../GuiComponent.h"
#include "GuiList.h"
#include <string>
#include <stack>
#include "../SystemData.h"
#include "../GameData.h"
#include "../FolderData.h"
class GuiGameList : GuiComponent
{
public:
GuiGameList();
~GuiGameList();
void updateList();
void setSystemId(int id);
void onRender();
void onInput(InputManager::InputButton button, bool keyDown);
private:
SystemData* mSystem;
FolderData* mFolder;
std::stack<FolderData*> mFolderStack;
int mSystemId;
GuiList* mList;
};
#endif