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

Method CalcColorPal

ColorCop/ColorCopDlg.cpp:945–952  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

943}
944
945void CColorCopDlg::CalcColorPal() {
946 // generate a new color palette from the current color
947 setSeedColor(); // step 1. - set the RGB color
948 // - calc the Hue, Sat, Light
949 // - create the swatch
950 palcol = 0;
951 handleShifts();
952}
953
954double CColorCopDlg::plusValue(double num) {
955 num += SAT_LIGHT_SHIFT;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected