Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATSkin::GetControlsByCommand
CATResult CATSkin::GetControlsByCommand ( CATWindow wnd,
const CATString command,
CATStack< CATControl * > &  controlStack 
)

GetControlsByCommand() gets a stack of all the controls that reference a specific command.

Parameters:
wnd - ptr to specific window
command - the string command of the controls to get
controlStack - a stack to add the controls to
Returns:
CAT_SUCCESS on success.

Definition at line 156 of file CATSkin.cpp.

References CAT_ERR_SKIN_WINDOW_NOT_FOUND, CAT_SUCCESS, CATRESULT, CATString::Compare(), CATXMLObject::GetChild(), CATCommand::GetCmdString(), CATControl::GetCommand(), CATXMLObject::GetNumChildren(), and CATStack< T >::Push().


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