From 20e4a7f0ce86bc93511643e4943b29044c84263f Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 19 Aug 2013 02:10:43 +0200 Subject: TIZEN: Adapt to new OpenGL code. Thanks to Chris Warren-Smith for testing this a bit. --- backends/graphics/opengl/opengl-graphics.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'backends/graphics') diff --git a/backends/graphics/opengl/opengl-graphics.h b/backends/graphics/opengl/opengl-graphics.h index d4bd0137ed..67ad5aa067 100644 --- a/backends/graphics/opengl/opengl-graphics.h +++ b/backends/graphics/opengl/opengl-graphics.h @@ -153,6 +153,11 @@ protected: */ void setMousePosition(int x, int y) { _cursorX = x; _cursorY = y; } + /** + * Query the mouse position in physical coordinates. + */ + void getMousePosition(int16 &x, int16 &y) const { x = _cursorX; y = _cursorY; } + /** * Set up the mouse position for the (event) system. * -- cgit v1.2.3