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