ES-DE/src/components/GuiGameList.cpp

17 lines
268 B
C++
Raw Normal View History

#include "GuiGameList.h"
GuiGameList::GuiGameList(std::string systemName)
{
mSystemName = systemName;
mList = new GuiList();
addChild(mList);
}
void GuiGameList::onRender()
{
SDL_Color color = {0, 0, 255};
Renderer::drawCenteredText(mSystemName, 2, color);
}