diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-10-03 19:46:12 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-06-23 14:50:02 +0300 |
commit | 13a25be08f0c81a759076907d7950baf4f2c3ef2 (patch) | |
tree | 34e9b80bd35c2594a07df9a877a16804b1dd3551 /indra/newview/llkeyconflict.h | |
parent | 2e656ed358af28f56c8b900345956d431f8c7b4d (diff) |
SL-6109 Better menu accelerator support and slight reorganization
Diffstat (limited to 'indra/newview/llkeyconflict.h')
-rw-r--r-- | indra/newview/llkeyconflict.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llkeyconflict.h b/indra/newview/llkeyconflict.h index e339264aaa..5c3b860ec6 100644 --- a/indra/newview/llkeyconflict.h +++ b/indra/newview/llkeyconflict.h @@ -80,6 +80,8 @@ public: bool canHandleMouse(const std::string &control_name, EMouseClickType mouse_ind, MASK mask); bool canHandleMouse(const std::string &control_name, S32 mouse_ind, MASK mask); //Just for convinience bool canAssignControl(const std::string &control_name); + static bool isReservedByMenu(const KEY &key, const MASK &mask); + static bool isReservedByMenu(const LLKeyData &data); bool registerControl(const std::string &control_name, U32 data_index, EMouseClickType mouse_ind, KEY key, MASK mask, bool ignore_mask); //todo: return conflicts? LLKeyData getControl(const std::string &control_name, U32 data_index); |