diff libgui/graphics/gl-select.h @ 20128:e05fe4260252

Handle mouse interaction with image objects (bug #44691) * gl-select.h (opengl_selector::draw_image): new method * gl-select.cc (opengl_selector::draw_image): draw a GL_QUAD to indicate the image area in GL_SELECT mode
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Thu, 16 Apr 2015 22:52:09 +0200
parents f0e61a67ad9f
children 9d9270e2f98f
line wrap: on
line diff
--- a/libgui/graphics/gl-select.h	Fri Apr 24 22:31:21 2015 -0400
+++ b/libgui/graphics/gl-select.h	Thu Apr 16 22:52:09 2015 +0200
@@ -48,6 +48,8 @@
 protected:
   virtual void draw_text (const text::properties& props);
 
+  virtual void draw_image (const image::properties& props);
+
   virtual void setup_opengl_transformation (const axes::properties& props);
 
   virtual void init_marker (const std::string& m, double size, float width);