Definition at line 341 of file SurveillanceApp.cpp. References OglGui::OglWindow::GetOGLWND(), OglGui::Window::GetState(), OglGui::OglWindow::GetVisible(), mAlertWindow, mIdPane, mSubmitButton, Impala::Application::SDash::IdentificationPane::Positives(), and OglGui::Window::SetState(). Referenced by DisplayFunc(). 00342 { 00343 bool hasPositives = mIdPane->Positives()->GetOGLWND()->objectList!=0; 00344 if (!hasPositives) 00345 mSubmitButton->SetState(0); 00346 else if ((mSubmitButton->GetState() && mAlertWindow->GetVisible()) || 00347 (!mAlertWindow->GetVisible() && !mSubmitButton->GetState())) 00348 { 00349 mSubmitButton->SetState(!mAlertWindow->GetVisible()); 00350 } 00351 }
Here is the call graph for this function:
|