summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturectrl.h
diff options
context:
space:
mode:
authorDmitry Zaporozhan <dzaporozhan@productengine.com>2010-03-03 16:22:51 +0200
committerDmitry Zaporozhan <dzaporozhan@productengine.com>2010-03-03 16:22:51 +0200
commit7b5ef7053f0e00282faa47138497b6937756faeb (patch)
tree9ca0caa7dd7fe5628d0ecac1b6ffcc689a7f9d4e /indra/newview/lltexturectrl.h
parentc01c2ec86f1918d4830365965010d45ad120d425 (diff)
Implemented major sub task EXT-5858 - Assigned picture is stretched in the Classified Info panel.
Reshape snapshot control to max possible size maintaining aspect ratio. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/lltexturectrl.h')
-rw-r--r--indra/newview/lltexturectrl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/lltexturectrl.h b/indra/newview/lltexturectrl.h
index 8ca92c3d87..837f837430 100644
--- a/indra/newview/lltexturectrl.h
+++ b/indra/newview/lltexturectrl.h
@@ -183,6 +183,8 @@ public:
void setShowLoadingPlaceholder(BOOL showLoadingPlaceholder);
+ LLViewerFetchedTexture* getTexture() { return mTexturep; }
+
private:
BOOL allowDrop(LLInventoryItem* item);
BOOL doDrop(LLInventoryItem* item);