aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterhud.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llfloaterhud.h
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterhud.h (renamed from linden/indra/newview/fakevoicesoundsignal.h)62
1 files changed, 38 insertions, 24 deletions
diff --git a/linden/indra/newview/fakevoicesoundsignal.h b/linden/indra/newview/llfloaterhud.h
index bca6306..bd60d7b 100644
--- a/linden/indra/newview/fakevoicesoundsignal.h
+++ b/linden/indra/newview/llfloaterhud.h
@@ -1,12 +1,10 @@
1/** 1/**
2 * @file fakevoicesoundsignal.h 2 * @file llfloaterhud.h
3 * @brief Fake Voice Sound Signal 3 * @brief The HUD floater
4 * author: JJ Ventrella
5 * THIS IS A TEMPORARY FILE FOR DEVELOPMENT PURPOSES ONLY
6 * 4 *
7 * $LicenseInfo:firstyear=2000&license=viewergpl$ 5 * $LicenseInfo:firstyear=2008&license=viewergpl$
8 * 6 *
9 * Copyright (c) 2000-2008, Linden Research, Inc. 7 * Copyright (c) 2008, Linden Research, Inc.
10 * 8 *
11 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
12 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -30,23 +28,39 @@
30 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$ 29 * $/LicenseInfo$
32 */ 30 */
33#ifndef FAKE_VOICE_SOUND_SIGNAL_H
34#define FAKE_VOICE_SOUND_SIGNAL_H
35 31
36//---------------------------------------------------------------------------- 32#ifndef LL_LLFLOATERHUD_H
37// FakeVoiceSoundSignal 33#define LL_LLFLOATERHUD_H
38//---------------------------------------------------------------------------- 34
39class FakeVoiceSoundSignal 35#include "llfloater.h"
36
37class LLWebBrowserCtrl;
38
39//=============================================================================
40//
41// CLASS LLFloaterHUD
42
43class LLFloaterHUD : public LLFloater
44
45/*! @brief A floater showing the HUD tutorial
46*/
40{ 47{
41 public: 48public:
42 FakeVoiceSoundSignal(); 49 static LLFloaterHUD* getInstance(); ///< get instance creating if necessary
43 ~FakeVoiceSoundSignal(); 50 virtual ~LLFloaterHUD(); ///< virtual destructor
44 void update(); 51
45 F32 getAmplitude(); 52 static std::string sTutorialUrl;
46 bool getActive(); 53
47 54 static void show(); ///< show the HUD
48};//----------------------------------------------------------------- 55 static void close(); ///< close the HUD (destroys floater)
49 // end of class 56
50//------------------------------------------------------------------ 57protected:
51 58 LLWebBrowserCtrl* mWebBrowser; ///< the actual web browser control
52#endif //FAKE_VOICE_SOUND_SIGNAL_H 59
60 LLFloaterHUD(); ///< default constructor
61 virtual void onFocusReceived(); ///< called when we get the focus
62private:
63 static LLFloaterHUD* sInstance;
64};
65
66#endif // LL_LLFLOATERHUD_H