Notifications
Clear all

[Closed] Preference Settings c++

Is there something I need to call to update the “Preference Settings UI” for an update?

I have been changing gamma settings and making sure the gammaMgr is enabled. I know I have turned it on if it was off. But the UI does not update the checkbox. It changes everything else. Any thoughts on this?


IColorCorrectionMgr* idispGamMgr = (IColorCorrectionMgr*) GetCOREInterface(COLORCORRECTIONMGR_INTERFACE);
	
if(idispGamMgr){
		gammaMgr.Enable(1);
		idispGamMgr->SetGamma(2.2);
		gammaMgr.SetFileInGamma(2.2);
		gammaMgr.SetFileOutGamma(2.2);
}


I have been checking it though


IColorCorrectionMgr* idispGamMgr = (IColorCorrectionMgr*) GetCOREInterface(COLORCORRECTIONMGR_INTERFACE);
	if(gammaMgr.IsEnabled() && idispGamMgr){
		MCHAR Debug[256];
		swprintf(Debug, _T(" Gamma on? = %i 
"), gammaMgr.IsEnabled());
		mprintf(Debug);
		mflush();
	}
	else{
		MCHAR Debug[256];
		swprintf(Debug, _T(" Gamma on? = %i 
"), gammaMgr.IsEnabled());
		mprintf(Debug);
		mflush();
	}