Reimplemented from OglGui::WindowListener. Definition at line 256 of file IdentificationPane.h. References OglGui::OglWindow::GetOGLWND(), OglGui::Window::GetState(), mClearPositives, mClearSimilars, mPositivesViewStrip, mSelectedToPositives, mSimilarsViewStrip, Impala::Application::DemoCamera2d::oglWnd, and OglGui::Window::SetState(). 00257 { 00258 OGLWND* oglWnd; 00259 bool hasObjects; 00260 int state; 00261 if (userData == (void*) 1) 00262 { 00263 oglWnd = mSimilarsViewStrip->GetOGLWND(); 00264 hasObjects = oglWnd->objectList != 0; 00265 state = mClearSimilars->GetState(); 00266 mClearSimilars->SetState(hasObjects ? (state?state:1) : 0); 00267 00268 int n = viewSys.TagTagged(oglWnd,selectedTag,1,selectedTag,1); 00269 state = mSelectedToPositives->GetState(); 00270 mSelectedToPositives->SetState(n ? (state?state:1) : 0); 00271 } 00272 else if (userData == (void*) 2) 00273 { 00274 oglWnd = mPositivesViewStrip->GetOGLWND(); 00275 hasObjects = oglWnd->objectList != 0; 00276 state = mClearPositives->GetState(); 00277 mClearPositives->SetState(hasObjects ? (state?state:1) : 0); 00278 } 00279 }
Here is the call graph for this function:
|