diff options
author | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
commit | 89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch) | |
tree | bcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/llfloaterland.h | |
parent | Second Life viewer sources 1.13.3.2 (diff) | |
download | meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2 meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz |
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/newview/llfloaterland.h')
-rw-r--r-- | linden/indra/newview/llfloaterland.h | 40 |
1 files changed, 28 insertions, 12 deletions
diff --git a/linden/indra/newview/llfloaterland.h b/linden/indra/newview/llfloaterland.h index ba92c96..4301306 100644 --- a/linden/indra/newview/llfloaterland.h +++ b/linden/indra/newview/llfloaterland.h | |||
@@ -50,6 +50,7 @@ class LLParcelSelectionObserver; | |||
50 | class LLTabContainer; | 50 | class LLTabContainer; |
51 | class LLTextureCtrl; | 51 | class LLTextureCtrl; |
52 | class LLViewerTextEditor; | 52 | class LLViewerTextEditor; |
53 | class LLParcelSelection; | ||
53 | 54 | ||
54 | class LLPanelLandGeneral; | 55 | class LLPanelLandGeneral; |
55 | class LLPanelLandObjects; | 56 | class LLPanelLandObjects; |
@@ -73,9 +74,6 @@ public: | |||
73 | static LLPanelLandObjects* getCurrentPanelLandObjects(); | 74 | static LLPanelLandObjects* getCurrentPanelLandObjects(); |
74 | static LLPanelLandCovenant* getCurrentPanelLandCovenant(); | 75 | static LLPanelLandCovenant* getCurrentPanelLandCovenant(); |
75 | 76 | ||
76 | // Returns TRUE, but does some early prep work for closing the window. | ||
77 | virtual BOOL canClose(); | ||
78 | |||
79 | // Destroys itself on close. | 77 | // Destroys itself on close. |
80 | virtual void onClose(bool app_quitting); | 78 | virtual void onClose(bool app_quitting); |
81 | 79 | ||
@@ -112,6 +110,8 @@ protected: | |||
112 | LLPanelLandCovenant* mPanelCovenant; | 110 | LLPanelLandCovenant* mPanelCovenant; |
113 | LLPanelLandRenters* mPanelRenters; | 111 | LLPanelLandRenters* mPanelRenters; |
114 | 112 | ||
113 | LLHandle<LLParcelSelection> mParcel; | ||
114 | |||
115 | public: | 115 | public: |
116 | // When closing the dialog, we want to deselect the land. But when | 116 | // When closing the dialog, we want to deselect the land. But when |
117 | // we send an update to the simulator, it usually replies with the | 117 | // we send an update to the simulator, it usually replies with the |
@@ -125,7 +125,7 @@ class LLPanelLandGeneral | |||
125 | : public LLPanel | 125 | : public LLPanel |
126 | { | 126 | { |
127 | public: | 127 | public: |
128 | LLPanelLandGeneral(); | 128 | LLPanelLandGeneral(LLHandle<LLParcelSelection>& parcelp); |
129 | virtual ~LLPanelLandGeneral(); | 129 | virtual ~LLPanelLandGeneral(); |
130 | void refresh(); | 130 | void refresh(); |
131 | void refreshNames(); | 131 | void refreshNames(); |
@@ -217,6 +217,8 @@ protected: | |||
217 | LLButton* mBtnBuyPass; | 217 | LLButton* mBtnBuyPass; |
218 | LLButton* mBtnStartAuction; | 218 | LLButton* mBtnStartAuction; |
219 | 219 | ||
220 | LLHandle<LLParcelSelection>& mParcel; | ||
221 | |||
220 | static LLViewHandle sBuyPassDialogHandle; | 222 | static LLViewHandle sBuyPassDialogHandle; |
221 | }; | 223 | }; |
222 | 224 | ||
@@ -224,7 +226,7 @@ class LLPanelLandObjects | |||
224 | : public LLPanel | 226 | : public LLPanel |
225 | { | 227 | { |
226 | public: | 228 | public: |
227 | LLPanelLandObjects(); | 229 | LLPanelLandObjects(LLHandle<LLParcelSelection>& parcelp); |
228 | virtual ~LLPanelLandObjects(); | 230 | virtual ~LLPanelLandObjects(); |
229 | void refresh(); | 231 | void refresh(); |
230 | virtual void draw(); | 232 | virtual void draw(); |
@@ -234,7 +236,7 @@ public: | |||
234 | static void callbackReturnOtherObjects(S32, void*); | 236 | static void callbackReturnOtherObjects(S32, void*); |
235 | static void callbackReturnOwnerList(S32, void*); | 237 | static void callbackReturnOwnerList(S32, void*); |
236 | 238 | ||
237 | static void clickShowCore(S32 return_type, uuid_list_t* list = 0); | 239 | static void clickShowCore(LLPanelLandObjects* panelp, S32 return_type, uuid_list_t* list = 0); |
238 | static void onClickShowOwnerObjects(void*); | 240 | static void onClickShowOwnerObjects(void*); |
239 | static void onClickShowGroupObjects(void*); | 241 | static void onClickShowGroupObjects(void*); |
240 | static void onClickShowOtherObjects(void*); | 242 | static void onClickShowOtherObjects(void*); |
@@ -314,6 +316,8 @@ protected: | |||
314 | LLString mSelectedName; | 316 | LLString mSelectedName; |
315 | S32 mSelectedCount; | 317 | S32 mSelectedCount; |
316 | BOOL mSelectedIsGroup; | 318 | BOOL mSelectedIsGroup; |
319 | |||
320 | LLHandle<LLParcelSelection>& mParcel; | ||
317 | }; | 321 | }; |
318 | 322 | ||
319 | 323 | ||
@@ -321,7 +325,7 @@ class LLPanelLandOptions | |||
321 | : public LLPanel | 325 | : public LLPanel |
322 | { | 326 | { |
323 | public: | 327 | public: |
324 | LLPanelLandOptions(); | 328 | LLPanelLandOptions(LLHandle<LLParcelSelection>& parcelp); |
325 | virtual ~LLPanelLandOptions(); | 329 | virtual ~LLPanelLandOptions(); |
326 | void refresh(); | 330 | void refresh(); |
327 | 331 | ||
@@ -359,6 +363,8 @@ protected: | |||
359 | LLCheckBoxCtrl *mMatureCtrl; | 363 | LLCheckBoxCtrl *mMatureCtrl; |
360 | LLCheckBoxCtrl *mPushRestrictionCtrl; | 364 | LLCheckBoxCtrl *mPushRestrictionCtrl; |
361 | LLButton *mPublishHelpButton; | 365 | LLButton *mPublishHelpButton; |
366 | |||
367 | LLHandle<LLParcelSelection>& mParcel; | ||
362 | }; | 368 | }; |
363 | 369 | ||
364 | 370 | ||
@@ -366,7 +372,7 @@ class LLPanelLandMedia | |||
366 | : public LLPanel | 372 | : public LLPanel |
367 | { | 373 | { |
368 | public: | 374 | public: |
369 | LLPanelLandMedia(); | 375 | LLPanelLandMedia(LLHandle<LLParcelSelection>& parcelp); |
370 | virtual ~LLPanelLandMedia(); | 376 | virtual ~LLPanelLandMedia(); |
371 | void refresh(); | 377 | void refresh(); |
372 | 378 | ||
@@ -384,6 +390,8 @@ protected: | |||
384 | LLCheckBoxCtrl* mMediaAutoScaleCheck; | 390 | LLCheckBoxCtrl* mMediaAutoScaleCheck; |
385 | //LLButton* mMediaStopButton; | 391 | //LLButton* mMediaStopButton; |
386 | //LLButton* mMediaStartButton; | 392 | //LLButton* mMediaStartButton; |
393 | |||
394 | LLHandle<LLParcelSelection>& mParcel; | ||
387 | }; | 395 | }; |
388 | 396 | ||
389 | 397 | ||
@@ -392,7 +400,7 @@ class LLPanelLandAccess | |||
392 | : public LLPanel | 400 | : public LLPanel |
393 | { | 401 | { |
394 | public: | 402 | public: |
395 | LLPanelLandAccess(); | 403 | LLPanelLandAccess(LLHandle<LLParcelSelection>& parcelp); |
396 | virtual ~LLPanelLandAccess(); | 404 | virtual ~LLPanelLandAccess(); |
397 | void refresh(); | 405 | void refresh(); |
398 | void refreshNames(); | 406 | void refreshNames(); |
@@ -426,6 +434,7 @@ protected: | |||
426 | LLCheckBoxCtrl* mCheckTransacted; | 434 | LLCheckBoxCtrl* mCheckTransacted; |
427 | LLRadioGroup* mCheckStatusLevel; | 435 | LLRadioGroup* mCheckStatusLevel; |
428 | 436 | ||
437 | LLHandle<LLParcelSelection>& mParcel; | ||
429 | }; | 438 | }; |
430 | 439 | ||
431 | 440 | ||
@@ -433,7 +442,7 @@ class LLPanelLandBan | |||
433 | : public LLPanel | 442 | : public LLPanel |
434 | { | 443 | { |
435 | public: | 444 | public: |
436 | LLPanelLandBan(); | 445 | LLPanelLandBan(LLHandle<LLParcelSelection>& parcelp); |
437 | virtual ~LLPanelLandBan(); | 446 | virtual ~LLPanelLandBan(); |
438 | void refresh(); | 447 | void refresh(); |
439 | 448 | ||
@@ -456,6 +465,8 @@ protected: | |||
456 | LLCheckBoxCtrl* mCheckDenyAnonymous; | 465 | LLCheckBoxCtrl* mCheckDenyAnonymous; |
457 | LLCheckBoxCtrl* mCheckDenyIdentified; | 466 | LLCheckBoxCtrl* mCheckDenyIdentified; |
458 | LLCheckBoxCtrl* mCheckDenyTransacted; | 467 | LLCheckBoxCtrl* mCheckDenyTransacted; |
468 | |||
469 | LLHandle<LLParcelSelection>& mParcel; | ||
459 | }; | 470 | }; |
460 | 471 | ||
461 | 472 | ||
@@ -463,7 +474,7 @@ class LLPanelLandRenters | |||
463 | : public LLPanel | 474 | : public LLPanel |
464 | { | 475 | { |
465 | public: | 476 | public: |
466 | LLPanelLandRenters(); | 477 | LLPanelLandRenters(LLHandle<LLParcelSelection>& parcelp); |
467 | virtual ~LLPanelLandRenters(); | 478 | virtual ~LLPanelLandRenters(); |
468 | void refresh(); | 479 | void refresh(); |
469 | 480 | ||
@@ -475,13 +486,15 @@ protected: | |||
475 | LLNameListCtrl* mListRenters; | 486 | LLNameListCtrl* mListRenters; |
476 | LLButton* mBtnAddRenter; | 487 | LLButton* mBtnAddRenter; |
477 | LLButton* mBtnRemoveRenter; | 488 | LLButton* mBtnRemoveRenter; |
489 | |||
490 | LLHandle<LLParcelSelection>& mParcel; | ||
478 | }; | 491 | }; |
479 | 492 | ||
480 | class LLPanelLandCovenant | 493 | class LLPanelLandCovenant |
481 | : public LLPanel | 494 | : public LLPanel |
482 | { | 495 | { |
483 | public: | 496 | public: |
484 | LLPanelLandCovenant(); | 497 | LLPanelLandCovenant(LLHandle<LLParcelSelection>& parcelp); |
485 | virtual ~LLPanelLandCovenant(); | 498 | virtual ~LLPanelLandCovenant(); |
486 | virtual BOOL postBuild(); | 499 | virtual BOOL postBuild(); |
487 | void refresh(); | 500 | void refresh(); |
@@ -489,6 +502,9 @@ public: | |||
489 | static void updateEstateName(const std::string& name); | 502 | static void updateEstateName(const std::string& name); |
490 | static void updateLastModified(const std::string& text); | 503 | static void updateLastModified(const std::string& text); |
491 | static void updateEstateOwnerName(const std::string& name); | 504 | static void updateEstateOwnerName(const std::string& name); |
505 | |||
506 | protected: | ||
507 | LLHandle<LLParcelSelection>& mParcel; | ||
492 | }; | 508 | }; |
493 | 509 | ||
494 | #endif | 510 | #endif |