summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelprimmediacontrols.cpp
AgeCommit message (Collapse)Author
2009-11-20Fix for DEV-43040 (Change media focus rules to be the same as alt-zoom).Monroe Linden
Added an optional reset_camera parameter to LLPanelPrimMediaControls ::resetZoomLevel(). Default is true, but if false it prevents the reset from moving the camera, and just resets the internal state for zoom tracking. Fixed zoom-related bugs in LLPanelPrimMediaControls::close() and LLPanelPrimMediaControls::onClickZoom(). Changed the zooming behavior in LLViewerMediaFocus to match the desired behavior.
2009-11-19Push the policy that "back", "forward" and "stop" do different things out of ↵Rick Pasetto
LLViewerMedia. Now, LLViewerMedia has explicit skipBack() and skipForward() functions, and the buttons in LLPanelPrimMediaControls now map onto those functions neatly.
2009-11-19Make time-based media "forward" and "back" different from navigate forward ↵Rick Pasetto
and navigate back
2009-11-13Small mods based on code review feedback from JamesRick Pasetto
2009-11-13Add background to media controlsRick Pasetto
This actually required some help from James and Richard. Thanks, guys! This adds custom-drawing of a background image underneath the icons that make up the media controls in the layout stack. In order to have this work, we had to publicize API in lllayoutstack to force relayout to calculate the size. I also did another cleanup pass ("Boy Scout Rule") that squirreled away all pertinent controls into membed variables, instead of doing a getChild() every time updateShape() is called. Readjusted a bunch of components as well.
2009-11-11Fix merge error (and hence build breakage :( )Rick Pasetto
2009-11-11Automated merge with ssh://rick@hg.lindenlab.com/viewer/viewer-2-0/Rick Pasetto
2009-11-11Fix a potential crash if scroll button is not thereRick Pasetto
2009-11-11Remove references to media_panel_scroll in ↵Monroe Linden
LLPanelPrimMediaControls::updateShape(), as it was removed from the XUI file.
2009-11-10mergeJames Cook
2009-11-10Sanitize naming of getWindowRect (scaled vs. raw pixels) and ↵James Cook
getWorldViewRect (scaled vs. raw) Reduces chance of future UI bugs related to UI size. Discussed with Richard.
2009-11-09mergerichard
2009-11-09data driven layout of top-level UI elementsrichard
EXT-1219 Side tray slide-out animation cleaned up some layout of bottom tray contents reviewed by James
2009-11-06FIX: zoom/unzoom should appear to be one iconRick Pasetto
this was a fairly trivial UI change....
2009-11-04Fix for DEV-42076 (media controls should not fade out while mouse is hovered ↵Monroe Linden
over them). Updated LLPanelPrimMediaControls::isMouseOver() to do the right thing with the new structure of the panel.
2009-11-02Make the "default hover controls" be the "authored" controlsRick Pasetto
(and I made a debug setting that can override this)
2009-10-29Fixes for DEV-41612, DEV-41693, DEV-41963.Monroe Linden
Made LLViewerMediaFocus::update clear inworld media focus if LLViewerMediaFocus has lost keyboard focus to anything besides the media controls, or LLToolMgr::inBuildMode() returns true. Also, never fade the media controls if they have keyboard focus (this fixes the media controls fading out while the user is trying to type an URL).
2009-10-29Fix for DEV-41755Monroe Linden
2009-10-29Merge remote repoRick Pasetto
2009-10-29Fix unposted bug: make sure to use the right slider controlRick Pasetto
2009-10-29Fix a copy-paste error in LLPanelPrimMediaControls::postBuild().Monroe Linden
2009-10-29Missed the "hold the button down" case when converting horizontal scroller ↵Monroe Linden
to use horizontal mousewheel events.
2009-10-29Added LLViewerMediaImpl::scrollWheel() to route scroll wheel events through ↵Monroe Linden
the media impl. The horizontal scroll arrows in the media controls now send horizontal scrollwheel events instead of arrow keys.
2009-10-29Fix for DEV-41978 (media controls URL is incorrect after whitelist bounces ↵Monroe Linden
webpage back). Added LLViewerMediaImpl::getCurrentMediaURL(), which reflects the most recent url either set with navigateTo or received from the plugin via locationChanged/navigateComplete. LLViewerMediaImpl now uses this when reload() is called. LLPanelPrimMediaControls now uses getCurrentMediaURL() to get the url it displays in the URL input bar and opens with the pop-out control.
2009-10-29Fix unposted bug where current URL is not showing in the media controlsRick Pasetto
2009-10-28Completion of rename of llpanelmediahud to llpanelprimmediacontrolsRick Pasetto
2009-10-28rename llpanelmediahud to llpanelprimmediacontrolsRick Pasetto