diff options
Diffstat (limited to 'linden/indra/newview/llstatusbar.h')
-rw-r--r-- | linden/indra/newview/llstatusbar.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/linden/indra/newview/llstatusbar.h b/linden/indra/newview/llstatusbar.h index 88a97ba..03c8ad0 100644 --- a/linden/indra/newview/llstatusbar.h +++ b/linden/indra/newview/llstatusbar.h | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2002&license=viewergpl$ | 5 | * $LicenseInfo:firstyear=2002&license=viewergpl$ |
6 | * | 6 | * |
7 | * Copyright (c) 2002-2007, Linden Research, Inc. | 7 | * Copyright (c) 2002-2008, Linden Research, Inc. |
8 | * | 8 | * |
9 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
10 | * The source code in this file ("Source Code") is provided by Linden Lab | 10 | * The source code in this file ("Source Code") is provided by Linden Lab |
@@ -48,9 +48,21 @@ class LLFrameTimer; | |||
48 | class LLStatGraph; | 48 | class LLStatGraph; |
49 | 49 | ||
50 | // used by LCD screen | 50 | // used by LCD screen |
51 | class cLLRegionDetails | 51 | class LLRegionDetails |
52 | { | 52 | { |
53 | public: | 53 | public: |
54 | LLRegionDetails() | ||
55 | { | ||
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 | } | ||
54 | LLString mRegionName; | 66 | LLString mRegionName; |
55 | char *mParcelName; | 67 | char *mParcelName; |
56 | char *mAccesString; | 68 | char *mAccesString; |
@@ -100,7 +112,7 @@ public: | |||
100 | S32 getSquareMetersCredit() const; | 112 | S32 getSquareMetersCredit() const; |
101 | S32 getSquareMetersCommitted() const; | 113 | S32 getSquareMetersCommitted() const; |
102 | S32 getSquareMetersLeft() const; | 114 | S32 getSquareMetersLeft() const; |
103 | cLLRegionDetails mRegionDetails; | 115 | LLRegionDetails mRegionDetails; |
104 | 116 | ||
105 | private: | 117 | private: |
106 | // simple method to setup the part that holds the date | 118 | // simple method to setup the part that holds the date |