コード例 #1
0
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();
    }
}
コード例 #2
0
CGUIListItemLayout *CGUIBaseContainer::GetFocusedLayout() const
{
    CGUIListItem *item = GetListItem(0);
    if (item) return item->GetFocusedLayout();
    return NULL;
}