diff options
author | Bryan O'Sullivan <bos@lindenlab.com> | 2009-06-22 15:02:19 -0700 |
---|---|---|
committer | Bryan O'Sullivan <bos@lindenlab.com> | 2009-06-22 15:02:19 -0700 |
commit | baa73fddd9287ddafd2d31551cb253b355ed910a (patch) | |
tree | e3f0986617fe6c0ee0a14df6aac13c6bb6f92507 /indra/llui/llstatview.cpp | |
parent | dc3833f31b8a20220ddb1775e1625c016c397435 (diff) | |
parent | fcaa1ad46fd1df4cfec9dee12caf6e7b5bf32136 (diff) |
Merge with viewer-2.0.0-3 branch
Diffstat (limited to 'indra/llui/llstatview.cpp')
-rw-r--r-- | indra/llui/llstatview.cpp | 14 |
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(); +} + + |