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

Method CControlUI

DuiLib/Core/UIControl.cpp:5–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3namespace DuiLib {
4
5CControlUI::CControlUI() :
6m_pManager(NULL),
7m_pParent(NULL),
8m_bUpdateNeeded(true),
9m_bMenuUsed(false),
10m_bVisible(true),
11m_bInternVisible(true),
12m_bFocused(false),
13m_bEnabled(true),
14m_bMouseEnabled(true),
15m_bKeyboardEnabled(true),
16m_bFloat(false),
17m_bSetPos(false),
18m_chShortcut('\0'),
19m_pTag(NULL),
20m_dwBackColor(0),
21m_dwBackColor2(0),
22m_dwBackColor3(0),
23m_dwBorderColor(0),
24m_dwFocusBorderColor(0),
25m_bColorHSL(false),
26m_nBorderSize(0),
27m_nBorderStyle(PS_SOLID),
28m_nTooltipWidth(300)
29{
30 m_cXY.cx = m_cXY.cy = 0;
31 m_cxyFixed.cx = m_cxyFixed.cy = 0;
32 m_cxyMin.cx = m_cxyMin.cy = 0;
33 m_cxyMax.cx = m_cxyMax.cy = 9999;
34 m_cxyBorderRound.cx = m_cxyBorderRound.cy = 0;
35
36 ::ZeroMemory(&m_rcPadding, sizeof(RECT));
37 ::ZeroMemory(&m_rcItem, sizeof(RECT));
38 ::ZeroMemory(&m_rcPaint, sizeof(RECT));
39 ::ZeroMemory(&m_rcBorderSize,sizeof(RECT));
40 ::ZeroMemory(&m_tRelativePos, sizeof(TRelativePosUI));
41}
42
43CControlUI::~CControlUI()
44{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected