summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterhud.h
blob: 9c1140986e68458a01d690b3eea1e0ca781b1443 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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