aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llstatusbar.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llstatusbar.h40
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;
47class LLFrameTimer; 47class LLFrameTimer;
48class LLStatGraph; 48class LLStatGraph;
49 49
50// used by LCD screen
51class cLLRegionDetails
52{
53public:
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
50class LLStatusBar 69class LLStatusBar
51: public LLPanel 70: public LLPanel
52{ 71{
53public: 72public:
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
87protected: 105private:
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
91protected: 109 static void onCommitSearch(LLUICtrl*, void* data);
110 static void onClickSearch(void* data);
111
112private:
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;