Lines Matching refs:pSalData
487 SalData* pSalData = GetSalData(); in ImplSalCreateFrame() local
488 pFrame->mnShowState = pSalData->mnCmdShow; in ImplSalCreateFrame()
961 SalData* pSalData = GetSalData(); in WinSalFrame() local
1011 if ( !pSalData->mpFirstFrame ) in WinSalFrame()
1022 mpNextFrame = pSalData->mpFirstFrame; in WinSalFrame()
1023 pSalData->mpFirstFrame = this; in WinSalFrame()
1053 SalData* pSalData = GetSalData(); in ~WinSalFrame() local
1059 WinSalFrame** ppFrame = &pSalData->mpFirstFrame; in ~WinSalFrame()
1084 if ( pSalData->mhWantLeaveMsg == mhWnd ) in ~WinSalFrame()
1086 pSalData->mhWantLeaveMsg = 0; in ~WinSalFrame()
1087 if ( pSalData->mpMouseLeaveTimer ) in ~WinSalFrame()
1089 delete pSalData->mpMouseLeaveTimer; in ~WinSalFrame()
1090 pSalData->mpMouseLeaveTimer = NULL; in ~WinSalFrame()
1112 SalData* pSalData = GetSalData(); in GetGraphics() local
1113 if ( pSalData->mnAppThreadId != GetCurrentThreadId() ) in GetGraphics()
1117 if ( pSalData->mnCacheDCInUse >= 3 ) in GetGraphics()
1131 HDC hDC = (HDC)ImplSendMessage( pSalData->mpFirstInstance->mhComWnd, in GetGraphics()
1137 if ( pSalData->mhDitherPal ) in GetGraphics()
1139 mpGraphics2->mhDefPal = SelectPalette( hDC, pSalData->mhDitherPal, TRUE ); in GetGraphics()
1145 pSalData->mnCacheDCInUse++; in GetGraphics()
1165 if ( pSalData->mhDitherPal ) in GetGraphics()
1167 mpGraphics->mhDefPal = SelectPalette( hDC, pSalData->mhDitherPal, TRUE ); in GetGraphics()
1189 SalData* pSalData = GetSalData(); in ReleaseGraphics() local
1193 ImplSendMessage( pSalData->mpFirstInstance->mhComWnd, in ReleaseGraphics()
1198 pSalData->mnCacheDCInUse--; in ReleaseGraphics()
1651 SalData* pSalData = GetSalData(); in ImplSetParentFrame() local
1660 WinSalFrame *pFrame = pSalData->mpFirstFrame; in ImplSetParentFrame()
1670 WinSalObject *pObject = pSalData->mpFirstObject; in ImplSetParentFrame()
1687 int oldCount = pSalData->mnCacheDCInUse; in ImplSetParentFrame()
1717 HWND hWnd = (HWND) ImplSendMessage( pSalData->mpFirstInstance->mhComWnd, in ImplSetParentFrame()
1734 HDC hDC = (HDC)ImplSendMessage( pSalData->mpFirstInstance->mhComWnd, in ImplSetParentFrame()
1740 if ( pSalData->mhDitherPal ) in ImplSetParentFrame()
1742 … pThis->mpGraphics2->mhDefPal = SelectPalette( hDC, pSalData->mhDitherPal, TRUE ); in ImplSetParentFrame()
1757 pSalData->mnCacheDCInUse++; in ImplSetParentFrame()
1759 … DBG_ASSERT( oldCount == pSalData->mnCacheDCInUse, "WinSalFrame::SetParent() hDC count corrupted"); in ImplSetParentFrame()
2124 SalData* pSalData = GetSalData(); in StartPresentation() local
2127 if ( !pSalData->mpSageEnableProc ) in StartPresentation()
2129 if ( pSalData->mnSageStatus != DISABLE_AGENT ) in StartPresentation()
2137 …pSalData->mpSageEnableProc = (SysAgt_Enable_PROC)osl_getAsciiFunctionSymbol( mhSageInst, "System_A… in StartPresentation()
2140 pSalData->mnSageStatus = DISABLE_AGENT; in StartPresentation()
2144 if ( pSalData->mpSageEnableProc ) in StartPresentation()
2146 pSalData->mnSageStatus = pSalData->mpSageEnableProc( GET_AGENT_STATUS ); in StartPresentation()
2147 if ( pSalData->mnSageStatus == ENABLE_AGENT ) in StartPresentation()
2148 pSalData->mpSageEnableProc( DISABLE_AGENT ); in StartPresentation()
2153 &(pSalData->mbScrSvrEnabled), 0 ); in StartPresentation()
2154 if ( pSalData->mbScrSvrEnabled ) in StartPresentation()
2160 if ( pSalData->mbScrSvrEnabled ) in StartPresentation()
2161 SystemParametersInfo( SPI_SETSCREENSAVEACTIVE, pSalData->mbScrSvrEnabled, 0, 0 ); in StartPresentation()
2164 if ( pSalData->mnSageStatus == ENABLE_AGENT ) in StartPresentation()
2165 pSalData->mpSageEnableProc( pSalData->mnSageStatus ); in StartPresentation()
2868 SalData* pSalData = GetSalData(); in ImplDwmIsCompositionEnabled() local
2869 if( ! pSalData->mpDwmIsCompositionEnabled ) in ImplDwmIsCompositionEnabled()
2871 pSalData->maDwmLib = osl_loadAsciiModule( "Dwmapi.dll", SAL_LOADMODULE_DEFAULT ); in ImplDwmIsCompositionEnabled()
2872 if( pSalData->maDwmLib ) in ImplDwmIsCompositionEnabled()
2873 …pSalData->mpDwmIsCompositionEnabled = (DwmIsCompositionEnabled_ptr)osl_getAsciiFunctionSymbol( pSa… in ImplDwmIsCompositionEnabled()
2874 if( ! pSalData->mpDwmIsCompositionEnabled ) // something failed in ImplDwmIsCompositionEnabled()
2875 pSalData->mpDwmIsCompositionEnabled = backwardCompatibleDwmIsCompositionEnabled; in ImplDwmIsCompositionEnabled()
2878 HRESULT nError = pSalData->mpDwmIsCompositionEnabled( &aResult ); in ImplDwmIsCompositionEnabled()
3397 SalData* pSalData = GetSalData(); in ImplHandleMouseMsg() local
3399 if ( pSalData->mhWantLeaveMsg && (pSalData->mhWantLeaveMsg != hWnd) ) in ImplHandleMouseMsg()
3400 ImplSendMessage( pSalData->mhWantLeaveMsg, SAL_MSG_MOUSELEAVE, 0, GetMessagePos() ); in ImplHandleMouseMsg()
3402 pSalData->mhWantLeaveMsg = hWnd; in ImplHandleMouseMsg()
3404 if ( !pSalData->mpMouseLeaveTimer ) in ImplHandleMouseMsg()
3406 pSalData->mpMouseLeaveTimer = new AutoTimer; in ImplHandleMouseMsg()
3407 pSalData->mpMouseLeaveTimer->SetTimeout( SAL_MOUSELEAVE_TIMEOUT ); in ImplHandleMouseMsg()
3408 pSalData->mpMouseLeaveTimer->Start(); in ImplHandleMouseMsg()
3420 SalData* pSalData = GetSalData(); in ImplHandleMouseMsg() local
3421 if ( pSalData->mhWantLeaveMsg == hWnd ) in ImplHandleMouseMsg()
3423 pSalData->mhWantLeaveMsg = 0; in ImplHandleMouseMsg()
3424 if ( pSalData->mpMouseLeaveTimer ) in ImplHandleMouseMsg()
3426 delete pSalData->mpMouseLeaveTimer; in ImplHandleMouseMsg()
3427 pSalData->mpMouseLeaveTimer = NULL; in ImplHandleMouseMsg()
3598 SalData* pSalData = GetSalData(); in ImplSalGetKeyCode() local
3599 std::map< UINT, sal_uInt16 >::const_iterator it = pSalData->maVKMap.find( (UINT)wParam ); in ImplSalGetKeyCode()
3600 if( it != pSalData->maVKMap.end() ) in ImplSalGetKeyCode()
4508 SalData* pSalData = GetSalData(); in ImplHandleForcePalette() local
4509 HPALETTE hPal = pSalData->mhDitherPal; in ImplHandleForcePalette()
4543 SalData* pSalData = GetSalData(); in ImplHandlePalette() local
4544 HPALETTE hPal = pSalData->mhDitherPal; in ImplHandlePalette()
4549 if ( pSalData->mbInPalChange ) in ImplHandlePalette()
4580 pSalData->mbInPalChange = TRUE; in ImplHandlePalette()
4583 pTempVD = pSalData->mpFirstVD; in ImplHandlePalette()
4595 pTempFrame = pSalData->mpFirstFrame; in ImplHandlePalette()
4633 pTempVD = pSalData->mpFirstVD; in ImplHandlePalette()
4644 pTempFrame = pSalData->mpFirstFrame; in ImplHandlePalette()
4663 pTempFrame = pSalData->mpFirstFrame; in ImplHandlePalette()
4677 pSalData->mbInPalChange = FALSE; in ImplHandlePalette()
5780 SalData* pSalData = GetSalData(); in SalTestMouseLeave() local
5782 if ( pSalData->mhWantLeaveMsg && !::GetCapture() ) in SalTestMouseLeave()
5786 if ( pSalData->mhWantLeaveMsg != WindowFromPoint( aPt ) ) in SalTestMouseLeave()
5787 … ImplSendMessage( pSalData->mhWantLeaveMsg, SAL_MSG_MOUSELEAVE, 0, MAKELPARAM( aPt.x, aPt.y ) ); in SalTestMouseLeave()
6306 SalData* pSalData = GetSalData(); in SalFrameWndProc() local
6307 if( pSalData->mnNextTimerTime ) in SalFrameWndProc()
6310 if( pSalData->mnNextTimerTime < nCurTime ) in SalFrameWndProc()
6314 ImplPostMessage( pSalData->mpFirstInstance->mhComWnd, SAL_MSG_POSTTIMER, 0, nCurTime ); in SalFrameWndProc()