Definition at line 825 of file mainTrecSearch.cpp.
References Impala::Visualization::AppController::AddControl(), Impala::Visualization::AppControlDoc::AddDocListener(), OglGui::Tabs::CreateTab(), Impala::Core::VideoSet::SegmentationDocument::GetImSetStills(), OglGui::OglWindow::H(), ILOG_DEBUG, Impala::Visualization::AppController::Instance(), mDisableStillsTab, mImageStills, mSegDoc, mSegDocMainGrid, mSegDocStills, mTabs, mThumbHeight, mThumbWidth, mUseWnd2, mViewScale, mWnd2, OglGui::OglWindow::SetAlwaysDraw(), TAB_STILLS, and OglGui::OglWindow::W().
Referenced by BuildGUI().
00826 {
00827 mSegDocStills = 0;
00828 if (mDisableStillsTab || !mSegDoc->GetImSetStills()) return;
00829
00830 OglGui::Window* wnd = mWnd2;
00831 if (!mWnd2 || (mUseWnd2 != String("Stills")))
00832 wnd = mTabs->CreateTab("Stills", -1, TAB_STILLS);
00833
00834 mSegDocStills =
00835 new SegmentationDocumentGuiStills(wnd, wnd->W(), wnd->H(),
00836 nrImOnRow, mThumbWidth,
00837 mThumbHeight, mViewScale,
00838 true, mImageStills,
00839 mSegDoc, TAB_STILLS);
00840 mSegDocMainGrid->AddDocListener(mSegDocStills);
00841
00842
00843 if (wnd != mWnd2)
00844 AppController::Instance().AddControl((AppControlDoc*)mSegDocStills);
00845 #ifdef OGL_USING_GLUT
00846 mSegDocStills->SetAlwaysDraw(mWnd2==wnd);
00847 #endif
00848 ILOG_DEBUG("BuildGUI: Stills " << (mWnd2==wnd ? "window" : "tab") <<
00849 " enabled.");
00850 }
Here is the call graph for this function: