17 CGUIControlLookup(
int parentID,
int controlID,
float posX,
float posY,
float width,
float height)
18 :
CGUIControl(parentID, controlID, posX, posY, width, height) {}
22 CGUIControl *GetControl(
int id, std::vector<CGUIControl*> *idCollector =
nullptr)
override;
24 typedef std::multimap<int, CGUIControl *> LookupMap;
34 std::pair<LookupMap::const_iterator, LookupMap::const_iterator> GetLookupControls(
int controlId)
const 36 return m_lookup.equal_range(controlId);
43 const LookupMap &GetLookup()
const {
return m_lookup; }
44 void ClearLookup() { m_lookup.clear(); }
Definition: GUIControlLookup.h:13
bool IsValidControl(const CGUIControl *control) const
Check whether a given control is valid Runs through controls and returns whether this control is vali...
Definition: GUIControlLookup.cpp:40
Base class for controls.
Definition: GUIControl.h:83