diff options
author | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
commit | cd17687f01420952712a500107e0f93e7ab8d5f8 (patch) | |
tree | ce48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llstatview.cpp | |
parent | Second Life viewer sources 1.19.0.5 (diff) | |
download | meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2 meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz |
Second Life viewer sources 1.19.1.0
Diffstat (limited to 'linden/indra/newview/llstatview.cpp')
-rw-r--r-- | linden/indra/newview/llstatview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llstatview.cpp b/linden/indra/newview/llstatview.cpp index 20e9503..8a70508 100644 --- a/linden/indra/newview/llstatview.cpp +++ b/linden/indra/newview/llstatview.cpp | |||
@@ -47,7 +47,7 @@ LLStatView::LLStatView(const LLString& name, const LLString& label, const LLStri | |||
47 | mNumStatBars(0), | 47 | mNumStatBars(0), |
48 | mSetting(setting) | 48 | mSetting(setting) |
49 | { | 49 | { |
50 | mReshapeFlags = FOLLOWS_TOP | FOLLOWS_LEFT; | 50 | setFollows(FOLLOWS_TOP | FOLLOWS_LEFT); |
51 | setLabel(label); | 51 | setLabel(label); |
52 | BOOL open = FALSE; | 52 | BOOL open = FALSE; |
53 | if (mSetting.length() > 0) | 53 | if (mSetting.length() > 0) |
@@ -98,7 +98,7 @@ LLStatBar *LLStatView::addStat(const LLString& name, LLStat *statp) | |||
98 | mStatBars.push_back(stat_barp); | 98 | mStatBars.push_back(stat_barp); |
99 | 99 | ||
100 | // Rearrange all child bars. | 100 | // Rearrange all child bars. |
101 | reshape(mRect.getWidth(), mRect.getHeight()); | 101 | reshape(getRect().getWidth(), getRect().getHeight()); |
102 | return stat_barp; | 102 | return stat_barp; |
103 | } | 103 | } |
104 | 104 | ||