summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelprimmediacontrols.cpp
AgeCommit message (Collapse)Author
2010-08-27Post-convert merge by convert_monolith.py from ./viewer-experienceMonroe Linden
2010-08-20changed buildPanel/buildFloater to member functions buildFromFileRichard Nelson
streamlined LLUICtrlFactory's interface
2010-08-16cleaned up LLUICtrlFactory...Richard Nelson
removed redundant functionality moved buildPanel to LLPanel
2010-08-09Automated merge with ssh://hg.lindenlab.com/dessie/viewer-publicMonroe Linden
2010-08-06Fixes for EXT-8563 "VWR-20156: Prim Media on HUDs has no Audio or Interactivity"Monroe Linden
Backed out changeset 1b65d0d42c67 (the fix for EXT-5205), and replaced it with a check in LLPanelPrimMediaControls::nextZoomLevel(). Made LLViewerMediaImpl::calculateInterest() not attempt to calculate distances to HUD attachments, since their global positions are invalid.
2010-08-13Change license from GPL to LGPL (version 2.1)Oz Linden
2010-08-04deprecated ADD_SORTED due to n^2 behavior, set the sort order on the scroll ↵Richard Nelson
list instead
2010-04-19EXT-6921 - Media Volume Changes changes system volume on WinXPRichard Nelson
reviewed by Callum
2010-04-16Fixed prim controls mute bugLeyla Farazha
Reviewed by Richard CC#204
2010-04-16Adding volume controls in NMPLeyla Farazha
reivewed by RIchard cc#194
2010-04-14EXT-6856 Display per media volume controlLeyla Farazha
reviewed by Richard cc#189
2010-03-30EXT-6632 : INFRASTRUCTURE: LLAgentCamera / LLAgent header file / #include ↵Loren Shih
cleanup Took out unnecessary #includes from llagentcamera.*
2010-03-23EXT-2959 : Full out camera functions from llagent to llagentcameraLoren Shih
First check-in; only compiles, nothing more.
2010-02-16Tweak sizes a tiny bit to make media controls look a little betterRick Pasetto
2010-02-05EXT-4102 [BSI] auto zoom on media prims push camera away when zoomed in ↵Leyla Farazha
and clicking reviewed by Rick
2010-01-15Remove crufty and unused volume up/down controlsRick Pasetto
2010-01-05EXT-3649 EXT-3662 : Move media controls to above media faceRick Pasetto
Review #69 This changes where and how the media controls are laid out, and ensures that all of the media region (the face) is clickable. Also moved the volume slider to below the controls (this took WAY too long to do ​:( ​), and adjusted the window region in which the media controls are allowed to be displayed.
2009-12-16DEV-42827: auto-hide media controls volume slider if neither it nor mute ↵Rick Pasetto
button has the mouse over it Review #66 fade-out was going to be harder, but just making it visible/invisible turned out to be pretty easy
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