Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATWindow::OnCommand
void CATWindow::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 from CATGuiObj.

Definition at line 1460 of file CATWindow.cpp.

References CATFAILED, CATGuiObj::GetHint(), CATSkin::OnCommand(), OSUpdateToolTip(), ProcessCommandTable(), and SetStatusBarHint().


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