summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterhud.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterhud.h')
-rw-r--r--indra/newview/llfloaterhud.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/indra/newview/llfloaterhud.h b/indra/newview/llfloaterhud.h
new file mode 100644
index 0000000000..9c1140986e
--- /dev/null
+++ b/indra/newview/llfloaterhud.h
@@ -0,0 +1,44 @@
+/**
+ * @file llfloaterhud.h
+ * @brief The HUD floater
+ *
+ * $LicenseInfo:firstyear=2008&license=viewergpl$
+ * Copyright (c) 2008, Linden Research, Inc.
+ * $/LicenseInfo$
+ */
+
+#ifndef LL_LLFLOATERHUD_H
+#define LL_LLFLOATERHUD_H
+
+#include "llfloater.h"
+
+class LLWebBrowserCtrl;
+
+//=============================================================================
+//
+// CLASS LLFloaterHUD
+
+class LLFloaterHUD : public LLFloater
+
+/*! @brief A floater showing the HUD tutorial
+*/
+{
+public:
+ static LLFloaterHUD* getInstance(); ///< get instance creating if necessary
+ virtual ~LLFloaterHUD(); ///< virtual destructor
+
+ static std::string sTutorialUrl;
+
+ static void show(); ///< show the HUD
+ static void close(); ///< close the HUD (destroys floater)
+
+protected:
+ LLWebBrowserCtrl* mWebBrowser; ///< the actual web browser control
+
+ LLFloaterHUD(); ///< default constructor
+ virtual void onFocusReceived(); ///< called when we get the focus
+private:
+ static LLFloaterHUD* sInstance;
+};
+
+#endif // LL_LLFLOATERHUD_H