From 78984475bb0e37e45acc56eebdc3bfa35c273399 Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 4 Nov 2010 22:21:04 +0100 Subject: [PATCH] Fixed: #1034 Implement CCustomMouse for Linux --- code/nel/include/nel/3d/driver.h | 3 +++ code/nel/include/nel/3d/driver_user.h | 2 ++ code/nel/include/nel/3d/u_driver.h | 3 +++ 3 files changed, 8 insertions(+) diff --git a/code/nel/include/nel/3d/driver.h b/code/nel/include/nel/3d/driver.h index 51ea013c3..40367e8ad 100644 --- a/code/nel/include/nel/3d/driver.h +++ b/code/nel/include/nel/3d/driver.h @@ -755,6 +755,9 @@ public: // Display a cursor from its name (case unsensitive) virtual void setCursor(const std::string &name, NLMISC::CRGBA col, uint8 rot, sint hotSpotX, sint hotSpotY, bool forceRebuild = false) = 0; + // Change default scale for all cursors + virtual void setCursorScale(float scale) = 0; + /** Check whether there is a low level device manager available, and get its interface. Return NULL if not available * From this interface you can deal with mouse and keyboard as above, but you can also manage game device (joysticks, joypads ...) */ diff --git a/code/nel/include/nel/3d/driver_user.h b/code/nel/include/nel/3d/driver_user.h index bb21b01a6..81016186f 100644 --- a/code/nel/include/nel/3d/driver_user.h +++ b/code/nel/include/nel/3d/driver_user.h @@ -440,6 +440,8 @@ public: // Display a cursor from its name (case unsensitive) virtual void setCursor(const std::string &name, NLMISC::CRGBA col, uint8 rot, sint hotSpotX, sint hotSpotY, bool forceRebuild = false); + // Change default scale for all cursors + virtual void setCursorScale(float scale); // @} diff --git a/code/nel/include/nel/3d/u_driver.h b/code/nel/include/nel/3d/u_driver.h index 173ac4b9e..3c120737d 100644 --- a/code/nel/include/nel/3d/u_driver.h +++ b/code/nel/include/nel/3d/u_driver.h @@ -604,6 +604,9 @@ public: // Display a cursor from its name (case unsensitive) virtual void setCursor(const std::string &name, NLMISC::CRGBA col, uint8 rot, sint hotSpotX, sint hotSpotY, bool forceRebuild = false) = 0; + // Change default scale for all cursors + virtual void setCursorScale(float scale) = 0; + // @} /// \name Misc.