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 /include/vcl/openglwin.hxx | |
parent | 9ef8f82cb933f598d6bc9641f6bb937fce103ec9 (diff) |
Stub mouse move events propagation to 3D charts.
Change-Id: If87545df4b1caeece107a20e0c00df88fb8e6fd5
Diffstat (limited to 'include/vcl/openglwin.hxx')
-rw-r--r-- | include/vcl/openglwin.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/openglwin.hxx b/include/vcl/openglwin.hxx index 8e34d0579521..f69d0b327388 100644 --- a/include/vcl/openglwin.hxx +++ b/include/vcl/openglwin.hxx @@ -10,6 +10,7 @@ #ifndef INCLUDED_VCL_OPENGLWIN_HXX #define INCLUDED_VCL_OPENGLWIN_HXX +#include <vcl/event.hxx> #include <vcl/syschild.hxx> #include <vcl/vclopengl_dllapi.hxx> @@ -24,6 +25,7 @@ public: virtual ~IRenderer() {} virtual void update() = 0; virtual void clickedAt(const Point& rPos) = 0; + virtual void mouseDragMove(const Point& rPos, sal_uInt16 nButtons) = 0; virtual void contextDestroyed() = 0; }; @@ -39,7 +41,10 @@ public: void setRenderer(IRenderer* pRenderer); virtual void Paint(const Rectangle&) SAL_OVERRIDE; + virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; + virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE; + virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE; private: boost::scoped_ptr<OpenGLWindowImpl> mpImpl; |