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

Method OnPopupColorDetectwebsafe

ColorCop/ColorCopDlg.cpp:3062–3070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3060}
3061
3062void CColorCopDlg::OnPopupColorDetectwebsafe() {
3063 m_Appflags ^= DetectWebsafeColors;
3064 if (m_Appflags & DetectWebsafeColors) {
3065 m_Appflags &= ~SnaptoWebsafe; // shut off snap to websafe
3066 SetStatusBarText(IDS_DETECTWEBSAFE, 1);
3067 } else {
3068 SetStatusBarText(IDS_DETECTWEBSAFE, 2);
3069 }
3070}
3071
3072void CColorCopDlg::OnUpdatePopupColorDetectwebsafe(CCmdUI* pCmdUI) {
3073 pCmdUI->SetRadio(m_Appflags & DetectWebsafeColors);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected