Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATWindow::Load
CATResult CATWindow::Load ( CATPROGRESSCB  progressCB = 0,
void *  progressParam = 0,
CATFloat32  progMin = 0.0f,
CATFloat32  progMax = 1.0f 
) [virtual]

Load() translates the XML attributes into object variables and objects for the window and its children.

CATGuiObj does most of the work here, but any custom stuff should be checked after the parent returns.

Returns:
CATResult - CAT_SUCCESS on success.

Reimplemented from CATGuiObj.

Definition at line 147 of file CATWindow.cpp.

References CAT_SUCCESS, CATFAILED, EnableObject(), fClassName, CATGuiObj::fHintText, CATGuiObj::fName, fRegistered, fSizeable, fStatusBarHint, fStatusLabel, gApp, CATApp::GetAppName(), CATGuiObj::Load(), RegWindow(), and ResetBackground().

Referenced by CATWaitDlg::CATWaitDlg().


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