diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2014-05-24 16:43:05 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-05-24 17:41:49 +0200 |
commit | f2e0eafabc27228f25cbbe6f23b225420b7da470 (patch) | |
tree | 40fc86a635f49e12dccff1abe82b0d73a798fb38 /vcl/source | |
parent | 9ef8f82cb933f598d6bc9641f6bb937fce103ec9 (diff) |
Stub mouse move events propagation to 3D charts.
Change-Id: If87545df4b1caeece107a20e0c00df88fb8e6fd5
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/openglwin.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcl/source/window/openglwin.cxx b/vcl/source/window/openglwin.cxx index d6e5357236e7..9fd3935df210 100644 --- a/vcl/source/window/openglwin.cxx +++ b/vcl/source/window/openglwin.cxx @@ -65,6 +65,18 @@ void OpenGLWindow::MouseButtonDown( const MouseEvent& rMEvt ) mpRenderer->clickedAt(aPoint); } +void OpenGLWindow::MouseButtonUp( const MouseEvent& /* rMEvt */ ) +{ + // in case we need to track button state ourselves. +} + +void OpenGLWindow::MouseMove( const MouseEvent& rMEvt ) +{ + if(rMEvt.GetButtons()) + mpRenderer->mouseDragMove(rMEvt.GetPosPixel(), + rMEvt.GetButtons()); +} + void OpenGLWindow::setRenderer(IRenderer* pRenderer) { mpRenderer = pRenderer; |