Public Member Functions | |
LLFloaterHtmlHelp (std::string start_url, std::string title) | |
virtual | ~LLFloaterHtmlHelp () |
virtual void | onClose (bool app_quitting) |
virtual void | draw () |
virtual void | onStatusTextChange (const EventType &eventIn) |
virtual void | onLocationChange (const EventType &eventIn) |
Static Public Member Functions | |
static void | show (std::string url, std::string title) |
static void | onClickBack (void *data) |
static void | onClickHome (void *data) |
static void | onClickForward (void *data) |
static void | onClickClose (void *data) |
static void | onClickF1HelpLoadURL (S32 option, void *userdata) |
Static Public Attributes | |
static BOOL | sFloaterOpened = FALSE |
Protected Attributes | |
LLWebBrowserCtrl * | mWebBrowser |
LLButton * | mBackButton |
LLButton * | mForwardButton |
LLButton * | mCloseButton |
LLTextBox * | mStatusText |
LLString | mStatusTextContents |
LLString | mCurrentUrl |
Static Protected Attributes | |
static LLFloaterHtmlHelp * | sInstance = 0 |
Definition at line 248 of file llfloaterhtmlhelp.cpp.
LLFloaterHtmlHelp::LLFloaterHtmlHelp | ( | std::string | start_url, | |
std::string | title | |||
) |
Definition at line 291 of file llfloaterhtmlhelp.cpp.
References LLWebBrowserCtrl::addObserver(), LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLSingleton< LLUICtrlFactory >::getInstance(), LLControlGroup::getString(), gSavedSettings, mWebBrowser, LLWebBrowserCtrl::navigateTo(), onClickBack(), onClickForward(), onClickHome(), LLFloater::setTitle(), and sInstance.
Referenced by show().
LLFloaterHtmlHelp::~LLFloaterHtmlHelp | ( | ) | [virtual] |
Definition at line 337 of file llfloaterhtmlhelp.cpp.
References LLView::getRect(), gSavedSettings, mCurrentUrl, mWebBrowser, LLWebBrowserCtrl::remObserver(), LLControlGroup::setRect(), LLControlGroup::setString(), and sInstance.
void LLFloaterHtmlHelp::onClose | ( | bool | app_quitting | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 440 of file llfloaterhtmlhelp.cpp.
References LLFloater::setVisible().
void LLFloaterHtmlHelp::draw | ( | void | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 356 of file llfloaterhtmlhelp.cpp.
References LLWebBrowserCtrl::canNavigateBack(), LLWebBrowserCtrl::canNavigateForward(), LLPanel::childSetEnabled(), LLFloater::draw(), and mWebBrowser.
void LLFloaterHtmlHelp::show | ( | std::string | url, | |
std::string | title | |||
) | [static] |
Definition at line 373 of file llfloaterhtmlhelp.cpp.
References LLViewerWindow::alertXml(), FALSE, LLRectBase< Type >::getHeight(), LLControlGroup::getRect(), LLRectBase< Type >::getWidth(), gSavedSettings, gViewerWindow, LLFloaterHtmlHelp(), mWebBrowser, LLWebBrowserCtrl::navigateTo(), NULL, onClickF1HelpLoadURL(), LLFloater::setVisibleAndFrontmost(), sFloaterOpened, and sInstance.
Referenced by LLViewerHtmlHelp::show().
void LLFloaterHtmlHelp::onClickBack | ( | void * | data | ) | [static] |
Definition at line 456 of file llfloaterhtmlhelp.cpp.
Referenced by LLFloaterHtmlHelp().
void LLFloaterHtmlHelp::onClickHome | ( | void * | data | ) | [static] |
Definition at line 470 of file llfloaterhtmlhelp.cpp.
References LLWebBrowserCtrl::navigateHome().
Referenced by LLFloaterHtmlHelp().
void LLFloaterHtmlHelp::onClickForward | ( | void * | data | ) | [static] |
Definition at line 486 of file llfloaterhtmlhelp.cpp.
Referenced by LLFloaterHtmlHelp().
void LLFloaterHtmlHelp::onClickClose | ( | void * | data | ) | [static] |
void LLFloaterHtmlHelp::onStatusTextChange | ( | const EventType & | eventIn | ) | [virtual] |
Reimplemented from LLWebBrowserCtrlObserver.
Definition at line 500 of file llfloaterhtmlhelp.cpp.
References LLPanel::childSetText(), LLWebBrowserCtrlEvent::getStringValue(), and mStatusTextContents.
void LLFloaterHtmlHelp::onLocationChange | ( | const EventType & | eventIn | ) | [virtual] |
Reimplemented from LLWebBrowserCtrlObserver.
Definition at line 509 of file llfloaterhtmlhelp.cpp.
References LLWebBrowserCtrlEvent::getStringValue(), llendl, llinfos, and mCurrentUrl.
void LLFloaterHtmlHelp::onClickF1HelpLoadURL | ( | S32 | option, | |
void * | userdata | |||
) | [static] |
Definition at line 403 of file llfloaterhtmlhelp.cpp.
References LLControlGroup::getString(), LLWeb::loadURL(), and LLUI::sConfigGroup.
Referenced by show().
BOOL LLFloaterHtmlHelp::sFloaterOpened = FALSE [static] |
LLWebBrowserCtrl* LLFloaterHtmlHelp::mWebBrowser [protected] |
Definition at line 275 of file llfloaterhtmlhelp.cpp.
Referenced by draw(), LLFloaterHtmlHelp(), show(), and ~LLFloaterHtmlHelp().
LLFloaterHtmlHelp * LLFloaterHtmlHelp::sInstance = 0 [static, protected] |
Definition at line 276 of file llfloaterhtmlhelp.cpp.
Referenced by LLFloaterHtmlHelp(), show(), and ~LLFloaterHtmlHelp().
LLButton* LLFloaterHtmlHelp::mBackButton [protected] |
Definition at line 277 of file llfloaterhtmlhelp.cpp.
LLButton* LLFloaterHtmlHelp::mForwardButton [protected] |
Definition at line 278 of file llfloaterhtmlhelp.cpp.
LLButton* LLFloaterHtmlHelp::mCloseButton [protected] |
Definition at line 279 of file llfloaterhtmlhelp.cpp.
LLTextBox* LLFloaterHtmlHelp::mStatusText [protected] |
Definition at line 280 of file llfloaterhtmlhelp.cpp.
LLString LLFloaterHtmlHelp::mStatusTextContents [protected] |
LLString LLFloaterHtmlHelp::mCurrentUrl [protected] |
Definition at line 282 of file llfloaterhtmlhelp.cpp.
Referenced by onLocationChange(), and ~LLFloaterHtmlHelp().