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

Method CScrollBarUI

DuiLib/Control/UIScrollBar.cpp:6–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4namespace 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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected