diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-08 00:51:21 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-08 00:51:21 +0200 |
commit | c989f5e0e11e295b11ffc921b0d105869e037e47 (patch) | |
tree | b9ac31e57c12fbb0f24d3c0051962e861f7fc213 /vcl/ios/iosinst.cxx | |
parent | 46a47217de2c3225bfdeb9d32bb76bbbd8c26c36 (diff) |
These constants are now in the scoped enum MouseEventModifiers
Change-Id: I73e1498198cbb55ccd969713a38b6cd678c94643
Diffstat (limited to 'vcl/ios/iosinst.cxx')
-rw-r--r-- | vcl/ios/iosinst.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/ios/iosinst.cxx b/vcl/ios/iosinst.cxx index 73092e6ef550..f3fe0b3c3529 100644 --- a/vcl/ios/iosinst.cxx +++ b/vcl/ios/iosinst.cxx @@ -321,15 +321,15 @@ void touch_lo_mouse(int x, int y, MLOMouseButtonState state, MLOModifierMask mod switch (state) { case DOWN: - aEvent = MouseEvent(Point(x, y), 1, MOUSE_SIMPLECLICK, MOUSE_LEFT, nModifiers); + aEvent = MouseEvent(Point(x, y), 1, MouseEventModifiers::SIMPLECLICK, MOUSE_LEFT, nModifiers); nEvent = VCLEVENT_WINDOW_MOUSEBUTTONDOWN; break; case MOVE: - aEvent = MouseEvent(Point(x, y), 1, MOUSE_SIMPLEMOVE, MOUSE_LEFT, nModifiers); + aEvent = MouseEvent(Point(x, y), 1, MouseEventModifiers::SIMPLEMOVE, MOUSE_LEFT, nModifiers); nEvent = VCLEVENT_WINDOW_MOUSEMOVE; break; case UP: - aEvent = MouseEvent(Point(x, y), 1, MOUSE_SIMPLECLICK, MOUSE_LEFT, nModifiers); + aEvent = MouseEvent(Point(x, y), 1, MouseEventModifiers::SIMPLECLICK, MOUSE_LEFT, nModifiers); nEvent = VCLEVENT_WINDOW_MOUSEBUTTONUP; break; default: @@ -388,7 +388,7 @@ void touch_lo_keyboard_did_hide() if (pFocus) { MouseEvent aEvent; - aEvent = MouseEvent(Point(0, 0), 0, MOUSE_LEAVEWINDOW, MOUSE_LEFT); + aEvent = MouseEvent(Point(0, 0), 0, MouseEventModifiers::LEAVEWINDOW, MOUSE_LEFT); Application::PostMouseEvent(VCLEVENT_WINDOW_MOUSEMOVE, pFocus->GetWindow(), &aEvent); } } |