| 3 | namespace DuiLib { |
| 4 | |
| 5 | CControlUI::CControlUI() : |
| 6 | m_pManager(NULL), |
| 7 | m_pParent(NULL), |
| 8 | m_bUpdateNeeded(true), |
| 9 | m_bMenuUsed(false), |
| 10 | m_bVisible(true), |
| 11 | m_bInternVisible(true), |
| 12 | m_bFocused(false), |
| 13 | m_bEnabled(true), |
| 14 | m_bMouseEnabled(true), |
| 15 | m_bKeyboardEnabled(true), |
| 16 | m_bFloat(false), |
| 17 | m_bSetPos(false), |
| 18 | m_chShortcut('\0'), |
| 19 | m_pTag(NULL), |
| 20 | m_dwBackColor(0), |
| 21 | m_dwBackColor2(0), |
| 22 | m_dwBackColor3(0), |
| 23 | m_dwBorderColor(0), |
| 24 | m_dwFocusBorderColor(0), |
| 25 | m_bColorHSL(false), |
| 26 | m_nBorderSize(0), |
| 27 | m_nBorderStyle(PS_SOLID), |
| 28 | m_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 | |
| 43 | CControlUI::~CControlUI() |
| 44 | { |
nothing calls this directly
no outgoing calls
no test coverage detected