diff options
author | Oz Linden <oz@lindenlab.com> | 2015-12-18 10:44:42 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2015-12-18 10:44:42 -0500 |
commit | 4b7ff25eba4b285e267ec6f766221ffcde82a808 (patch) | |
tree | e8a885c7167046bec9311981a7f690a190248b2a /indra/llui/llfocusmgr.h | |
parent | d3b4f34eb7ff80315f1d714aa50bc7d7d33f9855 (diff) | |
parent | 7b993d15b70d419dc0a7c8d92286d34a2635537d (diff) |
merge changes for 4.0.0-release
Diffstat (limited to 'indra/llui/llfocusmgr.h')
-rwxr-xr-x | indra/llui/llfocusmgr.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/llui/llfocusmgr.h b/indra/llui/llfocusmgr.h index afd2a8ce06..0e3d7d8e59 100755 --- a/indra/llui/llfocusmgr.h +++ b/indra/llui/llfocusmgr.h @@ -57,8 +57,17 @@ public: // These were brought up the hierarchy from LLView so that we don't have to use dynamic_cast when dealing with keyboard focus. 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); + /** + * If true this LLFocusableElement wants to receive KEYUP and KEYDOWN messages + * even for normal character strokes. + * Default implementation returns false. + */ + virtual bool wantsKeyUpKeyDown() const; + virtual bool wantsReturnKey() const; + virtual void onTopLost(); // called when registered as top ctrl and user clicks elsewhere protected: virtual void onFocusReceived(); |