summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelprimmediacontrols.h
AgeCommit message (Collapse)Author
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-08DEV-43866: Fix mute button when you slide volume sliderRick Pasetto
Trivial fix, plus some minor refactoring
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-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-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-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-10-28Completion of rename of llpanelmediahud to llpanelprimmediacontrolsRick Pasetto
2009-10-28rename llpanelmediahud to llpanelprimmediacontrolsRick Pasetto