[Libreoffice-commits] core.git: vcl/source

Markus Mohrhard markus.mohrhard at googlemail.com
Wed May 14 07:15:53 PDT 2014


 vcl/source/window/openglwin.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 9a9bde50204347444825572bdf62f55cccdea49b
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Wed May 14 16:11:14 2014 +0200

    provide the click event to chart2
    
    Change-Id: I4ee1c51d6602a089483099f5700afcb03f474d5b

diff --git a/vcl/source/window/openglwin.cxx b/vcl/source/window/openglwin.cxx
index c1716b7..880376c 100644
--- a/vcl/source/window/openglwin.cxx
+++ b/vcl/source/window/openglwin.cxx
@@ -58,6 +58,8 @@ void OpenGLWindow::MouseButtonDown( const MouseEvent& rMEvt )
 
     Color aColor = GetPixel(aPoint);
     SAL_WARN("vcl.opengl", aColor.GetColor());
+    if(mpRenderer)
+        mpRenderer->clickedAt(aPoint);
 }
 
 void OpenGLWindow::setRenderer(IRenderer* pRenderer)


More information about the Libreoffice-commits mailing list