summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermediafocus.h
diff options
context:
space:
mode:
authorMonroe Linden <monroe@lindenlab.com>2009-10-30 17:46:48 -0700
committerMonroe Linden <monroe@lindenlab.com>2009-10-30 17:46:48 -0700
commit9e602de33ae85bc78d6aa3c6bf45e29af7727796 (patch)
treec33d060db8b0ee0c4abaebe3f5ff1539529db672 /indra/newview/llviewermediafocus.h
parent123db56856ef0451e28fe7ac7ce3bcc27d3066f1 (diff)
On a double-click in the nearby media list, try to focus/zoom in on the prim holding the media.
Diffstat (limited to 'indra/newview/llviewermediafocus.h')
-rw-r--r--indra/newview/llviewermediafocus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewermediafocus.h b/indra/newview/llviewermediafocus.h
index c1179de39d..07a6f0c47b 100644
--- a/indra/newview/llviewermediafocus.h
+++ b/indra/newview/llviewermediafocus.h
@@ -81,6 +81,9 @@ public:
LLViewerMediaImpl* getHoverMediaImpl();
LLViewerObject* getHoverObject();
S32 getHoverFace() { return mHoverObjectFace; }
+
+ // Try to focus/zoom on the specified media (if it's on an object in world).
+ void focusZoomOnMedia(LLUUID media_id);
protected:
/*virtual*/ void onFocusReceived();