MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / GuiMenu

Method GuiMenu

src/components/GuiMenu.cpp:10–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include "GuiSettingsMenu.h"
9
10GuiMenu::GuiMenu(Window* window, GuiGameList* parent) : GuiComponent(window)
11{
12 mParent = parent;
13
14 std::shared_ptr<Font> font = Font::get(*mWindow->getResourceManager(), Font::getDefaultPath(), FONT_SIZE_LARGE);
15 mList = new TextListComponent<std::string>(mWindow, 0.0f, font->getHeight() + 2.0f, font);
16 mList->setSelectedTextColor(0x0000FFFF);
17 populateList();
18}
19
20GuiMenu::~GuiMenu()
21{

Callers

nothing calls this directly

Calls 3

getResourceManagerMethod · 0.80
getHeightMethod · 0.80
setSelectedTextColorMethod · 0.80

Tested by

no test coverage detected