diff options
author | callum <none@none> | 2011-10-25 19:34:05 -0700 |
---|---|---|
committer | callum <none@none> | 2011-10-25 19:34:05 -0700 |
commit | 343562889e2b9332942f1c190e0dd6b7ddcb9540 (patch) | |
tree | 7daa6347a8c309559c4f7ecacf90fbd3948534f7 /indra/newview/llviewermedia.cpp | |
parent | 0ecc5c0878adf93e96b99e3db4c65cdb757b99fb (diff) |
EXP-1471 WIP Add support for zooming web pages by a scale facxtor
Diffstat (limited to 'indra/newview/llviewermedia.cpp')
-rw-r--r-- | indra/newview/llviewermedia.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index 13dbc5e386..fdb281b7f1 100644 --- a/indra/newview/llviewermedia.cpp +++ b/indra/newview/llviewermedia.cpp @@ -2301,6 +2301,16 @@ void LLViewerMediaImpl::clearCache() } } + +////////////////////////////////////////////////////////////////////////////////////////// +void LLViewerMediaImpl::setPageZoomFactor( double factor ) +{ + if(mMediaSource) + { + mMediaSource->set_page_zoom_factor( factor ); + } +} + ////////////////////////////////////////////////////////////////////////////////////////// void LLViewerMediaImpl::mouseDown(S32 x, S32 y, MASK mask, S32 button) { |