diff options
Diffstat (limited to 'linden/indra/newview/llfloaterhud.h')
-rw-r--r-- | linden/indra/newview/llfloaterhud.h | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/linden/indra/newview/llfloaterhud.h b/linden/indra/newview/llfloaterhud.h index a0b1d9f..35221ef 100644 --- a/linden/indra/newview/llfloaterhud.h +++ b/linden/indra/newview/llfloaterhud.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /** | 1 | /** |
2 | * @file llfloaterhud.h | 2 | * @file llfloaterhud.h |
3 | * @brief The HUD floater | 3 | * @brief A floater showing the HUD tutorial |
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2008&license=viewergpl$ | 5 | * $LicenseInfo:firstyear=2008&license=viewergpl$ |
6 | * | 6 | * |
@@ -36,28 +36,23 @@ | |||
36 | 36 | ||
37 | class LLWebBrowserCtrl; | 37 | class LLWebBrowserCtrl; |
38 | 38 | ||
39 | //============================================================================= | ||
40 | // | ||
41 | // CLASS LLFloaterHUD | ||
42 | |||
43 | class LLFloaterHUD : public LLFloater | 39 | class LLFloaterHUD : public LLFloater |
44 | |||
45 | /*! @brief A floater showing the HUD tutorial | ||
46 | */ | ||
47 | { | 40 | { |
48 | public: | 41 | public: |
49 | static LLFloaterHUD* getInstance(); ///< get instance creating if necessary | 42 | static LLFloaterHUD* getInstance(); ///< get instance creating if necessary |
50 | virtual ~LLFloaterHUD(); ///< virtual destructor | ||
51 | 43 | ||
52 | static void show(); ///< show the HUD | 44 | static void showHUD(); ///< show the HUD |
53 | static void close(); ///< close the HUD (destroys floater) | ||
54 | 45 | ||
55 | protected: | 46 | // Save our visibility state during close |
56 | LLWebBrowserCtrl* mWebBrowser; ///< the actual web browser control | 47 | /*virtual*/ void onClose(bool app_quitting); |
57 | 48 | ||
58 | LLFloaterHUD(); ///< default constructor | 49 | private: |
50 | // Handles its own construction and destruction, so private. | ||
51 | LLFloaterHUD(); | ||
52 | /*virtual*/ ~LLFloaterHUD(); | ||
59 | 53 | ||
60 | private: | 54 | private: |
55 | LLWebBrowserCtrl* mWebBrowser; ///< the actual web browser control | ||
61 | static LLFloaterHUD* sInstance; | 56 | static LLFloaterHUD* sInstance; |
62 | }; | 57 | }; |
63 | 58 | ||