diff options
author | Jacek Antonelli | 2009-04-30 13:04:20 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-04-30 13:07:16 -0500 |
commit | ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e (patch) | |
tree | 8348301d0ac44a524f1819b777686bf086907d76 /linden/indra/newview/llfloaterland.h | |
parent | Second Life viewer sources 1.22.11 (diff) | |
download | meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.zip meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.gz meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.bz2 meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.xz |
Second Life viewer sources 1.23.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterland.h | 46 |
1 files changed, 26 insertions, 20 deletions
diff --git a/linden/indra/newview/llfloaterland.h b/linden/indra/newview/llfloaterland.h index 5f2b970..4c3de65 100644 --- a/linden/indra/newview/llfloaterland.h +++ b/linden/indra/newview/llfloaterland.h | |||
@@ -18,7 +18,8 @@ | |||
18 | * There are special exceptions to the terms and conditions of the GPL as | 18 | * There are special exceptions to the terms and conditions of the GPL as |
19 | * it is applied to this Source Code. View the full text of the exception | 19 | * it is applied to this Source Code. View the full text of the exception |
20 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 20 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
21 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | 21 | * online at |
22 | * http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
22 | * | 23 | * |
23 | * By copying, modifying or distributing this software, you acknowledge | 24 | * By copying, modifying or distributing this software, you acknowledge |
24 | * that you have read and understood your obligations described above, | 25 | * that you have read and understood your obligations described above, |
@@ -37,7 +38,8 @@ | |||
37 | #include <vector> | 38 | #include <vector> |
38 | 39 | ||
39 | #include "llfloater.h" | 40 | #include "llfloater.h" |
40 | #include "llviewerimagelist.h" | 41 | //#include "llviewerimagelist.h" |
42 | #include "llmemory.h" // LLPointer<> | ||
41 | 43 | ||
42 | typedef std::set<LLUUID, lluuid_less> uuid_list_t; | 44 | typedef std::set<LLUUID, lluuid_less> uuid_list_t; |
43 | const F32 CACHE_REFRESH_TIME = 2.5f; | 45 | const F32 CACHE_REFRESH_TIME = 2.5f; |
@@ -55,6 +57,7 @@ class LLTabContainer; | |||
55 | class LLTextBox; | 57 | class LLTextBox; |
56 | class LLTextEditor; | 58 | class LLTextEditor; |
57 | class LLTextureCtrl; | 59 | class LLTextureCtrl; |
60 | class LLUIImage; | ||
58 | class LLViewerTextEditor; | 61 | class LLViewerTextEditor; |
59 | class LLParcelSelection; | 62 | class LLParcelSelection; |
60 | 63 | ||
@@ -89,8 +92,7 @@ protected: | |||
89 | LLFloaterLand(const LLSD& seed); | 92 | LLFloaterLand(const LLSD& seed); |
90 | virtual ~LLFloaterLand(); | 93 | virtual ~LLFloaterLand(); |
91 | 94 | ||
92 | void refresh(); | 95 | /*virtual*/ void refresh(); |
93 | |||
94 | 96 | ||
95 | static void* createPanelLandGeneral(void* data); | 97 | static void* createPanelLandGeneral(void* data); |
96 | static void* createPanelLandCovenant(void* data); | 98 | static void* createPanelLandCovenant(void* data); |
@@ -130,7 +132,7 @@ class LLPanelLandGeneral | |||
130 | public: | 132 | public: |
131 | LLPanelLandGeneral(LLSafeHandle<LLParcelSelection>& parcelp); | 133 | LLPanelLandGeneral(LLSafeHandle<LLParcelSelection>& parcelp); |
132 | virtual ~LLPanelLandGeneral(); | 134 | virtual ~LLPanelLandGeneral(); |
133 | void refresh(); | 135 | /*virtual*/ void refresh(); |
134 | void refreshNames(); | 136 | void refreshNames(); |
135 | virtual void draw(); | 137 | virtual void draw(); |
136 | 138 | ||
@@ -151,8 +153,7 @@ public: | |||
151 | static void finalizeSetSellChange(void * userdata); | 153 | static void finalizeSetSellChange(void * userdata); |
152 | static void onSalePriceChange(LLUICtrl *ctrl, void * userdata); | 154 | static void onSalePriceChange(LLUICtrl *ctrl, void * userdata); |
153 | 155 | ||
154 | static void cbBuyPass(S32 option, void*); | 156 | static bool cbBuyPass(const LLSD& notification, const LLSD& response); |
155 | static BOOL buyPassDialogVisible(); | ||
156 | 157 | ||
157 | static void onClickSellLand(void* data); | 158 | static void onClickSellLand(void* data); |
158 | static void onClickStopSellLand(void* data); | 159 | static void onClickStopSellLand(void* data); |
@@ -185,6 +186,9 @@ protected: | |||
185 | LLTextBox* mTextOwnerLabel; | 186 | LLTextBox* mTextOwnerLabel; |
186 | LLTextBox* mTextOwner; | 187 | LLTextBox* mTextOwner; |
187 | LLButton* mBtnProfile; | 188 | LLButton* mBtnProfile; |
189 | |||
190 | LLTextBox* mContentRating; | ||
191 | LLTextBox* mLandType; | ||
188 | 192 | ||
189 | LLTextBox* mTextGroup; | 193 | LLTextBox* mTextGroup; |
190 | LLTextBox* mTextGroupLabel; | 194 | LLTextBox* mTextGroupLabel; |
@@ -231,13 +235,13 @@ class LLPanelLandObjects | |||
231 | public: | 235 | public: |
232 | LLPanelLandObjects(LLSafeHandle<LLParcelSelection>& parcelp); | 236 | LLPanelLandObjects(LLSafeHandle<LLParcelSelection>& parcelp); |
233 | virtual ~LLPanelLandObjects(); | 237 | virtual ~LLPanelLandObjects(); |
234 | void refresh(); | 238 | /*virtual*/ void refresh(); |
235 | virtual void draw(); | 239 | virtual void draw(); |
236 | 240 | ||
237 | static void callbackReturnOwnerObjects(S32, void*); | 241 | bool callbackReturnOwnerObjects(const LLSD& notification, const LLSD& response); |
238 | static void callbackReturnGroupObjects(S32, void*); | 242 | bool callbackReturnGroupObjects(const LLSD& notification, const LLSD& response); |
239 | static void callbackReturnOtherObjects(S32, void*); | 243 | bool callbackReturnOtherObjects(const LLSD& notification, const LLSD& response); |
240 | static void callbackReturnOwnerList(S32, void*); | 244 | bool callbackReturnOwnerList(const LLSD& notification, const LLSD& response); |
241 | 245 | ||
242 | static void clickShowCore(LLPanelLandObjects* panelp, S32 return_type, uuid_list_t* list = 0); | 246 | static void clickShowCore(LLPanelLandObjects* panelp, S32 return_type, uuid_list_t* list = 0); |
243 | static void onClickShowOwnerObjects(void*); | 247 | static void onClickShowOwnerObjects(void*); |
@@ -281,9 +285,9 @@ protected: | |||
281 | LLButton *mBtnReturnOwnerList; | 285 | LLButton *mBtnReturnOwnerList; |
282 | LLNameListCtrl *mOwnerList; | 286 | LLNameListCtrl *mOwnerList; |
283 | 287 | ||
284 | LLUIImagePtr mIconAvatarOnline; | 288 | LLPointer<LLUIImage> mIconAvatarOnline; |
285 | LLUIImagePtr mIconAvatarOffline; | 289 | LLPointer<LLUIImage> mIconAvatarOffline; |
286 | LLUIImagePtr mIconGroup; | 290 | LLPointer<LLUIImage> mIconGroup; |
287 | 291 | ||
288 | BOOL mFirstReply; | 292 | BOOL mFirstReply; |
289 | 293 | ||
@@ -302,18 +306,20 @@ class LLPanelLandOptions | |||
302 | public: | 306 | public: |
303 | LLPanelLandOptions(LLSafeHandle<LLParcelSelection>& parcelp); | 307 | LLPanelLandOptions(LLSafeHandle<LLParcelSelection>& parcelp); |
304 | virtual ~LLPanelLandOptions(); | 308 | virtual ~LLPanelLandOptions(); |
305 | void refresh(); | 309 | /*virtual*/ BOOL postBuild(); |
310 | /*virtual*/ void draw(); | ||
311 | /*virtual*/ void refresh(); | ||
306 | 312 | ||
313 | private: | ||
314 | // Refresh the "show in search" checkbox and category selector. | ||
315 | void refreshSearch(); | ||
307 | 316 | ||
308 | static void onCommitAny(LLUICtrl* ctrl, void *userdata); | 317 | static void onCommitAny(LLUICtrl* ctrl, void *userdata); |
309 | static void onClickSet(void* userdata); | 318 | static void onClickSet(void* userdata); |
310 | static void onClickClear(void* userdata); | 319 | static void onClickClear(void* userdata); |
311 | static void onClickPublishHelp(void*); | 320 | static void onClickPublishHelp(void*); |
312 | 321 | ||
313 | virtual BOOL postBuild(); | 322 | private: |
314 | virtual void draw(); | ||
315 | |||
316 | protected: | ||
317 | LLCheckBoxCtrl* mCheckEditObjects; | 323 | LLCheckBoxCtrl* mCheckEditObjects; |
318 | LLCheckBoxCtrl* mCheckEditGroupObjects; | 324 | LLCheckBoxCtrl* mCheckEditGroupObjects; |
319 | LLCheckBoxCtrl* mCheckAllObjectEntry; | 325 | LLCheckBoxCtrl* mCheckAllObjectEntry; |