MCPcopy Create free account
hub / github.com/ColorCop/ColorCop / CLabel

Method CLabel

ColorCop/Label.cpp:14–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12// CLabel
13
14CLabel::CLabel() {
15 m_crText = GetSysColor(COLOR_WINDOWTEXT);
16 m_hBrush = ::CreateSolidBrush(GetSysColor(COLOR_3DFACE));
17
18 ::GetObject(reinterpret_cast<HFONT>(GetStockObject(DEFAULT_GUI_FONT)),
19 sizeof(m_lf), &m_lf);
20 m_font.CreateFontIndirect(&m_lf);
21 m_bTimer = FALSE;
22 m_bState = FALSE;
23 m_bLink = TRUE;
24 m_hCursor = NULL;
25 m_Type = None;
26}
27
28CLabel::~CLabel() {
29 m_font.DeleteObject();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected