Lines Matching refs:pSubMenu
643 ScMenuFloatingWindow* pSubMenu = maOpenTimer.mpSubMenu; in launchSubMenu() local
645 if (!pSubMenu) in launchSubMenu()
650 …pSubMenu->resizeToFitMenuItems(); // set the size before launching the popup to get it positioned … in launchSubMenu()
651 pSubMenu->StartPopupMode( in launchSubMenu()
653 pSubMenu->AddPopupModeWindow(this); in launchSubMenu()
655 …pSubMenu->setSelectedMenuItem(0, false, false); // select menu item after the popup becomes fully … in launchSubMenu()
659 void ScMenuFloatingWindow::endSubMenu(ScMenuFloatingWindow* pSubMenu) in endSubMenu() argument
661 if (!pSubMenu) in endSubMenu()
664 pSubMenu->EndPopupMode(); in endSubMenu()
667 size_t nMenuPos = getSubMenuPos(pSubMenu); in endSubMenu()
735 ScMenuFloatingWindow* pSubMenu = maMenuItems[nPos].mpSubMenuWin.get(); in selectMenuItem() local
736 queueLaunchSubMenu(nPos, pSubMenu); in selectMenuItem()
864 size_t ScMenuFloatingWindow::getSubMenuPos(ScMenuFloatingWindow* pSubMenu) in getSubMenuPos() argument
869 if (maMenuItems[i].mpSubMenuWin.get() == pSubMenu) in getSubMenuPos()
895 void ScMenuFloatingWindow::setSubMenuFocused(ScMenuFloatingWindow* pSubMenu) in setSubMenuFocused() argument
898 size_t nMenuPos = getSubMenuPos(pSubMenu); in setSubMenuFocused()
906 void ScMenuFloatingWindow::ensureSubMenuVisible(ScMenuFloatingWindow* pSubMenu) in ensureSubMenuVisible() argument
911 if (pSubMenu->IsVisible()) in ensureSubMenuVisible()
915 size_t nMenuPos = getSubMenuPos(pSubMenu); in ensureSubMenuVisible()
926 …pSubMenu->resizeToFitMenuItems(); // set the size before launching the popup to get it positioned … in ensureSubMenuVisible()
927 pSubMenu->StartPopupMode( in ensureSubMenuVisible()
929 pSubMenu->AddPopupModeWindow(this); in ensureSubMenuVisible()