X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscene%2Futil%2FSGPickCallback.hxx;h=33ab28adab6e529059ed1d7064eff06da1926966;hb=3c2ef75b50cf3323d057ea974045ac20be5eca4a;hp=5e2085db4e9d1862753e86d9405cb77755eae239;hpb=4fa530354dcacfe93df1a11ee4a1644a012b0293;p=simgear.git diff --git a/simgear/scene/util/SGPickCallback.hxx b/simgear/scene/util/SGPickCallback.hxx index 5e2085db..33ab28ad 100644 --- a/simgear/scene/util/SGPickCallback.hxx +++ b/simgear/scene/util/SGPickCallback.hxx @@ -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;