21#include <osl/mutex.hxx>
31 mpNotifyWindow( &rEventWindow )
55 const std::unique_lock aGuard(
maMutex );
61 ( ( e.Modifiers & 2 ) ?
KEY_MOD1 : 0 ) |
62 ( ( e.Modifiers & 4 ) ?
KEY_MOD2 : 0 ) );
63 KeyEvent aVCLKeyEvt( e.KeyChar, aVCLKeyCode );
72 const std::unique_lock aGuard(
maMutex );
78 ( ( e.Modifiers & 2 ) ?
KEY_MOD1 : 0 ) |
79 ( ( e.Modifiers & 4 ) ?
KEY_MOD2 : 0 ) );
80 KeyEvent aVCLKeyEvt( e.KeyChar, aVCLKeyCode );
88 const std::unique_lock aGuard(
maMutex );
93 sal::static_int_cast< sal_uInt16 >(e.ClickCount),
94 MouseEventModifiers::NONE,
106 const std::unique_lock aGuard(
maMutex );
112 sal::static_int_cast< sal_uInt16 >(e.ClickCount),
113 MouseEventModifiers::NONE,
135 const std::unique_lock aGuard(
maMutex );
139 MouseEvent aVCLMouseEvt(
Point( e.X, e.Y ), 0, MouseEventModifiers::NONE, e.Buttons, e.Modifiers );
147 const std::unique_lock aGuard(
maMutex );
151 MouseEvent aVCLMouseEvt(
Point( e.X, e.Y ), 0, MouseEventModifiers::NONE, e.Buttons, e.Modifiers );
static ImplSVEvent * PostKeyEvent(VclEventId nEvent, vcl::Window *pWin, KeyEvent const *pKeyEvent)
static ImplSVEvent * PostMouseEvent(VclEventId nEvent, vcl::Window *pWin, MouseEvent const *pMouseEvent)
static void RemoveMouseAndKeyEvents(vcl::Window *pWin)
reference_type * get() const
constexpr sal_uInt16 KEY_MOD2
constexpr sal_uInt16 KEY_MOD1
constexpr sal_uInt16 KEY_SHIFT