summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterchangeitemthumbnail.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-09-09 00:00:22 +0300
committerakleshchev <117672381+akleshchev@users.noreply.github.com>2023-09-10 21:49:00 +0300
commitcfb69846f1e8309ed86d4a18eb26a889f6dbaccc (patch)
treecb5507d1d5a8600f312d3b25d404fd2c50384050 /indra/newview/llfloaterchangeitemthumbnail.h
parent46425b2e49377acc186e41c67a793f7f6b7f583b (diff)
SL-20261 Allow and resize existing textures as necessary for thumbnails
Diffstat (limited to 'indra/newview/llfloaterchangeitemthumbnail.h')
-rw-r--r--indra/newview/llfloaterchangeitemthumbnail.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llfloaterchangeitemthumbnail.h b/indra/newview/llfloaterchangeitemthumbnail.h
index 02f934337b..a91e9b8ee9 100644
--- a/indra/newview/llfloaterchangeitemthumbnail.h
+++ b/indra/newview/llfloaterchangeitemthumbnail.h
@@ -83,13 +83,20 @@ private:
static void onRemovalConfirmation(const LLSD& notification, const LLSD& response, LLHandle<LLFloater> handle);
void assignAndValidateAsset(const LLUUID &asset_id, bool silent = false);
- static void onImageLoaded(BOOL success,
+ static void onImageDataLoaded(BOOL success,
LLViewerFetchedTexture *src_vi,
LLImageRaw* src,
LLImageRaw* aux_src,
S32 discard_level,
BOOL final,
void* userdata);
+ static void onFullImageLoaded(BOOL success,
+ LLViewerFetchedTexture* src_vi,
+ LLImageRaw* src,
+ LLImageRaw* aux_src,
+ S32 discard_level,
+ BOOL final,
+ void* userdata);
void showTexturePicker(const LLUUID &thumbnail_id);
void onTexturePickerCommit();