Definition at line 100 of file Menu.h. References CloseSubMenu(), OglGui::Window::GetParent(), OglGui::OglWindow::H(), mMenuTopPane, OglGui::MenuTopPane::Open(), OglGui::OglWindow::SetDimensions(), OglGui::OglWindow::SetVisible(), and OglGui::OglWindow::W(). Referenced by OglGui::MenuOnButton::ButtonSelectionEvent(), MouseFunc(), Impala::Application::VideoExcel::TableWindow::MouseFunc(), Impala::Application::VideoExcel::SelectionCollectionItem::MouseFunc(), Impala::Application::MediaTable::SelectionCollectionItem::MouseFunc(), and Impala::Application::MediaTable::TableDataViewController::OpenContextMenu(). 00101 { 00102 mMenuTopPane->Open(); 00103 CloseSubMenu(); 00104 if (topY-H()<0) 00105 topY = H(); 00106 if (topX+W()>GetParent()->W()) 00107 topX -= pW+W()-2; 00108 if (topX<0) 00109 topX = 0; 00110 SetDimensions(topX,topY-H(),RETAIN,RETAIN); 00111 SetVisible(true); 00112 }
Here is the call graph for this function:
|