summaryrefslogtreecommitdiff
path: root/indra/newview/lluilistener.h
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2024-07-17 16:46:00 +0300
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2024-07-17 16:46:00 +0300
commit50d60c2518710e92cff05b806624b11ac714369f (patch)
tree9fab5dbe390eb5efcc37c6207e89d163b58810fd /indra/newview/lluilistener.h
parentdbfab7c12c47a2300854eb4e53b0ee68e2ff6e5e (diff)
Lua api for adding new menu items to the Top menu
Diffstat (limited to 'indra/newview/lluilistener.h')
-rw-r--r--indra/newview/lluilistener.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/newview/lluilistener.h b/indra/newview/lluilistener.h
index 0df2afb3fe..cbb5014300 100644
--- a/indra/newview/lluilistener.h
+++ b/indra/newview/lluilistener.h
@@ -39,12 +39,15 @@ class LLUIListener: public LLEventAPI
public:
LLUIListener();
-// FIXME These fields are intended to be private, changed here to support very hacky code in llluamanager.cpp
-public:
+private:
void call(const LLSD& event);
void getValue(const LLSD&event) const;
- private:
+ void addMenu(const LLSD&event) const;
+ void addMenuBranch(const LLSD&event) const;
+ void addMenuItem(const LLSD&event) const;
+ void addMenuSeparator(const LLSD&event) const;
+
F64 mLastUntrustedThrottle {0};
F64 mLastMinThrottle {0};
};