diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llstatusbar.h | 40 |
1 files changed, 29 insertions, 11 deletions
diff --git a/linden/indra/newview/llstatusbar.h b/linden/indra/newview/llstatusbar.h index 5832dee..88a97ba 100644 --- a/linden/indra/newview/llstatusbar.h +++ b/linden/indra/newview/llstatusbar.h | |||
@@ -47,19 +47,36 @@ class LLUUID; | |||
47 | class LLFrameTimer; | 47 | class LLFrameTimer; |
48 | class LLStatGraph; | 48 | class LLStatGraph; |
49 | 49 | ||
50 | // used by LCD screen | ||
51 | class cLLRegionDetails | ||
52 | { | ||
53 | public: | ||
54 | LLString mRegionName; | ||
55 | char *mParcelName; | ||
56 | char *mAccesString; | ||
57 | S32 mX; | ||
58 | S32 mY; | ||
59 | S32 mZ; | ||
60 | S32 mArea; | ||
61 | BOOL mForSale; | ||
62 | char mOwner[MAX_STRING]; | ||
63 | F32 mTraffic; | ||
64 | S32 mBalance; | ||
65 | LLString mTime; | ||
66 | U32 mPing; | ||
67 | }; | ||
68 | |||
50 | class LLStatusBar | 69 | class LLStatusBar |
51 | : public LLPanel | 70 | : public LLPanel |
52 | { | 71 | { |
53 | public: | 72 | public: |
54 | LLStatusBar(const std::string& name, const LLRect& rect ); | 73 | LLStatusBar(const std::string& name, const LLRect& rect ); |
55 | ~LLStatusBar(); | 74 | /*virtual*/ ~LLStatusBar(); |
56 | virtual BOOL postBuild(); | ||
57 | 75 | ||
58 | virtual EWidgetType getWidgetType() const; | 76 | /*virtual*/ EWidgetType getWidgetType() const; |
59 | virtual LLString getWidgetTag() const; | 77 | /*virtual*/ LLString getWidgetTag() const; |
60 | 78 | ||
61 | // OVERRIDES | 79 | /*virtual*/ void draw(); |
62 | virtual void draw(); | ||
63 | 80 | ||
64 | // MANIPULATORS | 81 | // MANIPULATORS |
65 | void setBalance(S32 balance); | 82 | void setBalance(S32 balance); |
@@ -83,21 +100,22 @@ public: | |||
83 | S32 getSquareMetersCredit() const; | 100 | S32 getSquareMetersCredit() const; |
84 | S32 getSquareMetersCommitted() const; | 101 | S32 getSquareMetersCommitted() const; |
85 | S32 getSquareMetersLeft() const; | 102 | S32 getSquareMetersLeft() const; |
103 | cLLRegionDetails mRegionDetails; | ||
86 | 104 | ||
87 | protected: | 105 | private: |
88 | // simple method to setup the part that holds the date | 106 | // simple method to setup the part that holds the date |
89 | void setupDate(); | 107 | void setupDate(); |
90 | 108 | ||
91 | protected: | 109 | static void onCommitSearch(LLUICtrl*, void* data); |
110 | static void onClickSearch(void* data); | ||
111 | |||
112 | private: | ||
92 | LLTextBox *mTextBalance; | 113 | LLTextBox *mTextBalance; |
93 | LLTextBox *mTextHealth; | 114 | LLTextBox *mTextHealth; |
94 | LLTextBox *mTextTime; | 115 | LLTextBox *mTextTime; |
95 | 116 | ||
96 | LLTextBox* mTextParcelName; | 117 | LLTextBox* mTextParcelName; |
97 | 118 | ||
98 | LLStatGraph *mSGBandwidth; | ||
99 | LLStatGraph *mSGPacketLoss; | ||
100 | |||
101 | LLButton *mBtnBuyCurrency; | 119 | LLButton *mBtnBuyCurrency; |
102 | 120 | ||
103 | S32 mBalance; | 121 | S32 mBalance; |