#include <llfloaterhud.h>
Public Member Functions | |
virtual | ~LLFloaterHUD () |
virtual destructor | |
Static Public Member Functions | |
static LLFloaterHUD * | getInstance () |
get instance creating if necessary | |
static void | show () |
show the HUD | |
static void | close () |
close the HUD (destroys floater) | |
Static Public Attributes | |
static std::string | sTutorialUrl = "" |
Protected Member Functions | |
LLFloaterHUD () | |
default constructor | |
Protected Attributes | |
LLWebBrowserCtrl * | mWebBrowser |
the actual web browser control | |
Static Private Attributes | |
static LLFloaterHUD * | sInstance = 0 |
Definition at line 43 of file llfloaterhud.h.
LLFloaterHUD::~LLFloaterHUD | ( | ) | [virtual] |
virtual destructor
Definition at line 109 of file llfloaterhud.cpp.
References LLView::getRect(), gSavedSettings, NULL, LLControlGroup::setRect(), and sInstance.
LLFloaterHUD::LLFloaterHUD | ( | ) | [protected] |
default constructor
Definition at line 50 of file llfloaterhud.cpp.
References LLUICtrlFactory::buildFloater(), FALSE, LLRectBase< Type >::getHeight(), LLSingleton< LLUICtrlFactory >::getInstance(), LLControlGroup::getRect(), LLControlGroup::getString(), LLRectBase< Type >::getWidth(), gSavedSettings, mWebBrowser, LLWebBrowserCtrl::navigateTo(), LLFloater::reshape(), LLPanel::setBackgroundOpaque(), LLFloater::setIsChrome(), LLWebBrowserCtrl::setOpenInExternalBrowser(), LLView::setRect(), LLWebBrowserCtrl::setTakeFocusOnClick(), LLFloater::setTitleVisible(), sInstance, sTutorialUrl, and TRUE.
Referenced by getInstance().
LLFloaterHUD * LLFloaterHUD::getInstance | ( | ) | [static] |
get instance creating if necessary
Definition at line 99 of file llfloaterhud.cpp.
References LLFloaterHUD(), and sInstance.
Referenced by show().
void LLFloaterHUD::show | ( | ) | [static] |
show the HUD
Definition at line 122 of file llfloaterhud.cpp.
References FALSE, getInstance(), LLFloater::open(), LLFloater::setFrontmost(), LLAlertDialog::showXml(), and sTutorialUrl.
Referenced by LLShowFloater::handleEvent(), and idle_startup().
void LLFloaterHUD::close | ( | ) | [static] |
close the HUD (destroys floater)
Definition at line 137 of file llfloaterhud.cpp.
References close(), and sInstance.
Referenced by close().
std::string LLFloaterHUD::sTutorialUrl = "" [static] |
Definition at line 52 of file llfloaterhud.h.
Referenced by idle_startup(), LLFloaterHUD(), and show().
LLWebBrowserCtrl* LLFloaterHUD::mWebBrowser [protected] |
the actual web browser control
Definition at line 58 of file llfloaterhud.h.
Referenced by LLFloaterHUD().
LLFloaterHUD * LLFloaterHUD::sInstance = 0 [static, private] |
Definition at line 63 of file llfloaterhud.h.
Referenced by close(), getInstance(), LLFloaterHUD(), and ~LLFloaterHUD().