summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermediafocus.h
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2009-11-02 14:17:24 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2009-11-02 14:17:24 -0500
commit0a7ac2fc170d0a2144eca924f5a0b8ffa8363ce4 (patch)
tree4b224e6b5e55d37690b4639e05b893cd04a4058e /indra/newview/llviewermediafocus.h
parent86b1ee7703bb57c6b1e1c068cda02bfb9ed0721e (diff)
parent3783852444825edf420e6109927df21fd004c3e7 (diff)
merge
Diffstat (limited to 'indra/newview/llviewermediafocus.h')
-rw-r--r--indra/newview/llviewermediafocus.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewermediafocus.h b/indra/newview/llviewermediafocus.h
index c1179de39d..e5f36d341c 100644
--- a/indra/newview/llviewermediafocus.h
+++ b/indra/newview/llviewermediafocus.h
@@ -81,6 +81,12 @@ 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);
+
+ // Return the ID of the media instance the controls are currently attached to (either focus or hover).
+ LLUUID getControlsMediaID();
protected:
/*virtual*/ void onFocusReceived();