Definition at line 799 of file mainTrecSearch.cpp. References Impala::Visualization::AppController::AddControl(), OglGui::Tabs::CreateTab(), OglGui::OglWindow::H(), Impala::Visualization::AppController::Instance(), mDetailWindow, mDisableDetailsTab, mSegDoc, mTabs, mThreadSet, mThumbHeight, mThumbWidth, mUseWnd2, mWnd2, TAB_DETAILS, and OglGui::OglWindow::W(). Referenced by BuildGUI(). 00800 { 00801 mDetailWindow = 0; 00802 if (mDisableDetailsTab) return; 00803 00804 OglGui::Window* wnd = mWnd2; 00805 if (!mWnd2 || (mUseWnd2 != String("Details"))) 00806 wnd = mTabs->CreateTab("Details", -1, TAB_DETAILS); 00807 00808 mDetailWindow = new ShotDetailWindow(wnd,wnd->W(),wnd->H(),mThumbWidth, 00809 mThumbHeight, mThreadSet, mSegDoc); 00810 00811 // RvB: Slows browsing to much 00812 // mSegDocMainGrid->AddDocListener(mDetailWindow); 00813 00814 if (mWnd2 != wnd) 00815 { 00816 mDetailWindow->SetControlId(TAB_DETAILS); 00817 AppController::Instance().AddControl(mDetailWindow); 00818 } 00819 #ifdef OGL_USING_GLUT 00820 else 00821 mDetailWindow->SetAlwaysDraw(true); 00822 #endif 00823 }
Here is the call graph for this function:
|