Definition at line 127 of file ScreenDossier.h. References OglGui::OglWindow::ConnectTo(), OglGui::ScrollWnd::ContentPane(), Impala::Application::IDash::ScreenBase::Engine(), Impala::Application::IDash::DossierEntry::ENTRY_HEIGHT, FindVideo(), ILOG_DEBUG, mScrollWnd, OglGui::Window::RepositionViewports(), OglGui::TOLEFTRIGHT, and videos. Referenced by AddShot(). 00128 { 00129 ILOG_DEBUG("AddVideo(" << videoID <<"): "); 00130 if (FindVideo(videoID)) 00131 return 0; 00132 00133 int yPos = (videos.size() + 1) * (DossierEntry::ENTRY_HEIGHT + 5); 00134 00135 Window* pane = mScrollWnd->ContentPane(); 00136 DossierEntry* entry = new DossierEntry(pane,Engine(),this,videoID); 00137 entry->ConnectTo(mScrollWnd,OglGui::TOLEFTRIGHT); 00138 pane->RepositionViewports(); 00139 00140 videos.push_back(entry); 00141 00142 return entry; // convenience for us is goood :-) 00143 }
Here is the call graph for this function:
|