Lines Matching refs:aStateRect
585 NSRect aStateRect = [mpNSWindow frame]; in SetWindowState() local
586 aStateRect = [NSWindow contentRectForFrameRect: aStateRect styleMask: mnStyleMask]; in SetWindowState()
587 CocoaToVCL( aStateRect ); in SetWindowState()
589 aStateRect.origin.x = float(pState->mnX); in SetWindowState()
591 aStateRect.origin.y = float(pState->mnY); in SetWindowState()
593 aStateRect.size.width = float(pState->mnWidth); in SetWindowState()
595 aStateRect.size.height = float(pState->mnHeight); in SetWindowState()
596 VCLToCocoa( aStateRect ); in SetWindowState()
597 aStateRect = [NSWindow frameRectForContentRect: aStateRect styleMask: mnStyleMask]; in SetWindowState()
599 [mpNSWindow setFrame: aStateRect display: NO]; in SetWindowState()
673 NSRect aStateRect = [mpNSWindow frame]; in GetWindowState() local
674 aStateRect = [NSWindow contentRectForFrameRect: aStateRect styleMask: mnStyleMask]; in GetWindowState()
675 CocoaToVCL( aStateRect ); in GetWindowState()
676 pState->mnX = long(aStateRect.origin.x); in GetWindowState()
677 pState->mnY = long(aStateRect.origin.y); in GetWindowState()
678 pState->mnWidth = long(aStateRect.size.width); in GetWindowState()
679 pState->mnHeight = long(aStateRect.size.height); in GetWindowState()