CGUIListItem::CGUIListItem(const std::string& strLabel): m_strLabel(strLabel) { m_bIsFolder = false; SetSortLabel(strLabel); m_bSelected = false; m_overlayIcon = ICON_OVERLAY_NONE; }
void CGUIListItem::SetLabel(const std::string& strLabel) { if (m_strLabel == strLabel) return; m_strLabel = strLabel; if (m_sortLabel.empty()) SetSortLabel(strLabel); SetInvalid(); }