summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelprimmediacontrols.cpp
AgeCommit message (Collapse)Author
2009-12-14DEV-42327: Compute controls position & size for HUD objectsRick Pasetto
Review #62 Added facility to get the HUD projection and modelview matrices by refactoring the calls in llviewerdisplay a bit.
2009-12-09Follow-up to previous change: slider control should only be set when focus ↵Rick Pasetto
changes
2009-12-08DEV-43866: Fix mute button when you slide volume sliderRick Pasetto
Trivial fix, plus some minor refactoring
2009-12-03Don't show controls if build tools are upRick Pasetto
2009-12-03remove fudge factor for controls background renderingRick Pasetto
2009-12-02DEV-42827 Implement volume slider on media controlsRick Pasetto
Introducing a volume slider that pops up when you hover over the "mute" button. Fades out with the rest of the controls. Had to also render (by hand) the background image. Cleaned up the XUI file.
2009-11-25DEV-43402: Don't change the zoom level on the media controls if you click awayRick Pasetto
Review #46 This also adds a feature where llpanelprimmediacontrols remembers the object/face that you've zoomed in on, and only switches the zoom/unzoom icon to "unzoom" if the object/face you are hovering over is actually the object/face you are zoomed in on
2009-11-25Implement fade-out for llprogressbar, fix problem where setTopCtrl was being ↵Rick Pasetto
called Review #47
2009-11-25DEV-43046: Move media controls to the bottom of mediaRick Pasetto
- Tweaked the algorithm to shift controls down when zoomed in. - Adjusted some numbers in the XUI file - Moved some hard-coded constants into the XUI file so they can be data-driven
2009-11-25DEV-41422 Show Home button and make Stop button remain enabled in time-based ↵Rick Pasetto
media controls
2009-11-24FIX DEV-43033 - the prim media controls were "stealing focus" and so would ↵Rick Pasetto
clobber any drop-downs Reviewed by James (thanks, James!)
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