MCPcopy Create free account
hub / github.com/dborth/fceugx / Find

Method Find

source/gui/gui_window.cpp:72–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72bool GuiWindow::Find(GuiElement* e)
73{
74 if (e == NULL)
75 return false;
76
77 u32 elemSize = _elements.size();
78 for (u32 i = 0; i < elemSize; ++i)
79 if(e == _elements.at(i))
80 return true;
81 return false;
82}
83
84GuiElement* GuiWindow::GetGuiElementAt(u32 index) const
85{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected