void CGUIBaseContainer::DumpTextureUse() { CLog::Log(LOGDEBUG, "%s for container %u", __FUNCTION__, GetID()); for (unsigned int i = 0; i < m_items.size(); ++i) { CGUIListItem *item = m_items[i]; if (item->GetFocusedLayout()) item->GetFocusedLayout()->DumpTextureUse(); if (item->GetLayout()) item->GetLayout()->DumpTextureUse(); } }
CGUIListItemLayout *CGUIBaseContainer::GetFocusedLayout() const { CGUIListItem *item = GetListItem(0); if (item) return item->GetFocusedLayout(); return NULL; }