| 9 | } |
| 10 | |
| 11 | GuiComponent::~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 | |
| 22 | bool GuiComponent::input(InputConfig* config, Input input) |
| 23 | { |
nothing calls this directly
no test coverage detected