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/llstatusbar.h | |
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/llstatusbar.h')
-rw-r--r-- | linden/indra/newview/llstatusbar.h | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/linden/indra/newview/llstatusbar.h b/linden/indra/newview/llstatusbar.h index 72b0751..d6cf8de 100644 --- a/linden/indra/newview/llstatusbar.h +++ b/linden/indra/newview/llstatusbar.h | |||
@@ -51,30 +51,33 @@ class LLStatGraph; | |||
51 | class LLRegionDetails | 51 | class LLRegionDetails |
52 | { | 52 | { |
53 | public: | 53 | public: |
54 | LLRegionDetails() | 54 | LLRegionDetails() : |
55 | mRegionName("Unknown"), | ||
56 | mParcelName("Unknown"), | ||
57 | mAccesString("Unknown"), | ||
58 | mX(0), | ||
59 | mY(0), | ||
60 | mZ(0), | ||
61 | mArea (0), | ||
62 | mForSale(FALSE), | ||
63 | mOwner("Unknown"), | ||
64 | mTraffic(0), | ||
65 | mBalance(0), | ||
66 | mPing(0) | ||
55 | { | 67 | { |
56 | mRegionName = LLString("Unknown"); | ||
57 | mParcelName = "Unknown"; | ||
58 | mAccesString = "Unknown"; | ||
59 | mX = 0; | ||
60 | mY = 0; | ||
61 | mZ = 0; | ||
62 | mArea = 0; | ||
63 | mForSale = FALSE; | ||
64 | snprintf(mOwner, MAX_STRING, "Unknown"); | ||
65 | } | 68 | } |
66 | LLString mRegionName; | 69 | std::string mRegionName; |
67 | char *mParcelName; | 70 | std::string mParcelName; |
68 | char *mAccesString; | 71 | std::string mAccesString; |
69 | S32 mX; | 72 | S32 mX; |
70 | S32 mY; | 73 | S32 mY; |
71 | S32 mZ; | 74 | S32 mZ; |
72 | S32 mArea; | 75 | S32 mArea; |
73 | BOOL mForSale; | 76 | BOOL mForSale; |
74 | char mOwner[MAX_STRING]; | 77 | std::string mOwner; |
75 | F32 mTraffic; | 78 | F32 mTraffic; |
76 | S32 mBalance; | 79 | S32 mBalance; |
77 | LLString mTime; | 80 | std::string mTime; |
78 | U32 mPing; | 81 | U32 mPing; |
79 | }; | 82 | }; |
80 | 83 | ||
@@ -120,6 +123,7 @@ private: | |||
120 | 123 | ||
121 | static void onCommitSearch(LLUICtrl*, void* data); | 124 | static void onCommitSearch(LLUICtrl*, void* data); |
122 | static void onClickSearch(void* data); | 125 | static void onClickSearch(void* data); |
126 | static void onClickStatGraph(void* data); | ||
123 | 127 | ||
124 | private: | 128 | private: |
125 | LLTextBox *mTextBalance; | 129 | LLTextBox *mTextBalance; |
@@ -128,6 +132,9 @@ private: | |||
128 | 132 | ||
129 | LLTextBox* mTextParcelName; | 133 | LLTextBox* mTextParcelName; |
130 | 134 | ||
135 | LLStatGraph *mSGBandwidth; | ||
136 | LLStatGraph *mSGPacketLoss; | ||
137 | |||
131 | LLButton *mBtnBuyCurrency; | 138 | LLButton *mBtnBuyCurrency; |
132 | 139 | ||
133 | S32 mBalance; | 140 | S32 mBalance; |