Lines Matching refs:pState
1650 void X11SalFrame::SetWindowState( const SalFrameState *pState ) in SetWindowState() argument
1652 if (pState == NULL) in SetWindowState()
1656 if (pState->mnMask & _FRAMESTATE_MASK_GEOMETRY) in SetWindowState()
1666 (pState->mnMask & SAL_FRAMESTATE_MASK_STATE) && in SetWindowState()
1667 (pState->mnState & SAL_FRAMESTATE_MAXIMIZED) && in SetWindowState()
1668 (pState->mnMask & _FRAMESTATE_MASK_GEOMETRY) == _FRAMESTATE_MASK_GEOMETRY && in SetWindowState()
1669 … (pState->mnMask & _FRAMESTATE_MASK_MAXIMIZED_GEOMETRY) == _FRAMESTATE_MASK_MAXIMIZED_GEOMETRY in SetWindowState()
1679 pHints->x = pState->mnX; in SetWindowState()
1680 pHints->y = pState->mnY; in SetWindowState()
1688 pState->mnX, pState->mnY, in SetWindowState()
1689 pState->mnWidth, pState->mnHeight ); in SetWindowState()
1691 maGeometry.nX = pState->mnMaximizedX; in SetWindowState()
1692 maGeometry.nY = pState->mnMaximizedY; in SetWindowState()
1693 maGeometry.nWidth = pState->mnMaximizedWidth; in SetWindowState()
1694 maGeometry.nHeight = pState->mnMaximizedHeight; in SetWindowState()
1700 if ((pState->mnMask & _FRAMESTATE_MASK_GEOMETRY) != _FRAMESTATE_MASK_GEOMETRY) in SetWindowState()
1704 if (pState->mnMask & SAL_FRAMESTATE_MASK_X) in SetWindowState()
1706 aPosSize.setX (pState->mnX); in SetWindowState()
1708 if (pState->mnMask & SAL_FRAMESTATE_MASK_Y) in SetWindowState()
1710 aPosSize.setY (pState->mnY); in SetWindowState()
1712 if (pState->mnMask & SAL_FRAMESTATE_MASK_WIDTH) in SetWindowState()
1714 long nWidth = pState->mnWidth > 0 ? pState->mnWidth - 1 : 0; in SetWindowState()
1718 if (pState->mnMask & SAL_FRAMESTATE_MASK_HEIGHT) in SetWindowState()
1720 int nHeight = pState->mnHeight > 0 ? pState->mnHeight - 1 : 0; in SetWindowState()
1775 if (pState->mnMask & SAL_FRAMESTATE_MASK_STATE) in SetWindowState()
1777 if (pState->mnState & SAL_FRAMESTATE_MAXIMIZED) in SetWindowState()
1780 … if( ! (pState->mnState & (SAL_FRAMESTATE_MAXIMIZED_HORZ|SAL_FRAMESTATE_MAXIMIZED_VERT) ) ) in SetWindowState()
1784 bool bHorz = (pState->mnState & SAL_FRAMESTATE_MAXIMIZED_HORZ) ? true : false; in SetWindowState()
1785 bool bVert = (pState->mnState & SAL_FRAMESTATE_MAXIMIZED_VERT) ? true : false; in SetWindowState()
1788 maRestorePosSize.Left() = pState->mnX; in SetWindowState()
1789 maRestorePosSize.Top() = pState->mnY; in SetWindowState()
1790 maRestorePosSize.Right() = maRestorePosSize.Left() + pState->mnWidth; in SetWindowState()
1791 maRestorePosSize.Right() = maRestorePosSize.Left() + pState->mnHeight; in SetWindowState()
1796 if (pState->mnState & SAL_FRAMESTATE_MINIMIZED) in SetWindowState()
1802 if (pState->mnState & SAL_FRAMESTATE_NORMAL) in SetWindowState()
1807 if (pState->mnState & SAL_FRAMESTATE_ROLLUP) in SetWindowState()
1813 sal_Bool X11SalFrame::GetWindowState( SalFrameState* pState ) in GetWindowState() argument
1816 pState->mnState = SAL_FRAMESTATE_MINIMIZED; in GetWindowState()
1818 pState->mnState = SAL_FRAMESTATE_NORMAL; in GetWindowState()
1827 pState->mnState |= SAL_FRAMESTATE_MAXIMIZED_HORZ; in GetWindowState()
1829 pState->mnState |= SAL_FRAMESTATE_MAXIMIZED_VERT; in GetWindowState()
1831 pState->mnState |= SAL_FRAMESTATE_ROLLUP; in GetWindowState()
1833 pState->mnX = aPosSize.Left(); in GetWindowState()
1834 pState->mnY = aPosSize.Top(); in GetWindowState()
1835 pState->mnWidth = aPosSize.GetWidth(); in GetWindowState()
1836 pState->mnHeight = aPosSize.GetHeight(); in GetWindowState()
1838 pState->mnMask = _FRAMESTATE_MASK_GEOMETRY | SAL_FRAMESTATE_MASK_STATE; in GetWindowState()
1844 pState->mnState |= SAL_FRAMESTATE_MAXIMIZED; in GetWindowState()
1845 pState->mnMaximizedX = aPosSize.Left(); in GetWindowState()
1846 pState->mnMaximizedY = aPosSize.Top(); in GetWindowState()
1847 pState->mnMaximizedWidth = aPosSize.GetWidth(); in GetWindowState()
1848 pState->mnMaximizedHeight = aPosSize.GetHeight(); in GetWindowState()
1849 pState->mnMask |= _FRAMESTATE_MASK_MAXIMIZED_GEOMETRY; in GetWindowState()