diff options
author | Ansariel <none@none> | 2011-12-05 23:35:29 +0100 |
---|---|---|
committer | Ansariel <none@none> | 2011-12-05 23:35:29 +0100 |
commit | 1e2d424f9e82a1d75a4b78b06910400f55c5169a (patch) | |
tree | 3d55f80fd12fdcbf9eb2b9066b864bff7035d190 /indra/llwindow/llwindow.h | |
parent | f5a94e0f8196c5c068995090cd57bb27e97aaac9 (diff) |
STORM-1713: Mouse pointer flickers when hovering over any active/clickable UI item
Diffstat (limited to 'indra/llwindow/llwindow.h')
-rw-r--r-- | indra/llwindow/llwindow.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llwindow/llwindow.h b/indra/llwindow/llwindow.h index e8a86a1880..e5fcd19f2c 100644 --- a/indra/llwindow/llwindow.h +++ b/indra/llwindow/llwindow.h @@ -91,8 +91,9 @@ public: virtual S32 getBusyCount() const; // Sets cursor, may set to arrow+hourglass - virtual void setCursor(ECursorType cursor) = 0; + virtual void setCursor(ECursorType cursor) { mNextCursor = cursor; }; virtual ECursorType getCursor() const; + virtual void updateCursor() = 0; virtual void captureMouse() = 0; virtual void releaseMouse() = 0; @@ -181,6 +182,7 @@ protected: LLWindowResolution* mSupportedResolutions; S32 mNumSupportedResolutions; ECursorType mCurrentCursor; + ECursorType mNextCursor; BOOL mCursorHidden; S32 mBusyCount; // how deep is the "cursor busy" stack? BOOL mIsMouseClipping; // Is this window currently clipping the mouse |