diff options
author | Callum Prentice <callum@lindenlab.com> | 2023-08-17 15:49:50 -0700 |
---|---|---|
committer | Callum Prentice <callum@lindenlab.com> | 2023-08-17 15:49:50 -0700 |
commit | 10276ee967a5ad860fbf8750ce1012db3c5ae78a (patch) | |
tree | 36f3f7ed4f0a6d78776c1dab604ce8d716a45811 /indra/newview/llfloaterinventorythumbnailshelper.h | |
parent | dde395d4a15fe8759f6f87e97391b62de47d06ee (diff) |
Small updates to bulky thumbs but mainly, this is about the first version of the Inventory Thumbnail Helper tool - see source file for a link to Confluence page listing how to use it
Diffstat (limited to 'indra/newview/llfloaterinventorythumbnailshelper.h')
-rw-r--r-- | indra/newview/llfloaterinventorythumbnailshelper.h | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/indra/newview/llfloaterinventorythumbnailshelper.h b/indra/newview/llfloaterinventorythumbnailshelper.h index ec83d5b7e0..b42a85d1a5 100644 --- a/indra/newview/llfloaterinventorythumbnailshelper.h +++ b/indra/newview/llfloaterinventorythumbnailshelper.h @@ -1,7 +1,7 @@ /** * @file llfloaterinventorythumbnailshelper.h * @author Callum Prentice - * @brief Helper floater for bulk processing of inventory thumbnails + * @brief Helper floater for bulk processing of inventory thumbnails tool * * $LicenseInfo:firstyear=2008&license=viewerlgpl$ * Second Life Viewer Source Code @@ -31,7 +31,6 @@ #include "llfloater.h" class LLTextEditor; class LLScrollListCtrl; -class LLMediaCtrl; class LLViewerInventoryItem; class LLUUID; @@ -46,27 +45,38 @@ class LLFloaterInventoryThumbnailsHelper: LLScrollListCtrl* mInventoryThumbnailsList; + LLTextEditor* mOutputLog; + LLUICtrl* mPasteItemsBtn; void onPasteItems(); LLUICtrl* mPasteTexturesBtn; void onPasteTextures(); - LLTextEditor* mOutputLog; - - void mergeItemsTextures(); - LLUICtrl* mWriteThumbnailsBtn; void onWriteThumbnails(); + LLUICtrl* mLogMissingThumbnailsBtn; + void onLogMissingThumbnails(); + + LLUICtrl* mClearThumbnailsBtn; + void onClearThumbnails(); + void recordInventoryItemEntry(LLViewerInventoryItem* item); void recordTextureItemEntry(LLViewerInventoryItem* item); - void populateThumbnailNames(); + void updateButtonStates(); + void updateDisplayList(); + void writeToLog(std::string logline, bool prepend_newline); - std::map<std::string, LLUUID> mItemNamesIDs; + std::map<std::string, LLViewerInventoryItem*> mItemNamesItems; std::map<std::string, LLUUID> mTextureNamesIDs; - std::map<std::string, std::pair< LLUUID, LLUUID>> mNameItemIDTextureId; + enum EListColumnNum + { + NAME = 0, + EXISTING_TEXTURE = 1, + NEW_TEXTURE = 2 + }; }; #endif // LL_LLFLOATERINVENTORYTHUMBNAILSHELPER_H |