MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / ~GuiComponent

Method ~GuiComponent

src/GuiComponent.cpp:11–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11GuiComponent::~GuiComponent()
12{
13 mWindow->removeGui(this);
14
15 if(mParent)
16 mParent->removeChild(this);
17
18 for(unsigned int i = 0; i < getChildCount(); i++)
19 getChild(i)->setParent(NULL);
20}
21
22bool GuiComponent::input(InputConfig* config, Input input)
23{

Callers

nothing calls this directly

Calls 3

removeGuiMethod · 0.80
removeChildMethod · 0.80
setParentMethod · 0.80

Tested by

no test coverage detected