aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvoiceremotectrl.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llvoiceremotectrl.h (renamed from linden/indra/newview/llvolumesliderctrl.h)42
1 files changed, 21 insertions, 21 deletions
diff --git a/linden/indra/newview/llvolumesliderctrl.h b/linden/indra/newview/llvoiceremotectrl.h
index 096ecc3..46ed709 100644
--- a/linden/indra/newview/llvolumesliderctrl.h
+++ b/linden/indra/newview/llvoiceremotectrl.h
@@ -1,8 +1,8 @@
1/** 1/**
2 * @file llvolumesliderctrl.h 2 * @file llvoiceremotectrl.h
3 * @brief A horizontal volume slider. 3 * @brief A remote control for voice chat
4 * 4 *
5 * Copyright (c) 2004-2007, Linden Research, Inc. 5 * Copyright (c) 2005-2007, Linden Research, Inc.
6 * 6 *
7 * Second Life Viewer Source Code 7 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 8 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -26,31 +26,31 @@
26 * COMPLETENESS OR PERFORMANCE. 26 * COMPLETENESS OR PERFORMANCE.
27 */ 27 */
28 28
29#ifndef LL_LLVOLUMESLIDERCTRL_H 29#ifndef LL_LLVOICEREMOTECTRL_H
30#define LL_LLVOLUMESLIDERCTRL_H 30#define LL_LLVOICEREMOTECTRL_H
31 31
32#include "llslider.h" 32#include "llpanel.h"
33 33
34class LLButton;
34 35
35class LLVolumeSliderCtrl 36class LLVoiceRemoteCtrl : public LLPanel
36: public LLSlider
37{ 37{
38public: 38public:
39 39 LLVoiceRemoteCtrl (const LLString& name);
40 virtual EWidgetType getWidgetType() const { return WIDGET_TYPE_VOLUME_SLIDER; } 40 virtual ~LLVoiceRemoteCtrl();
41 virtual LLString getWidgetTag() const { return LL_VOLUME_SLIDER_CTRL_TAG; }
42 41
43 virtual LLXMLNodePtr getXML(bool save_children = true) const; 42 /*virtual*/ void draw();
44 static LLView* fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory);
45 43
46 LLVolumeSliderCtrl(const std::string& name, 44 static void onBtnLock(void* user_data);
47 const LLRect& rect, 45 static void onBtnTalkHeld(void *user_data);
48 void (*commit_callback)(LLUICtrl* ctrl, void* data), 46 static void onBtnTalkReleased(void* user_data);
49 void* callback_data); 47 static void onBtnTalkClicked(void* user_data);
50 virtual ~LLVolumeSliderCtrl(); 48 static void onClickSpeakers(void *user_data);
51 49
52 virtual void draw(); 50protected:
51 LLButton* mTalkBtn;
52 LLButton* mTalkLockBtn;
53 LLButton* mSpeakersBtn;
53}; 54};
54 55
55 56#endif // LL_LLVOICEREMOTECTRL_H
56#endif