Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATWindow::SetPref
bool CATWindow::SetPref ( const CATString prefName,
const CATString prefValue 
)

SetPref() sets the value of the specified preference.

Parameters:
prefSection - section name of preference (window name, etc.)
prefName - name of preference
prefValue - value of preference (several overloaded types)
Returns:
bool - true on success.
See also:
SetPref()
SetPref() sets the value of the specified preference.

Parameters:
prefSection - section name of preference (window name, etc.)
prefName - name of preference
prefValue - value of preference (several overloaded types)
Returns:
bool - true on success.
See also:
SetPref()

Definition at line 1845 of file CATWindow.cpp.

References CATEVENT_PREF_CHANGED, CATGuiObj::fName, gApp, CATApp::GetPrefs(), SendEvent(), and CATPrefs::SetPref().

Referenced by OnDestroy().


Generated on Mon Feb 11 04:11:23 2008 for Game Accessibility Suite by doxygen 1.5.4