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

Method OnChangeGreen

ColorCop/ColorCopDlg.cpp:1308–1315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1306}
1307
1308void CColorCopDlg::OnChangeGreen() {
1309 m_Greendec = GetDlgItemInt(IDC_GREEN);
1310 m_Greendec = std::clamp(m_Greendec, RGB_MIN, RGB_MAX);
1311
1312 CalcColorPal();
1313 OnconvertRGB();
1314 OnCopytoclip();
1315}
1316
1317void CColorCopDlg::OnChangeBlue() {
1318 m_Bluedec = GetDlgItemInt(IDC_BLUE);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected