diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llselectmgr.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llselectmgr.h | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/linden/indra/newview/llselectmgr.h b/linden/indra/newview/llselectmgr.h index 80ba192..d85ba04 100644 --- a/linden/indra/newview/llselectmgr.h +++ b/linden/indra/newview/llselectmgr.h | |||
@@ -159,8 +159,8 @@ public: | |||
159 | LLAggregatePermissions mAggregatePerm; | 159 | LLAggregatePermissions mAggregatePerm; |
160 | LLAggregatePermissions mAggregateTexturePerm; | 160 | LLAggregatePermissions mAggregateTexturePerm; |
161 | LLAggregatePermissions mAggregateTexturePermOwner; | 161 | LLAggregatePermissions mAggregateTexturePermOwner; |
162 | LLString mName; | 162 | std::string mName; |
163 | LLString mDescription; | 163 | std::string mDescription; |
164 | LLCategory mCategory; | 164 | LLCategory mCategory; |
165 | S16 mInventorySerial; | 165 | S16 mInventorySerial; |
166 | LLVector3 mSavedPositionLocal; // for interactively modifying object position | 166 | LLVector3 mSavedPositionLocal; // for interactively modifying object position |
@@ -176,8 +176,8 @@ public: | |||
176 | LLUUID mItemID; | 176 | LLUUID mItemID; |
177 | LLUUID mFolderID; | 177 | LLUUID mFolderID; |
178 | LLUUID mFromTaskID; | 178 | LLUUID mFromTaskID; |
179 | LLString mTouchName; | 179 | std::string mTouchName; |
180 | LLString mSitName; | 180 | std::string mSitName; |
181 | U64 mCreationDate; | 181 | U64 mCreationDate; |
182 | std::vector<LLColor4> mSavedColors; | 182 | std::vector<LLColor4> mSavedColors; |
183 | std::vector<LLUUID> mSavedTextures; | 183 | std::vector<LLUUID> mSavedTextures; |
@@ -506,8 +506,8 @@ public: | |||
506 | void selectionSetGlow(const F32 glow); | 506 | void selectionSetGlow(const F32 glow); |
507 | 507 | ||
508 | void selectionSetObjectPermissions(U8 perm_field, BOOL set, U32 perm_mask, BOOL override = FALSE); | 508 | void selectionSetObjectPermissions(U8 perm_field, BOOL set, U32 perm_mask, BOOL override = FALSE); |
509 | void selectionSetObjectName(const LLString& name); | 509 | void selectionSetObjectName(const std::string& name); |
510 | void selectionSetObjectDescription(const LLString& desc); | 510 | void selectionSetObjectDescription(const std::string& desc); |
511 | void selectionSetObjectCategory(const LLCategory& category); | 511 | void selectionSetObjectCategory(const LLCategory& category); |
512 | void selectionSetObjectSaleInfo(const LLSaleInfo& sale_info); | 512 | void selectionSetObjectSaleInfo(const LLSaleInfo& sale_info); |
513 | 513 | ||
@@ -520,7 +520,7 @@ public: | |||
520 | U32 update_type); | 520 | U32 update_type); |
521 | void sendSelectionMove(); | 521 | void sendSelectionMove(); |
522 | 522 | ||
523 | void sendGodlikeRequest(const LLString& request, const LLString& parameter); | 523 | void sendGodlikeRequest(const std::string& request, const std::string& parameter); |
524 | 524 | ||
525 | 525 | ||
526 | // will make sure all selected object meet current criteria, or deselect them otherwise | 526 | // will make sure all selected object meet current criteria, or deselect them otherwise |
@@ -543,9 +543,9 @@ public: | |||
543 | // returns TRUE if selected objects can be copied. | 543 | // returns TRUE if selected objects can be copied. |
544 | BOOL selectGetRootsCopy(); | 544 | BOOL selectGetRootsCopy(); |
545 | 545 | ||
546 | BOOL selectGetCreator(LLUUID& id, LLString& name); // TRUE if all have same creator, returns id | 546 | BOOL selectGetCreator(LLUUID& id, std::string& name); // TRUE if all have same creator, returns id |
547 | BOOL selectGetOwner(LLUUID& id, LLString& name); // TRUE if all objects have same owner, returns id | 547 | BOOL selectGetOwner(LLUUID& id, std::string& name); // TRUE if all objects have same owner, returns id |
548 | BOOL selectGetLastOwner(LLUUID& id, LLString& name); // TRUE if all objects have same owner, returns id | 548 | BOOL selectGetLastOwner(LLUUID& id, std::string& name); // TRUE if all objects have same owner, returns id |
549 | 549 | ||
550 | // returns TRUE if all are the same. id is stuffed with | 550 | // returns TRUE if all are the same. id is stuffed with |
551 | // the value found if available. | 551 | // the value found if available. |
@@ -558,10 +558,14 @@ public: | |||
558 | // returns TRUE if all the nodes are valid. Accumulates | 558 | // returns TRUE if all the nodes are valid. Accumulates |
559 | // permissions in the parameter. | 559 | // permissions in the parameter. |
560 | BOOL selectGetPermissions(LLPermissions& perm); | 560 | BOOL selectGetPermissions(LLPermissions& perm); |
561 | 561 | ||
562 | // returns TRUE if anything is for sale. calculates the total | 562 | // Get a bunch of useful sale information for the object(s) selected. |
563 | // price and stores that value in price. | 563 | // "_mixed" is true if not all objects have the same setting. |
564 | BOOL selectIsForSale(S32& price); | 564 | void selectGetAggregateSaleInfo(U32 &num_for_sale, |
565 | BOOL &is_for_sale_mixed, | ||
566 | BOOL &is_sale_price_mixed, | ||
567 | S32 &total_sale_price, | ||
568 | S32 &individual_sale_price); | ||
565 | 569 | ||
566 | // returns TRUE if all nodes are valid. | 570 | // returns TRUE if all nodes are valid. |
567 | BOOL selectGetCategory(LLCategory& category); | 571 | BOOL selectGetCategory(LLCategory& category); |
@@ -642,7 +646,7 @@ private: | |||
642 | void addAsFamily(std::vector<LLViewerObject*>& objects, BOOL add_to_end = FALSE); | 646 | void addAsFamily(std::vector<LLViewerObject*>& objects, BOOL add_to_end = FALSE); |
643 | void generateSilhouette(LLSelectNode *nodep, const LLVector3& view_point); | 647 | void generateSilhouette(LLSelectNode *nodep, const LLVector3& view_point); |
644 | // Send one message to each region containing an object on selection list. | 648 | // Send one message to each region containing an object on selection list. |
645 | void sendListToRegions( const LLString& message_name, | 649 | void sendListToRegions( const std::string& message_name, |
646 | void (*pack_header)(void *user_data), | 650 | void (*pack_header)(void *user_data), |
647 | void (*pack_body)(LLSelectNode* node, void *user_data), | 651 | void (*pack_body)(LLSelectNode* node, void *user_data), |
648 | void *user_data, | 652 | void *user_data, |