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

Method CColorCopDlg

ColorCop/ColorCopDlg.cpp:65–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63const TCHAR* kpcTrayNotificationMsg_ = _T("color cop tray notification");
64
65CColorCopDlg::CColorCopDlg(CWnd* pParent /*=NULL*/)
66 : CDialog(CColorCopDlg::IDD, pParent),
67 m_Greendec(0),
68 m_Bluedec(0),
69 m_Reddec(0),
70 m_Hexcolor(_T("")),
71 r(0),
72 g(0),
73 b(0),
74 m_bvisible(false),
75 m_Black(0),
76 m_Cyan(0),
77 m_Magenta(0),
78 m_Yellow(0),
79 ColorHistory{}, // array
80 CustColorBank{}, // array
81 m_Appflags(0),
82 m_iSamplingOffset(0),
83 WinLocX(0),
84 WinLocY(0),
85 hBitmap(nullptr),
86 hBitmapClip(nullptr),
87 hZoomBitmap(nullptr),
88 m_hIcon(nullptr),
89 m_hBlank(nullptr),
90 m_hEye(nullptr),
91 m_hAcceleratorTable(nullptr),
92 m_oldColorSaved(false),
93 m_isEyedropping(false),
94 m_isMagnifying(false),
95 bMinimized(false),
96 m_isMagPlusDown(false),
97 m_isMagMinusDown(false),
98 m_InitialMove(false),
99 m_bCalcColorPal(false),
100 bRelativePosition(false),
101 m_MagDrop(false),
102 smHeight(0),
103 smWidth(0),
104 lgHeight(0),
105 lgWidth(0),
106 m_nwide(0),
107 m_ntall(0),
108 Hue(0.0),
109 Sat(0.0),
110 Light(0.0),
111 Swatch{}, // array of structs
112 OrigSwatch{}, // struct
113 m_HSV_H(0.0),
114 m_HSV_S(0.0),
115 m_HSV_V(0.0),
116 ColorPal{}, // 2D array
117 m_hEyeCursor(nullptr),
118 m_hMagCursor(nullptr),
119 m_hStandardCursor(nullptr),
120 m_hMoveCursor(nullptr),
121 m_hHandCursor(nullptr),
122 hIcon_(nullptr),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected