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

Method OnChangeRed

ColorCop/ColorCopDlg.cpp:1327–1334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1325
1326
1327void CColorCopDlg::OnChangeRed() {
1328 m_Reddec = GetDlgItemInt(IDC_RED);
1329 m_Reddec = std::clamp(m_Reddec, RGB_MIN, RGB_MAX);
1330
1331 CalcColorPal();
1332 OnconvertRGB();
1333 OnCopytoclip();
1334}
1335
1336void CColorCopDlg::OnChangeBlack() {
1337 m_Black = GetDlgItemInt(IDC_BLACK);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected