Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATControl::SetValue
void CATControl::SetValue ( CATFloat32  newValue,
bool  sendCommand = true 
) [virtual]

SetValue() sets the value of the control

Parameters:
newValue - float from 0 to 1 for new value.
sendCommand - if true, will send a command with the new value. This is useful when you want to set a value w/o sending a command, for example when updating a control from another control's state.

Definition at line 317 of file CATControl.cpp.

References CATXMLObject::fParent, fValue, and CATWidget::MarkDirty().

Referenced by CATWaitDlg::OnEvent(), CATLabel::OnEvent(), CATEditBox::OnEvent(), OnEvent(), CATSlider::OnMouseDoubleClick(), and CATKnob::OnMouseDoubleClick().


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