Lines Matching refs:pEvent

2009 static sal_uInt16 ImplGetMouseMoveMode( SalMouseEvent* pEvent )  in ImplGetMouseMoveMode()  argument
2012 if ( !pEvent->mnCode ) in ImplGetMouseMoveMode()
2014 if ( (pEvent->mnCode & MOUSE_LEFT) && !(pEvent->mnCode & KEY_MOD1) ) in ImplGetMouseMoveMode()
2016 if ( (pEvent->mnCode & MOUSE_LEFT) && (pEvent->mnCode & KEY_MOD1) ) in ImplGetMouseMoveMode()
2023 static sal_uInt16 ImplGetMouseButtonMode( SalMouseEvent* pEvent ) in ImplGetMouseButtonMode() argument
2026 if ( pEvent->mnButton == MOUSE_LEFT ) in ImplGetMouseButtonMode()
2028 if ( (pEvent->mnButton == MOUSE_LEFT) && !(pEvent->mnCode & (MOUSE_MIDDLE | MOUSE_RIGHT)) ) in ImplGetMouseButtonMode()
2030 if ( (pEvent->mnButton == MOUSE_LEFT) && (pEvent->mnCode & KEY_MOD1) && in ImplGetMouseButtonMode()
2031 !(pEvent->mnCode & (MOUSE_MIDDLE | MOUSE_RIGHT | KEY_SHIFT)) ) in ImplGetMouseButtonMode()
2033 if ( (pEvent->mnButton == MOUSE_LEFT) && (pEvent->mnCode & KEY_SHIFT) && in ImplGetMouseButtonMode()
2034 !(pEvent->mnCode & (MOUSE_MIDDLE | MOUSE_RIGHT | KEY_MOD1)) ) in ImplGetMouseButtonMode()
2041 inline long ImplHandleSalMouseLeave( Window* pWindow, SalMouseEvent* pEvent ) in ImplHandleSalMouseLeave() argument
2044 pEvent->mnX, pEvent->mnY, in ImplHandleSalMouseLeave()
2045 pEvent->mnTime, pEvent->mnCode, in ImplHandleSalMouseLeave()
2046 ImplGetMouseMoveMode( pEvent ) ); in ImplHandleSalMouseLeave()
2051 inline long ImplHandleSalMouseMove( Window* pWindow, SalMouseEvent* pEvent ) in ImplHandleSalMouseMove() argument
2054 pEvent->mnX, pEvent->mnY, in ImplHandleSalMouseMove()
2055 pEvent->mnTime, pEvent->mnCode, in ImplHandleSalMouseMove()
2056 ImplGetMouseMoveMode( pEvent ) ); in ImplHandleSalMouseMove()
2061 inline long ImplHandleSalMouseButtonDown( Window* pWindow, SalMouseEvent* pEvent ) in ImplHandleSalMouseButtonDown() argument
2064 pEvent->mnX, pEvent->mnY, in ImplHandleSalMouseButtonDown()
2065 pEvent->mnTime, in ImplHandleSalMouseButtonDown()
2067 pEvent->mnButton | (pEvent->mnCode & (KEY_SHIFT | KEY_MOD1 | KEY_MOD2 | KEY_MOD3)), in ImplHandleSalMouseButtonDown()
2069pEvent->mnButton | (pEvent->mnCode & (KEY_SHIFT | KEY_MOD1 | KEY_MOD2)), in ImplHandleSalMouseButtonDown()
2071 ImplGetMouseButtonMode( pEvent ) ); in ImplHandleSalMouseButtonDown()
2076 inline long ImplHandleSalMouseButtonUp( Window* pWindow, SalMouseEvent* pEvent ) in ImplHandleSalMouseButtonUp() argument
2079 pEvent->mnX, pEvent->mnY, in ImplHandleSalMouseButtonUp()
2080 pEvent->mnTime, in ImplHandleSalMouseButtonUp()
2082 pEvent->mnButton | (pEvent->mnCode & (KEY_SHIFT | KEY_MOD1 | KEY_MOD2 | KEY_MOD3)), in ImplHandleSalMouseButtonUp()
2084pEvent->mnButton | (pEvent->mnCode & (KEY_SHIFT | KEY_MOD1 | KEY_MOD2)), in ImplHandleSalMouseButtonUp()
2086 ImplGetMouseButtonMode( pEvent ) ); in ImplHandleSalMouseButtonUp()
2098 static long ImplHandleMenuEvent( Window* pWindow, SalMenuEvent* pEvent, sal_uInt16 nEvent ) in ImplHandleMenuEvent() argument
2117 nRet = pMenuBar->HandleMenuActivateEvent( (Menu*) pEvent->mpMenu ) ? 1 : 0; in ImplHandleMenuEvent()
2120 nRet = pMenuBar->HandleMenuDeActivateEvent( (Menu*) pEvent->mpMenu ) ? 1 : 0; in ImplHandleMenuEvent()
2123 … nRet = pMenuBar->HandleMenuHighlightEvent( (Menu*) pEvent->mpMenu, pEvent->mnId ) ? 1 : 0; in ImplHandleMenuEvent()
2126 … nRet = pMenuBar->HandleMenuButtonEvent( (Menu*) pEvent->mpMenu, pEvent->mnId ) ? 1 : 0; in ImplHandleMenuEvent()
2129 … nRet = pMenuBar->HandleMenuCommandEvent( (Menu*) pEvent->mpMenu, pEvent->mnId ) ? 1 : 0; in ImplHandleMenuEvent()
2141 static void ImplHandleSalKeyMod( Window* pWindow, SalKeyModEvent* pEvent ) in ImplHandleSalKeyMod() argument
2152 sal_uInt16 nNewCode = pEvent->mnCode; in ImplHandleSalKeyMod()
2171 if( pEvent->mnModKeyCode != 0 ) in ImplHandleSalKeyMod()
2173 CommandModKeyData data( pEvent->mnModKeyCode ); in ImplHandleSalKeyMod()
2363 sal_uInt16 nEvent, const void* pEvent ) in ImplWindowFrameProc() argument
2378 nRet = ImplHandleSalMouseMove( pWindow, (SalMouseEvent*)pEvent ); in ImplWindowFrameProc()
2382 MouseEvent* pMouseEvt = (MouseEvent*) pEvent; in ImplWindowFrameProc()
2395 nRet = ImplHandleSalMouseLeave( pWindow, (SalMouseEvent*)pEvent ); in ImplWindowFrameProc()
2398 nRet = ImplHandleSalMouseButtonDown( pWindow, (SalMouseEvent*)pEvent ); in ImplWindowFrameProc()
2402 MouseEvent* pMouseEvt = (MouseEvent*) pEvent; in ImplWindowFrameProc()
2415 nRet = ImplHandleSalMouseButtonUp( pWindow, (SalMouseEvent*)pEvent ); in ImplWindowFrameProc()
2419 MouseEvent* pMouseEvt = (MouseEvent*) pEvent; in ImplWindowFrameProc()
2432 nRet = ImplHandleSalMouseActivate( pWindow, (SalMouseActivateEvent*)pEvent ); in ImplWindowFrameProc()
2436 SalKeyEvent* pKeyEvt = (SalKeyEvent*)pEvent; in ImplWindowFrameProc()
2443 KeyEvent* pKeyEvt = (KeyEvent*) pEvent; in ImplWindowFrameProc()
2450 SalKeyEvent* pKeyEvt = (SalKeyEvent*)pEvent; in ImplWindowFrameProc()
2457 KeyEvent* pKeyEvt = (KeyEvent*) pEvent; in ImplWindowFrameProc()
2463 ImplHandleSalKeyMod( pWindow, (SalKeyModEvent*)pEvent ); in ImplWindowFrameProc()
2475 nRet = ImplHandleMenuEvent( pWindow, (SalMenuEvent*)pEvent, nEvent ); in ImplWindowFrameProc()
2479 nRet = ImplHandleWheelEvent( pWindow, *(const SalWheelMouseEvent*)pEvent); in ImplWindowFrameProc()
2484 SalPaintEvent* pPaintEvt = (SalPaintEvent*)pEvent; in ImplWindowFrameProc()
2568 ImplHandleUserEvent( (ImplSVEvent*)pEvent ); in ImplWindowFrameProc()
2573 SalExtTextInputEvent* pEvt = (SalExtTextInputEvent*)pEvent; in ImplWindowFrameProc()
2583 ImplHandleSalExtTextInputPos( pWindow, (SalExtTextInputPosEvent*)pEvent ); in ImplWindowFrameProc()
2586 … nRet = ImplHandleInputContextChange( pWindow, ((SalInputContextChangeEvent*)pEvent)->meLanguage ); in ImplWindowFrameProc()
2590 int nDialogID = static_cast<int>(reinterpret_cast<sal_IntPtr>(pEvent)); in ImplWindowFrameProc()
2595 ImplHandleSalSurroundingTextRequest( pWindow, (SalSurroundingTextRequestEvent*)pEvent ); in ImplWindowFrameProc()
2600 = (SalSurroundingTextSelectionChangeEvent*)pEvent; in ImplWindowFrameProc()