MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / SelectColor

Method SelectColor

WinArk/ColorBox.cpp:110–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void CColorBox::SelectColor() {
111 CColorDialog dlg(_context.SelectedColor, CC_FULLOPEN, *this);
112 if (dlg.DoModal() == IDOK)
113 _context.SelectedColor = dlg.GetColor();
114 InvalidateRect(NULL);
115}
116
117void CColorBox::SetColor(COLORREF color) {
118 _context.SelectedColor = color;

Callers

nothing calls this directly

Calls 1

GetColorMethod · 0.80

Tested by

no test coverage detected