summaryrefslogtreecommitdiff
path: root/indra/llui/llstatview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui/llstatview.cpp')
-rw-r--r--indra/llui/llstatview.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/llui/llstatview.cpp b/indra/llui/llstatview.cpp
index e16f2c450e..6691f16c1e 100644
--- a/indra/llui/llstatview.cpp
+++ b/indra/llui/llstatview.cpp
@@ -64,3 +64,17 @@ LLStatView::~LLStatView()
}
}
+
+// widget registrars
+struct StatViewRegistry : public LLWidgetRegistry<StatViewRegistry>
+{};
+
+static StatViewRegistry::Register<LLStatBar> r1("stat_bar");
+
+
+const widget_registry_t& LLStatView::getChildRegistry() const
+{
+ return StatViewRegistry::instance();
+}
+
+