diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-04-17 13:22:27 +0300 |
---|---|---|
committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-04-17 13:22:27 +0300 |
commit | 5554686b9117901cddb3d36f237622442c1d7a8d (patch) | |
tree | d10ef52054d798e9f228acde7990d5b4298f994a /indra/newview/llinventorygallery.h | |
parent | 94dd7b2c0c020bad25dab9472d612f673f136422 (diff) |
SL-19544 WIP show item permissions after item name
Diffstat (limited to 'indra/newview/llinventorygallery.h')
-rw-r--r-- | indra/newview/llinventorygallery.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/newview/llinventorygallery.h b/indra/newview/llinventorygallery.h index fd6bd0d502..fdab616720 100644 --- a/indra/newview/llinventorygallery.h +++ b/indra/newview/llinventorygallery.h @@ -256,7 +256,7 @@ public: std::string getCreatorName() { return mCreatorName;} std::string getItemName() {return mName;} - std::string getItemNameSuffix() {return mSuffix;} + std::string getItemNameSuffix() {return mPermSuffix + mWornSuffix;} bool isDefaultImage() {return mDefaultImage;} bool isHidden() {return mHidden;} @@ -269,11 +269,12 @@ public: bool isFolder() { return mIsFolder; } bool isLink() { return mIsLink; } EInventorySortGroup getSortGroup() { return mSortGroup; } + + void updateNameText(); private: LLUUID mUUID; LLTextBox* mNameText; - LLTextBox* mSuffixText; LLPanel* mTextBgPanel; bool mSelected; bool mWorn; @@ -289,7 +290,8 @@ private: EInventorySortGroup mSortGroup; LLAssetType::EType mType; std::string mName; - std::string mSuffix; + std::string mWornSuffix; + std::string mPermSuffix; LLInventoryGallery* mGallery; }; |