MCPcopy Create free account
hub / github.com/cinience/RedisStudio / Select

Method Select

DuiLib/Control/UIList.cpp:1671–1680  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1669}
1670
1671bool CListElementUI::Select(bool bSelect)
1672{
1673 if( !IsEnabled() ) return false;
1674 if( bSelect == m_bSelected ) return true;
1675 m_bSelected = bSelect;
1676 if( bSelect && m_pOwner != NULL ) m_pOwner->SelectItem(m_iIndex);
1677 Invalidate();
1678
1679 return true;
1680}
1681
1682bool CListElementUI::IsExpanded() const
1683{

Callers 3

SelectItemMethod · 0.45
SortItemsMethod · 0.45
SelectItemMethod · 0.45

Calls 1

SelectItemMethod · 0.45

Tested by

no test coverage detected