| 4 | namespace DuiLib |
| 5 | { |
| 6 | CScrollBarUI::CScrollBarUI() : m_bHorizontal(false), m_nRange(100), m_nScrollPos(0), m_nLineSize(8), |
| 7 | m_pOwner(NULL), m_nLastScrollPos(0), m_nLastScrollOffset(0), m_nScrollRepeatDelay(0), m_uButton1State(0), \ |
| 8 | m_uButton2State(0), m_uThumbState(0), m_bShowButton1(true), m_bShowButton2(true) |
| 9 | { |
| 10 | m_cxyFixed.cx = DEFAULT_SCROLLBAR_SIZE; |
| 11 | ptLastMouse.x = ptLastMouse.y = 0; |
| 12 | ::ZeroMemory(&m_rcThumb, sizeof(m_rcThumb)); |
| 13 | ::ZeroMemory(&m_rcButton1, sizeof(m_rcButton1)); |
| 14 | ::ZeroMemory(&m_rcButton2, sizeof(m_rcButton2)); |
| 15 | } |
| 16 | |
| 17 | LPCTSTR CScrollBarUI::GetClass() const |
| 18 | { |
nothing calls this directly
no outgoing calls
no test coverage detected