diff options
author | Rick Pasetto <rick@lindenlab.com> | 2009-12-16 15:03:21 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2009-12-16 15:03:21 -0800 |
commit | e1b712a3a63e9103992b7a999a2bc94111f0401f (patch) | |
tree | 1e80e0c20e6e8827143d9e16338bd2abb61f8503 /indra/newview/llpanelprimmediacontrols.h | |
parent | a9948da80ade03523eaab1c46340313b57ee7eb6 (diff) |
DEV-42827: auto-hide media controls volume slider if neither it nor mute 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
Diffstat (limited to 'indra/newview/llpanelprimmediacontrols.h')
-rw-r--r-- | indra/newview/llpanelprimmediacontrols.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llpanelprimmediacontrols.h b/indra/newview/llpanelprimmediacontrols.h index 17e65b8b0c..d899ee4473 100644 --- a/indra/newview/llpanelprimmediacontrols.h +++ b/indra/newview/llpanelprimmediacontrols.h @@ -110,6 +110,7 @@ private: void onCommitVolumeSlider(); void onToggleMute(); void showVolumeSlider(); + void hideVolumeSlider(); static void onScrollUp(void* user_data); static void onScrollUpHeld(void* user_data); @@ -204,7 +205,7 @@ private: LLUUID mZoomObjectID; S32 mZoomObjectFace; - bool mVolumeSliderVisible; + S32 mVolumeSliderVisible; }; #endif // LL_PANELPRIMMEDIACONTROLS_H |