| 3060 | } |
| 3061 | |
| 3062 | void 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 | |
| 3072 | void CColorCopDlg::OnUpdatePopupColorDetectwebsafe(CCmdUI* pCmdUI) { |
| 3073 | pCmdUI->SetRadio(m_Appflags & DetectWebsafeColors); |
nothing calls this directly
no outgoing calls
no test coverage detected