Lines Matching refs:pState

1607 void GtkSalFrame::SetWindowState( const SalFrameState* pState )  in SetWindowState()  argument
1609 if( ! m_pWindow || ! pState || isChild( true, false ) ) in SetWindowState()
1618 if( (pState->mnMask & SAL_FRAMESTATE_MASK_STATE) && in SetWindowState()
1620 (pState->mnState & SAL_FRAMESTATE_MAXIMIZED) && in SetWindowState()
1621 (pState->mnMask & nMaxGeometryMask) == nMaxGeometryMask ) in SetWindowState()
1623 resizeWindow( pState->mnWidth, pState->mnHeight ); in SetWindowState()
1624 moveWindow( pState->mnX, pState->mnY ); in SetWindowState()
1627 maGeometry.nX = pState->mnMaximizedX; in SetWindowState()
1628 maGeometry.nY = pState->mnMaximizedY; in SetWindowState()
1629 maGeometry.nWidth = pState->mnMaximizedWidth; in SetWindowState()
1630 maGeometry.nHeight = pState->mnMaximizedHeight; in SetWindowState()
1634 m_aRestorePosSize = Rectangle( Point( pState->mnX, pState->mnY ), in SetWindowState()
1635 Size( pState->mnWidth, pState->mnHeight ) ); in SetWindowState()
1637 else if( pState->mnMask & (SAL_FRAMESTATE_MASK_X | SAL_FRAMESTATE_MASK_Y | in SetWindowState()
1641 long nX = pState->mnX - (m_pParent ? m_pParent->maGeometry.nX : 0); in SetWindowState()
1642 long nY = pState->mnY - (m_pParent ? m_pParent->maGeometry.nY : 0); in SetWindowState()
1643 long nWidth = pState->mnWidth; in SetWindowState()
1644 long nHeight = pState->mnHeight; in SetWindowState()
1645 if( pState->mnMask & SAL_FRAMESTATE_MASK_X ) in SetWindowState()
1649 if( pState->mnMask & SAL_FRAMESTATE_MASK_Y ) in SetWindowState()
1653 if( pState->mnMask & SAL_FRAMESTATE_MASK_WIDTH ) in SetWindowState()
1657 if( pState->mnMask & SAL_FRAMESTATE_MASK_HEIGHT ) in SetWindowState()
1661 SetPosSize( nX, nY, pState->mnWidth, pState->mnHeight, nPosSizeFlags ); in SetWindowState()
1663 if( pState->mnMask & SAL_FRAMESTATE_MASK_STATE && ! isChild() ) in SetWindowState()
1665 if( pState->mnState & SAL_FRAMESTATE_MAXIMIZED ) in SetWindowState()
1677 if( (pState->mnState & SAL_FRAMESTATE_MINIMIZED) in SetWindowState()
1685 sal_Bool GtkSalFrame::GetWindowState( SalFrameState* pState ) in GetWindowState() argument
1687 pState->mnState = SAL_FRAMESTATE_NORMAL; in GetWindowState()
1688 pState->mnMask = SAL_FRAMESTATE_MASK_STATE; in GetWindowState()
1691 pState->mnState |= SAL_FRAMESTATE_MINIMIZED; in GetWindowState()
1694 pState->mnState |= SAL_FRAMESTATE_MAXIMIZED; in GetWindowState()
1695 pState->mnX = m_aRestorePosSize.Left(); in GetWindowState()
1696 pState->mnY = m_aRestorePosSize.Top(); in GetWindowState()
1697 pState->mnWidth = m_aRestorePosSize.GetWidth(); in GetWindowState()
1698 pState->mnHeight = m_aRestorePosSize.GetHeight(); in GetWindowState()
1699 pState->mnMaximizedX = maGeometry.nX; in GetWindowState()
1700 pState->mnMaximizedY = maGeometry.nY; in GetWindowState()
1701 pState->mnMaximizedWidth = maGeometry.nWidth; in GetWindowState()
1702 pState->mnMaximizedHeight = maGeometry.nHeight; in GetWindowState()
1703 pState->mnMask |= SAL_FRAMESTATE_MASK_MAXIMIZED_X | in GetWindowState()
1711 pState->mnX = maGeometry.nX; in GetWindowState()
1712 pState->mnY = maGeometry.nY; in GetWindowState()
1713 pState->mnWidth = maGeometry.nWidth; in GetWindowState()
1714 pState->mnHeight = maGeometry.nHeight; in GetWindowState()
1716 pState->mnMask |= SAL_FRAMESTATE_MASK_X | in GetWindowState()