| /AOO41X/main/vcl/unx/generic/window/ |
| H A D | salframe.cxx | 2516 X11SalFrame::HandleExtTextEvent (XClientMessageEvent *pEvent) in HandleExtTextEvent() argument 2519 void* pExtTextEvent = (void*)( (pEvent->data.l[0] & 0xffffffff) in HandleExtTextEvent() 2520 | (pEvent->data.l[1] << 32) ); in HandleExtTextEvent() 2522 void* pExtTextEvent = (void*)(pEvent->data.l[0]); in HandleExtTextEvent() 2524 sal_uInt16 nExtTextEventType = sal_uInt16(pEvent->data.l[2]); in HandleExtTextEvent() 2853 long X11SalFrame::HandleMouseEvent( XEvent *pEvent ) in HandleMouseEvent() argument 2859 if( nVisibleFloats && pEvent->type == EnterNotify ) in HandleMouseEvent() 2866 switch (pEvent->type) in HandleMouseEvent() 2870 if ( pEvent->xcrossing.state & Button2Mask ) in HandleMouseEvent() 2872 pEvent->xcrossing.state &= ~Button2Mask; in HandleMouseEvent() [all …]
|
| H A D | salobj.cxx | 475 long X11SalObject::Dispatch( XEvent* pEvent ) in Dispatch() argument 482 if( pEvent->xany.window == pObject->maPrimary || in Dispatch() 483 pEvent->xany.window == pObject->maSecondary ) in Dispatch() 486 pEvent->type == ButtonPress || in Dispatch() 487 pEvent->type == ButtonRelease || in Dispatch() 488 pEvent->type == EnterNotify || in Dispatch() 489 pEvent->type == LeaveNotify || in Dispatch() 490 pEvent->type == MotionNotify in Dispatch() 498 XTranslateCoordinates( pEvent->xbutton.display, in Dispatch() 499 pEvent->xbutton.root, in Dispatch() [all …]
|
| /AOO41X/main/slideshow/source/engine/animationnodes/ |
| H A D | generateevent.cxx | 55 EventSharedPtr pEvent; in generateEvent() local 58 return pEvent; in generateEvent() 107 pEvent = makeDelay( rFunctor, in generateEvent() 111 pEvent, xNode ); in generateEvent() 121 pEvent = makeDelay( rFunctor, in generateEvent() 125 pEvent, xNode ); in generateEvent() 137 pEvent = makeDelay( rFunctor, in generateEvent() 141 pEvent, pShape ); in generateEvent() 153 pEvent = makeDelay( rFunctor, in generateEvent() 157 pEvent, pShape ); in generateEvent() [all …]
|
| /AOO41X/main/vcl/source/window/ |
| H A D | winproc.cxx | 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() [all …]
|
| /AOO41X/main/vcl/unx/generic/app/ |
| H A D | saldisp.cxx | 1662 KeySym SalDisplay::GetKeySym( XKeyEvent *pEvent, in GetKeySym() argument 1675 || (pEvent->type == KeyRelease) in GetKeySym() 1680 *pLen = XLookupString( pEvent, (char*)pPrintable, 1, &nKeySym, NULL ); in GetKeySym() 1685 pEvent, (char*)pPrintable, *pLen - 1, &nKeySym, pStatusReturn ); in GetKeySym() 1733 KeySym nNewKeySym = XLookupKeysym( pEvent, nNumLockIndex_ ); in GetKeySym() 1740 *pUnmodifiedKeySym = XkbKeycodeToKeysym( GetDisplay(), pEvent->keycode, 0, 0 ); in GetKeySym() 2262 long SalX11Display::Dispatch( XEvent *pEvent ) in Dispatch() argument 2264 if( pEvent->type == XLIB_KeyPress || pEvent->type == KeyRelease ) in Dispatch() 2266 XLIB_Window aWindow = pEvent->xkey.window; in Dispatch() 2280 if ( mpInputMethod->FilterEvent( pEvent , aWindow ) ) in Dispatch() [all …]
|
| H A D | saldata.cxx | 229 int X11SalData::XErrorHdl( Display *pDisplay, XErrorEvent *pEvent ) in XErrorHdl() argument 231 GetX11SalData()->XError( pDisplay, pEvent ); in XErrorHdl() 487 static void PrintXError( Display *pDisplay, XErrorEvent *pEvent ) in PrintXError() argument 491 XGetErrorText( pDisplay, pEvent->error_code, msg, sizeof( msg ) ); in PrintXError() 494 if( pEvent->request_code < capacityof( XRequest ) ) in PrintXError() 496 const char* pName = XRequest[pEvent->request_code]; in PrintXError() 499 std::fprintf( stderr, "\tMajor opcode: %d (%s)\n", pEvent->request_code, pName ); in PrintXError() 503 std::fprintf( stderr, "\tMajor opcode: %d\n", pEvent->request_code ); in PrintXError() 505 std::fprintf( stderr, "\tMinor opcode: %d\n", pEvent->minor_code ); in PrintXError() 509 pEvent->resourceid ); in PrintXError() [all …]
|
| /AOO41X/main/vcl/unx/gtk/window/ |
| H A D | gtkframe.cxx | 2501 bool GtkSalFrame::Dispatch( const XEvent* pEvent ) in Dispatch() argument 2505 if( pEvent->type == PropertyNotify ) in Dispatch() 2509 if( pEvent->xproperty.atom == nDesktopAtom && in Dispatch() 2510 pEvent->xproperty.state == PropertyNewValue ) in Dispatch() 2515 else if( pEvent->type == ConfigureNotify ) in Dispatch() 2517 if( m_pForeignParent && pEvent->xconfigure.window == m_aForeignParentWindow ) in Dispatch() 2520 … gtk_window_resize( GTK_WINDOW(m_pWindow), pEvent->xconfigure.width, pEvent->xconfigure.height ); in Dispatch() 2522 pEvent->xconfigure.width ) || in Dispatch() 2524 pEvent->xconfigure.height ) ) in Dispatch() 2526 maGeometry.nWidth = pEvent->xconfigure.width; in Dispatch() [all …]
|
| /AOO41X/main/vcl/inc/aqua/ |
| H A D | salframeview.h | 89 -(BOOL)acceptsFirstMouse: (NSEvent *)pEvent; 92 -(void)mouseDown: (NSEvent*)pEvent; 93 -(void)mouseDragged: (NSEvent*)pEvent; 94 -(void)mouseUp: (NSEvent*)pEvent; 95 -(void)mouseMoved: (NSEvent*)pEvent; 96 -(void)mouseEntered: (NSEvent*)pEvent; 97 -(void)mouseExited: (NSEvent*)pEvent; 98 -(void)rightMouseDown: (NSEvent*)pEvent; 99 -(void)rightMouseDragged: (NSEvent*)pEvent; 100 -(void)rightMouseUp: (NSEvent*)pEvent; [all …]
|
| /AOO41X/main/unoxml/source/events/ |
| H A D | eventdispatcher.cxx | 105 CEvent *pEvent = 0; // pointer to internal event representation in dispatchEvent() local 127 pEvent = pMEvent; in dispatchEvent() 138 pEvent = pUIEvent; in dispatchEvent() 158 pEvent = pMouseEvent; in dispatchEvent() 162 pEvent = new CEvent; in dispatchEvent() 163 pEvent->initEvent( in dispatchEvent() 166 pEvent->m_target.set(xNode, UNO_QUERY_THROW); in dispatchEvent() 167 pEvent->m_currentTarget = i_xEvent->getCurrentTarget(); in dispatchEvent() 168 pEvent->m_time = i_xEvent->getTimeStamp(); in dispatchEvent() 172 Reference< XEvent > const xEvent(pEvent); in dispatchEvent() [all …]
|
| /AOO41X/main/vcl/aqua/source/window/ |
| H A D | salframeview.mm | 466 -(BOOL)acceptsFirstMouse: (NSEvent*)pEvent 468 (void)pEvent; 526 -(void)sendMouseEventToFrame: (NSEvent*)pEvent button:(sal_uInt16)nButton eventtype:(sal_uInt16)nEv… 582 pDispatchFrame->mnLastEventTime = static_cast<sal_uLong>( [pEvent timestamp] * 1000.0 ); 583 pDispatchFrame->mnLastModifierFlags = [pEvent modifierFlags]; 588 sal_uInt16 nModMask = ImplGetModifierMask( [pEvent modifierFlags] ); 611 -(void)mouseDown: (NSEvent*)pEvent 616 [mpMouseEventListener mouseDown: [pEvent copyWithZone: NULL]]; 620 [self sendMouseEventToFrame:pEvent button:MOUSE_LEFT eventtype:SALEVENT_MOUSEBUTTONDOWN]; 623 -(void)mouseDragged: (NSEvent*)pEvent [all …]
|
| /AOO41X/main/vcl/aqua/source/app/ |
| H A D | vclnsapp.mm | 60 NSEvent* pEvent = [NSEvent otherEventWithType: NSApplicationDefined 69 if( pEvent ) 70 [NSApp postEvent: pEvent atStart: NO]; 73 -(void)sendEvent:(NSEvent*)pEvent 75 NSEventType eType = [pEvent type]; 77 GetSalData()->mpFirstInstance->handleAppDefinedEvent( pEvent ); 78 else if( eType == NSKeyDown && ([pEvent modifierFlags] & NSCommandKeyMask) != 0 ) 92 …unsigned int nModMask = ([pEvent modifierFlags] & (NSShiftKeyMask|NSControlKeyMask|NSAlternateKeyM… 96 && [[pEvent charactersIgnoringModifiers] isEqualToString: @"w"] ) 106 if( [[pEvent charactersIgnoringModifiers] isEqualToString: @"m"] ) [all …]
|
| H A D | salinst.cxx | 476 NSEvent* pEvent = [NSEvent otherEventWithType: NSApplicationDefined in wakeupYield() local 485 if( pEvent ) in wakeupYield() 486 [NSApp postEvent: pEvent atStart: NO]; in wakeupYield() 568 void AquaSalInstance::handleAppDefinedEvent( NSEvent* pEvent ) in handleAppDefinedEvent() argument 570 switch( [pEvent subtype] ) in handleAppDefinedEvent() 573 AquaSalTimer::handleStartTimerEvent( pEvent ); in handleAppDefinedEvent() 605 switch ([pEvent data1]) in handleAppDefinedEvent() 726 NSEvent* pEvent = nil; in Yield() local 732 pEvent = [NSApp nextEventMatchingMask: NSAnyEventMask untilDate: nil in Yield() 734 if( pEvent ) in Yield() [all …]
|
| H A D | saltimer.cxx | 74 NSEvent* pEvent = [NSEvent otherEventWithType: NSApplicationDefined in ImplSalStartTimer() local 83 if( pEvent ) in ImplSalStartTimer() 84 [NSApp postEvent: pEvent atStart: YES]; in ImplSalStartTimer() 93 void AquaSalTimer::handleStartTimerEvent( NSEvent* pEvent ) in handleStartTimerEvent() argument 98 NSTimeInterval posted = [pEvent timestamp] + NSTimeInterval([pEvent data1])/1000.0; in handleStartTimerEvent() 106 ImplSalStartTimer( sal_uLong( [pEvent data1] ) ); in handleStartTimerEvent()
|
| /AOO41X/main/vcl/aqua/source/a11y/ |
| H A D | aqua11yfocustracker.cxx | 48 getWindow(const ::VclSimpleEvent *pEvent) in getWindow() argument 50 return static_cast< const ::VclWindowEvent *> (pEvent)->GetWindow(); in getWindow() 58 …cusTracker::WindowEventHandler(AquaA11yFocusTracker *pFocusTracker, ::VclSimpleEvent const *pEvent) in WindowEventHandler() argument 60 switch (pEvent->GetId()) in WindowEventHandler() 63 pFocusTracker-> toolbox_open_floater( getWindow(pEvent) ); in WindowEventHandler() 66 pFocusTracker->window_got_focus( getWindow(pEvent) ); in WindowEventHandler() 69 pFocusTracker->m_aDocumentWindowList.erase( getWindow(pEvent) ); in WindowEventHandler() 72 pFocusTracker->toolbox_highlight_off( getWindow(pEvent) ); in WindowEventHandler() 75 pFocusTracker->toolbox_highlight_on( getWindow(pEvent) ); in WindowEventHandler() 78 pFocusTracker->tabpage_activated( getWindow(pEvent) ); in WindowEventHandler() [all …]
|
| /AOO41X/main/vcl/unx/gtk/a11y/ |
| H A D | atkutil.cxx | 483 static void handle_toolbox_buttonchange(VclWindowEvent const *pEvent) in handle_toolbox_buttonchange() argument 485 Window* pWindow = pEvent->GetWindow(); in handle_toolbox_buttonchange() 486 sal_Int32 index = (sal_Int32)(sal_IntPtr) pEvent->GetData(); in handle_toolbox_buttonchange() 524 static void handle_get_focus(::VclWindowEvent const * pEvent) in handle_get_focus() argument 529 Window *pWindow = pEvent->GetWindow(); in handle_get_focus() 594 static void handle_menu_highlighted(::VclMenuEvent const * pEvent) in handle_menu_highlighted() argument 598 Menu* pMenu = pEvent->GetMenu(); in handle_menu_highlighted() 599 sal_uInt16 nPos = pEvent->GetItemPos(); in handle_menu_highlighted() 622 long WindowEventHandler(void *, ::VclSimpleEvent const * pEvent) in WindowEventHandler() argument 624 switch (pEvent->GetId()) in WindowEventHandler() [all …]
|
| /AOO41X/main/vcl/inc/unx/ |
| H A D | salframe.h | 151 long HandleKeyEvent ( XKeyEvent *pEvent ); 152 long HandleMouseEvent ( XEvent *pEvent ); 153 long HandleFocusEvent ( XFocusChangeEvent *pEvent ); 154 long HandleExposeEvent ( XEvent *pEvent ); 155 long HandleSizeEvent ( XConfigureEvent *pEvent ); 156 long HandleColormapEvent ( XColormapEvent *pEvent ); 157 long HandleMapUnmapEvent ( XEvent *pEvent ); 158 long HandleStateEvent ( XPropertyEvent *pEvent ); 159 long HandleReparentEvent ( XReparentEvent *pEvent ); 160 long HandleClientMessage ( XClientMessageEvent*pEvent ); [all …]
|
| /AOO41X/main/accessibility/source/standard/ |
| H A D | vclxaccessiblemenubar.cxx | 78 IMPL_LINK( VCLXAccessibleMenuBar, WindowEventListener, VclSimpleEvent*, pEvent ) in IMPL_LINK() argument 80 …DBG_ASSERT( pEvent && pEvent->ISA( VclWindowEvent ), "VCLXAccessibleMenuBar::WindowEventListener: … in IMPL_LINK() 81 if ( pEvent && pEvent->ISA( VclWindowEvent ) ) in IMPL_LINK() 83 …DBG_ASSERT( ((VclWindowEvent*)pEvent)->GetWindow(), "VCLXAccessibleMenuBar::WindowEventListener: n… in IMPL_LINK() 84 …if ( !((VclWindowEvent*)pEvent)->GetWindow()->IsAccessibilityEventsSuppressed() || ( pEvent->GetId… in IMPL_LINK() 86 ProcessWindowEvent( *(VclWindowEvent*)pEvent ); in IMPL_LINK()
|
| /AOO41X/main/accessibility/source/extended/ |
| H A D | listboxaccessible.cxx | 57 IMPL_LINK( ListBoxAccessibleBase, WindowEventListener, VclSimpleEvent*, pEvent ) in IMPL_LINK() argument 59 …DBG_ASSERT( pEvent && pEvent->ISA( VclWindowEvent ), "ListBoxAccessibleBase::WindowEventListener: … in IMPL_LINK() 60 if ( pEvent && pEvent->ISA( VclWindowEvent ) ) in IMPL_LINK() 62 …DBG_ASSERT( static_cast< VclWindowEvent* >( pEvent )->GetWindow() , "ListBoxAccessibleBase::Window… in IMPL_LINK() 63 …DBG_ASSERT( static_cast< VclWindowEvent* >( pEvent )->GetWindow() == m_pWindow, "ListBoxAccessible… in IMPL_LINK() 65 ProcessWindowEvent( *static_cast< VclWindowEvent* >( pEvent ) ); in IMPL_LINK()
|
| /AOO41X/main/slideshow/source/engine/ |
| H A D | eventqueue.cxx | 84 maEvents.top().pEvent->dispose(); in ~EventQueue() 228 if( event.pEvent->isCharged() ) in process_() 234 event.pEvent.get(), in process_() 235 event.pEvent->getActivationTime(0.0) ); in process_() 240 OUStringToOString(event.pEvent->GetDescription(), in process_() 242 event.pEvent.get(), in process_() 243 event.pEvent->getActivationTime(0.0)); in process_() 246 event.pEvent->fire(); in process_() 288 event.pEvent.get(), in process_() 289 event.pEvent->getActivationTime(0.0) ); in process_()
|
| /AOO41X/main/toolkit/source/awt/ |
| H A D | vclxaccessiblecomponent.cxx | 131 IMPL_LINK( VCLXAccessibleComponent, WindowEventListener, VclSimpleEvent*, pEvent ) in IMPL_LINK() argument 135 DBG_ASSERT( pEvent && pEvent->ISA( VclWindowEvent ), "Unknown WindowEvent!" ); in IMPL_LINK() 141 …if ( pEvent && pEvent->ISA( VclWindowEvent ) && mxWindow.is() /* #122218# */ && (pEvent->GetId() !… in IMPL_LINK() 143 DBG_ASSERT( ((VclWindowEvent*)pEvent)->GetWindow(), "Window???" ); in IMPL_LINK() 144 …if( !((VclWindowEvent*)pEvent)->GetWindow()->IsAccessibilityEventsSuppressed() || ( pEvent->GetId(… in IMPL_LINK() 146 ProcessWindowEvent( *(VclWindowEvent*)pEvent ); in IMPL_LINK() 152 IMPL_LINK( VCLXAccessibleComponent, WindowChildEventListener, VclSimpleEvent*, pEvent ) in IMPL_LINK() argument 156 DBG_ASSERT( pEvent && pEvent->ISA( VclWindowEvent ), "Unknown WindowEvent!" ); in IMPL_LINK() 157 if ( pEvent && pEvent->ISA( VclWindowEvent ) && mxWindow.is() /* #i68079# */ ) in IMPL_LINK() 159 DBG_ASSERT( ((VclWindowEvent*)pEvent)->GetWindow(), "Window???" ); in IMPL_LINK() [all …]
|
| H A D | vclxtoolkit.cxx | 1578 IMPL_LINK(VCLXToolkit, eventListenerHandler, ::VclSimpleEvent const *, pEvent) in IMPL_LINK() argument 1580 switch (pEvent->GetId()) in IMPL_LINK() 1584 pEvent, &::css::awt::XTopWindowListener::windowOpened); in IMPL_LINK() 1588 pEvent, &::css::awt::XTopWindowListener::windowClosed); in IMPL_LINK() 1592 pEvent, &::css::awt::XTopWindowListener::windowActivated); in IMPL_LINK() 1596 pEvent, &::css::awt::XTopWindowListener::windowDeactivated); in IMPL_LINK() 1600 pEvent, &::css::awt::XTopWindowListener::windowClosing); in IMPL_LINK() 1603 callFocusListeners(pEvent, true); in IMPL_LINK() 1606 callFocusListeners(pEvent, false); in IMPL_LINK() 1610 pEvent, &::css::awt::XTopWindowListener::windowMinimized); in IMPL_LINK() [all …]
|
| /AOO41X/main/svtools/source/control/ |
| H A D | vclxaccessibleheaderbaritem.cxx | 98 IMPL_LINK( VCLXAccessibleHeaderBarItem, WindowEventListener, VclSimpleEvent*, pEvent ) in IMPL_LINK() argument 101 …DBG_ASSERT( pEvent && pEvent->ISA( VclWindowEvent ), "VCLXAccessibleHeaderBarItem::WindowEventList… in IMPL_LINK() 103 if ( pEvent && pEvent->ISA( VclWindowEvent ) ) in IMPL_LINK() 105 …DBG_ASSERT( ((VclWindowEvent*)pEvent)->GetWindow(), "VCLXAccessibleHeaderBarItem::WindowEventListe… in IMPL_LINK() 106 …if ( !((VclWindowEvent*)pEvent)->GetWindow()->IsAccessibilityEventsSuppressed() || ( pEvent->GetId… in IMPL_LINK() 108 ProcessWindowEvent( *(VclWindowEvent*)pEvent ); in IMPL_LINK()
|
| /AOO41X/main/vcl/source/app/ |
| H A D | vclevent.cxx | 55 void VclEventListeners::Call( VclSimpleEvent* pEvent ) const in Call() 60 if( pEvent->IsA( VclWindowEvent::StaticType() ) ) in Call() 62 VclWindowEvent* pWinEvent = static_cast<VclWindowEvent*>(pEvent); in Call() 66 (*aIter).Call( pEvent ); in Call() 74 (*aIter).Call( pEvent ); in Call() 80 sal_Bool VclEventListeners::Process( VclSimpleEvent* pEvent ) const in Process() 88 if( (*aIter).Call( pEvent ) != 0 ) in Process()
|
| /AOO41X/main/vcl/unx/gtk/app/ |
| H A D | gtkdata.cxx | 136 XEvent *pEvent = (XEvent *)sys_event; in filterGdkEvent() local 141 CallEventCallback( pEvent, sizeof( XEvent ) ) ) in filterGdkEvent() 146 if (pDisplay->GetDisplay() == pEvent->xany.display ) in filterGdkEvent() 153 if( pEvent->type == PropertyNotify && in filterGdkEvent() 154 pEvent->xproperty.atom == pDisplay->getWMAdaptor()->getAtom( WMAdaptor::XSETTINGS ) && in filterGdkEvent() 166 if( (GdkNativeWindow)pFrame->GetSystemData()->aWindow == pEvent->xany.window || in filterGdkEvent() 167 … ( pFrame->getForeignParent() && pFrame->getForeignParentWindow() == pEvent->xany.window ) || in filterGdkEvent() 168 … ( pFrame->getForeignTopLevel() && pFrame->getForeignTopLevelWindow() == pEvent->xany.window ) in filterGdkEvent() 171 if( ! pFrame->Dispatch( pEvent ) ) in filterGdkEvent() 176 X11SalObject::Dispatch( pEvent ); in filterGdkEvent() [all …]
|
| /AOO41X/main/vcl/source/helper/ |
| H A D | evntpost.cxx | 47 void EventPoster::Post( UserEvent* pEvent ) in Post() argument 50 m_nId = GetpApp()->PostUserEvent( ( LINK( this, EventPoster, DoEvent_Impl ) ), pEvent ); in Post() 53 IMPL_LINK_INLINE_START( EventPoster, DoEvent_Impl, UserEvent*, pEvent ) in IMPL_LINK_INLINE_START() argument 56 m_aLink.Call( pEvent ); in IMPL_LINK_INLINE_START() 59 IMPL_LINK_INLINE_END( EventPoster, DoEvent_Impl, UserEvent*, pEvent )
|