diff options
author | Monroe Linden <monroe@lindenlab.com> | 2009-10-23 14:28:21 -0700 |
---|---|---|
committer | Monroe Linden <monroe@lindenlab.com> | 2009-10-23 14:28:21 -0700 |
commit | 376deff7a3c93dc162d047f54f9eed97ad2eba6a (patch) | |
tree | 4d21c90f83b0eba0cf94b215a02e9fb225dffe84 /indra/llplugin/llpluginclassmedia.h | |
parent | 4ddaa866dde7a92e56617a32464e0667de3759ef (diff) |
Changes to match new version of llqtwebkit -- passing modifier keys through to most user events and using new scroll wheel event.
Diffstat (limited to 'indra/llplugin/llpluginclassmedia.h')
-rw-r--r-- | indra/llplugin/llpluginclassmedia.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llplugin/llpluginclassmedia.h b/indra/llplugin/llpluginclassmedia.h index 697deec353..603817b7d0 100644 --- a/indra/llplugin/llpluginclassmedia.h +++ b/indra/llplugin/llpluginclassmedia.h @@ -101,7 +101,7 @@ public: MOUSE_EVENT_DOUBLE_CLICK }EMouseEventType; - void mouseEvent(EMouseEventType type, int x, int y, MASK modifiers); + void mouseEvent(EMouseEventType type, int button, int x, int y, MASK modifiers); typedef enum { @@ -115,7 +115,7 @@ public: void scrollEvent(int x, int y, MASK modifiers); // Text may be unicode (utf8 encoded) - bool textInput(const std::string &text); + bool textInput(const std::string &text, MASK modifiers); void loadURI(const std::string &uri); @@ -310,6 +310,8 @@ protected: std::string translateModifiers(MASK modifiers); std::string mCursorName; + int mLastMouseX; + int mLastMouseY; LLPluginClassMediaOwner::EMediaStatus mStatus; |