void IconList::InnerView::AttachedToWindow( void ) { View *pcParent = GetParent(); SetFgColor( pcParent->GetFgColor() ); SetEraseColor( pcParent->GetEraseColor() ); SetBgColor( pcParent->GetBgColor() ); _Layout(); }
void Icon::AttachedToWindow( void ) { View *pcParent = GetParent(); m_sHighlightColor = m_sEraseColor = pcParent->GetEraseColor(); m_sBgColor = pcParent->GetBgColor(); m_sFgColor = pcParent->GetFgColor(); SetEraseColor( m_sEraseColor ); SetBgColor( m_sBgColor ); SetFgColor( m_sFgColor ); }