#ifndef _GUIGAMELIST_H_ #define _GUIGAMELIST_H_ #include "../GuiComponent.h" #include "GuiList.h" #include "GuiImage.h" #include "GuiTheme.h" #include #include #include "../SystemData.h" #include "../GameData.h" #include "../FolderData.h" class GuiGameList : GuiComponent { public: GuiGameList(bool useDetail = false); ~GuiGameList(); void setSystemId(int id); void onRender(); void onInput(InputManager::InputButton button, bool keyDown); void onPause(); void onResume(); static const float sInfoWidth; private: void updateList(); void updateTheme(); void updateDetailData(); SystemData* mSystem; FolderData* mFolder; std::stack mFolderStack; int mSystemId; bool mDetailed; GuiList* mList; GuiImage* mScreenshot; GuiTheme* mTheme; }; #endif