summaryrefslogtreecommitdiff
path: root/indra/llui/llfloaterreg.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2024-08-05 20:37:03 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2024-08-05 20:37:03 +0300
commitcf29b701b19644062a1428a64023c3cf9829e2de (patch)
tree0852f0b9b7699dbf4756a3fae6ef4a65dc3bae8f /indra/llui/llfloaterreg.cpp
parenta67a01240cbd58a1800290294be83e7b874fefb6 (diff)
Allow getting the list of floater names, hide top menu items; add demo script
Diffstat (limited to 'indra/llui/llfloaterreg.cpp')
-rw-r--r--indra/llui/llfloaterreg.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/llui/llfloaterreg.cpp b/indra/llui/llfloaterreg.cpp
index 989ce12d09..a9ed678973 100644
--- a/indra/llui/llfloaterreg.cpp
+++ b/indra/llui/llfloaterreg.cpp
@@ -607,3 +607,13 @@ U32 LLFloaterReg::getVisibleFloaterInstanceCount()
return count;
}
+
+LLSD LLFloaterReg::getFloaterNames()
+{
+ LLSD names;
+ for (auto &it : sGroupMap)
+ {
+ names.append(it.first);
+ }
+ return names;
+}