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

Method SetEnabled

DuiLib/Control/UIScrollBar.cpp:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46
47 void CScrollBarUI::SetEnabled(bool bEnable)
48 {
49 CControlUI::SetEnabled(bEnable);
50 if( !IsEnabled() ) {
51 m_uButton1State = 0;
52 m_uButton2State = 0;
53 m_uThumbState = 0;
54 }
55 }
56
57 void CScrollBarUI::SetFocus()
58 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected