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

Method SetEnabled

DuiLib/Control/UIOption.cpp:103–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 }
102
103 void COptionUI::SetEnabled(bool bEnable)
104 {
105 CControlUI::SetEnabled(bEnable);
106 if( !IsEnabled() ) {
107 if( m_bSelected ) m_uButtonState = UISTATE_SELECTED;
108 else m_uButtonState = 0;
109 }
110 }
111
112 LPCTSTR COptionUI::GetSelectedImage()
113 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected