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

Method SetAttribute

DuiLib/Layout/UIHorizontalLayout.cpp:162–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160 }
161
162 void CHorizontalLayoutUI::SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue)
163 {
164 if( _tcscmp(pstrName, _T("sepwidth")) == 0 ) SetSepWidth(_ttoi(pstrValue));
165 else if( _tcscmp(pstrName, _T("sepimm")) == 0 ) SetSepImmMode(_tcscmp(pstrValue, _T("true")) == 0);
166 else CContainerUI::SetAttribute(pstrName, pstrValue);
167 }
168
169 void CHorizontalLayoutUI::DoEvent(TEventUI& event)
170 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected