Searched refs:pNewCtx (Results 1 – 2 of 2) sorted by relevance
971 void Screen::DoContext(ContextMenu *pNewCtx, Element *pAtElement, int32_t iX, int32_t iY) in DoContext() argument973 assert(pNewCtx); assert(pNewCtx != pContext); in DoContext()980 if (iY + pNewCtx->GetBounds().Hgt >= GetBounds().Hgt) in DoContext()984 if (iY < pNewCtx->GetBounds().Hgt) iY = GetBounds().Hgt; in DoContext()985 iY -= pNewCtx->GetBounds().Hgt; in DoContext()988 if (iX + pNewCtx->GetBounds().Wdt >= GetBounds().Wdt) in DoContext()992 if (iX < pNewCtx->GetBounds().Wdt) iX = GetBounds().Wdt; in DoContext()993 iX -= pNewCtx->GetBounds().Wdt; in DoContext()996 (pContext = pNewCtx)->Open(pAtElement, iX, iY); in DoContext()
2653 …void DoContext(ContextMenu *pNewCtx, Element *pAtElement, int32_t iX, int32_t iY); // open context…