diff options
author | Rider Linden <rider@lindenlab.com> | 2015-12-18 10:16:26 -0800 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2015-12-18 10:16:26 -0800 |
commit | 6dd80980cfa5be214c143d125cfabd006ea7ebff (patch) | |
tree | 102a4d2c7cddeec35feaf18e71cfb8f598001868 /indra/newview/llviewermediafocus.h | |
parent | 2af14639de9f575ac9a2766835206e5c6ffb46c8 (diff) | |
parent | 7b993d15b70d419dc0a7c8d92286d34a2635537d (diff) |
Merge
Diffstat (limited to 'indra/newview/llviewermediafocus.h')
-rwxr-xr-x | indra/newview/llviewermediafocus.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewermediafocus.h b/indra/newview/llviewermediafocus.h index f03dd8751e..0b2a64868e 100755 --- a/indra/newview/llviewermediafocus.h +++ b/indra/newview/llviewermediafocus.h @@ -56,6 +56,7 @@ public: /*virtual*/ bool getFocus(); /*virtual*/ BOOL handleKey(KEY key, MASK mask, BOOL called_from_parent); + /*virtual*/ BOOL handleKeyUp(KEY key, MASK mask, BOOL called_from_parent); /*virtual*/ BOOL handleUnicodeChar(llwchar uni_char, BOOL called_from_parent); BOOL handleScrollWheel(S32 x, S32 y, S32 clicks); @@ -87,6 +88,10 @@ public: // Return the ID of the media instance the controls are currently attached to (either focus or hover). LLUUID getControlsMediaID(); + // The MoaP object wants keyup and keydown events. Overridden to return true. + virtual bool wantsKeyUpKeyDown() const; + virtual bool wantsReturnKey() const; + protected: /*virtual*/ void onFocusReceived(); /*virtual*/ void onFocusLost(); |