Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATGuiObj::OnCommand
void CATGuiObj::OnCommand ( CATCommand command,
CATControl ctrl 
) [virtual]

OnCommand() is called by child controls when they are pressed / changed.

Each clickable control has an XML-scripted command string and parameter, as well as the control's value. By default, commands are sent from the control to its parent, then up to the window's parent skin, and from there to the application.

Parameters:
command - the command
ctrl - the control that sent it, or 0.

Reimplemented in CATComboBox, and CATWindow.

Definition at line 737 of file CATGuiObj.cpp.

References CATXMLObject::fParent.

Referenced by CATComboBox::OnCommand().


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