Definition at line 55 of file mainVidBrowse.cpp. References Impala::Visualization::AppController::AddControl(), Impala::Visualization::AppControlDoc::AddDocListener(), OglGui::Tabs::CreateTab(), Impala::Visualization::AppController::Instance(), mCmd, mFeatWnd, mTabs, mTextWnd, mViewScale, mVxsDoc, OglGui::Tabs::SetActiveTab(), OglGui::OglWindow::SetBackground(), OglGui::Tabs::SetTabsListener(), TAB_ANNO, TAB_FEATURE, TAB_PLAY, TAB_SET, and OglGui::Window::Window(). Referenced by WindowVidBrowse(). 00056 { 00057 SetBackground(0xffd2c799); 00058 AppController& ctr = AppController::Instance(); 00059 mTabs = new OglGui::Tabs(this, wndWidth, wndHeight); 00060 mTabs->SetTabsListener(this); 00061 int line = 22; 00062 OglGui::Window* tab; 00063 tab = mTabs->CreateTab("Data set", -1, TAB_SET); 00064 DataDocumentGui<VxsDocument>* dataGui = 00065 new DataDocumentGui<VxsDocument>(tab, wndWidth, wndHeight, mVxsDoc, 00066 TAB_SET, true, true, false, 1); 00067 ctr.AddControl((AppControlDoc*) dataGui); 00068 00069 tab = mTabs->CreateTab("Play", -1, TAB_PLAY); 00070 VxsDocumentGuiPlay* play = new VxsDocumentGuiPlay 00071 (tab, wndWidth, wndHeight-150, 352, 288, false, mVxsDoc, TAB_PLAY); 00072 ctr.AddControl((AppControlDoc*) play); 00073 00074 tab = mTabs->CreateTab("Anno", -1, TAB_ANNO); 00075 VxsDocumentGuiPlay* anno = new VxsDocumentGuiPlay 00076 (tab, wndWidth, wndHeight-150, 352, 288, true, mVxsDoc, TAB_ANNO); 00077 ctr.AddControl((AppControlDoc*) anno); 00078 00079 tab = mTabs->CreateTab("Vxs Feature", -1, TAB_FEATURE); 00080 VxsDocumentGuiPlay* feat = new VxsDocumentGuiPlay 00081 (tab, wndWidth/2, wndHeight/2, 352, 288, false, mVxsDoc, 00082 TAB_FEATURE, mViewScale); 00083 mFeatWnd = new Window(tab, wndWidth/2-10, wndHeight/2-10, true); 00084 mTextWnd = new OglGui::StringSelector(tab, 350, 6*line); 00085 ctr.AddControl((AppControlDoc*) feat); 00086 if (mCmd == std::string("background")) 00087 feat->AddDocListener(new Background(mVxsDoc, mFeatWnd, mViewScale)); 00088 00089 mTabs->SetActiveTab(0); 00090 }
Here is the call graph for this function:
|