//////////////////// // Load a column style void CListview::LoadColumnStyle(CListviewColumn::CColumnStyle &style, const CSSParser &css, const std::string &id, const std::string cl, const std::string &psclass) { CSSParser::Selector sel = css.getStyleForElement("column", id, cl, psclass, getMyContext()); style.ApplySelector(sel); }
/////////////////// // Loads an item style void CListview::LoadItemStyle(CItem::CItemStyle &style, const CSSParser &css, const std::string &element, const std::string &id, const std::string cl, const std::string &psclass) { CSSParser::Selector sel = css.getStyleForElement(element, id, cl, psclass, getMyContext()); style.ApplySelector(sel); }