]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/util/SGPickCallback.hxx
Tweaks for pick callback cursors.
[simgear.git] / simgear / scene / util / SGPickCallback.hxx
index 5e2085db4e9d1862753e86d9405cb77755eae239..33ab28adab6e529059ed1d7064eff06da1926966 100644 (file)
@@ -66,8 +66,15 @@ public:
   virtual bool hover(const osg::Vec2d& windowPos, const Info& info)
   {  return false; }
 
-  Priority getPriority() const
+  virtual Priority getPriority() const
   { return _priority; }
+  
+  /**
+   * retrieve the name of the cursor to user when hovering this pickable
+   * object. Mapping is undefined, since SimGear doesn't know about cursors.
+   */
+  virtual std::string getCursor() const
+  { return std::string(); }
 
 private:
   Priority _priority;