Definition at line 88 of file Tabs.h.
References OglGui::ALLSIDES, OglGui::OglWindow::ConnectTo(), mCanvasList, mLabelHeight, mLabelWidth, OglGui::OglWindow::mOglWnd, mTabControlData, mTitleWnd, OglGui::Button::SetButtonListener(), OglGui::Window::SetExternWindowReference(), OglGui::OglWindow::SetRoundness(), OglGui::TPARENT, and OglGui::Window::Window().
Referenced by Impala::Application::WindowTrecSearch::BuildDetails(), Impala::Application::WindowTrecSearch::BuildGrid(), Impala::Application::WindowVidBrowse::BuildGUI(), Impala::Application::WindowShowVidSet::BuildGUI(), Impala::Application::WindowShowImSet::BuildGUI(), Impala::Application::WindowImBrowse::BuildGUI(), Impala::Application::WindowAnnoVidSet::BuildGUI(), Impala::Application::WindowTrecSearch::BuildHelpGui(), Impala::Application::WindowTrecSearch::BuildQueryGui(), Impala::Application::WindowTrecSearch::BuildRotorBrowserGui(), Impala::Application::WindowTrecSearch::BuildSearchJudgeGui(), Impala::Application::WindowTrecSearch::BuildSearchTopicGui(), Impala::Application::WindowTrecSearch::BuildSortGui(), Impala::Application::WindowTrecSearch::BuildSortNegativeGui(), Impala::Application::WindowTrecSearch::BuildStills(), OglGui::OglDemo::BuildTab_Animations(), OglGui::OglDemo::BuildTab_Basic2D3D(), OglGui::OglDemo::BuildTab_Galaxy(), OglGui::OglDemo::BuildTab_GalaxyGrid(), OglGui::OglDemo::BuildTab_Regions(), OglGui::OglDemo::BuildTab_SixViewers(), OglGui::OglDemo::BuildTab_TreeView(), OglGui::OglDemo::BuildTab_ZoomPanLense(), Impala::Application::WindowTrecSearch::BuildThreadSetGui(), Impala::Application::MediaTable::MediaTable::HandleNewWindow(), Impala::Application::MediaTable::MediaTable::Init(), Impala::Application::IDash::ScreenTabs::MakeTab(), OglGui::OglDemo::MNAnimTab(), Impala::Visualization::RgbDataSrcLavcTestGUI::RgbDataSrcLavcTestGUI(), OglGui::OglDemo::ViewSphereTab(), and OglGui::OglDemo::WoggelTab().
00089 {
00090 if (labelW == -1)
00091 labelW = mLabelWidth;
00092 int curBut = mCanvasList.size();
00093 Button* but = new Button(mTitleWnd, labelW, mLabelHeight+4, title);
00094 but->SetRoundness(200, 200, 2, 2);
00095 but->SetButtonListener(this, (void*)curBut);
00096 int canvasHeight = mOglWnd->height - mLabelHeight - 4;
00097 Window* canvas = new Window(this, 0, 0, mOglWnd->width, canvasHeight);
00098 canvas->ConnectTo(this, ALLSIDES | TPARENT);
00099 canvas->SetExternWindowReference(but);
00100 mCanvasList.push_back(canvas);
00101 mTabControlData.push_back(tabControlData);
00102 return canvas;
00103 }
Here is the call graph for this function: