Definition at line 44 of file AppControllerAlt.h. References GetControl(), Impala::Visualization::AppControl::HandleActivate(), Impala::Visualization::AppControl::HandleDeactivate(), mCurControl, mStarted, and Impala::Visualization::AppControl::SetActive(). 00045 { 00046 AppControl* ctr = GetControl(id); 00047 if (ctr == mCurControl) 00048 { 00049 if (mCurControl && mStarted) 00050 mCurControl->HandleActivate(); 00051 return; 00052 } 00053 if (mCurControl) 00054 { 00055 mCurControl->HandleDeactivate(); 00056 mCurControl->SetActive(false); 00057 } 00058 mCurControl = ctr; 00059 if (mCurControl) 00060 { 00061 mCurControl->SetActive(true); 00062 mCurControl->HandleActivate(); 00063 } 00064 }
Here is the call graph for this function:
|