#include <llfloaterhtml.h>
Public Member Functions | |
virtual | ~LLFloaterHtml () |
virtual void | draw () |
virtual void | onClose (bool app_quitting) |
void | show (LLString content_id, bool open_link_external, bool open_app_slurls) |
void | show (std::string start_url, std::string title, bool open_link_external, bool open_app_slurls) |
Static Public Member Functions | |
static LLFloaterHtml * | getInstance () |
static void | onClickClose (void *data) |
static void | onClickBack (void *data) |
static void | onClickHome (void *data) |
static void | onClickForward (void *data) |
static void | onCommitUrlEdit (LLUICtrl *ctrl, void *user_data) |
static void | onClickGo (void *data) |
Private Member Functions | |
LLFloaterHtml () | |
Private Attributes | |
LLWebBrowserCtrl * | mWebBrowser |
LLButton * | mCloseButton |
Static Private Attributes | |
static LLFloaterHtml * | sInstance = 0 |
Definition at line 41 of file llfloaterhtml.h.
LLFloaterHtml::~LLFloaterHtml | ( | ) | [virtual] |
Definition at line 89 of file llfloaterhtml.cpp.
References LLView::getRect(), gSavedSettings, LLControlGroup::setRect(), and sInstance.
LLFloaterHtml::LLFloaterHtml | ( | ) | [private] |
Definition at line 59 of file llfloaterhtml.cpp.
References LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), FALSE, LLRectBase< Type >::getHeight(), LLSingleton< LLUICtrlFactory >::getInstance(), LLControlGroup::getRect(), LLRectBase< Type >::getWidth(), gSavedSettings, mWebBrowser, onClickBack(), onClickClose(), onClickForward(), onClickGo(), onClickHome(), onCommitUrlEdit(), LLFloater::reshape(), LLWebBrowserCtrl::setOpenInExternalBrowser(), and LLView::setRect().
Referenced by getInstance().
LLFloaterHtml * LLFloaterHtml::getInstance | ( | ) | [static] |
Definition at line 49 of file llfloaterhtml.cpp.
References LLFloaterHtml(), and sInstance.
Referenced by handle_slurl_test(), and LLWebBrowserCtrl::onClickLinkHref().
void LLFloaterHtml::draw | ( | void | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 99 of file llfloaterhtml.cpp.
References LLWebBrowserCtrl::canNavigateBack(), LLWebBrowserCtrl::canNavigateForward(), LLPanel::childSetEnabled(), LLFloater::draw(), and mWebBrowser.
void LLFloaterHtml::onClose | ( | bool | app_quitting | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 149 of file llfloaterhtml.cpp.
References LLFloater::setVisible().
void LLFloaterHtml::show | ( | LLString | content_id, | |
bool | open_link_external, | |||
bool | open_app_slurls | |||
) |
Definition at line 116 of file llfloaterhtml.cpp.
References LLPanel::getString().
Referenced by handle_slurl_test(), and LLWebBrowserCtrl::onClickLinkHref().
void LLFloaterHtml::show | ( | std::string | start_url, | |
std::string | title, | |||
bool | open_link_external, | |||
bool | open_app_slurls | |||
) |
Definition at line 130 of file llfloaterhtml.cpp.
References mWebBrowser, LLWebBrowserCtrl::navigateTo(), LLWebBrowserCtrl::setOpenAppSLURLs(), LLWebBrowserCtrl::setOpenInExternalBrowser(), LLFloater::setTitle(), and LLFloater::setVisibleAndFrontmost().
void LLFloaterHtml::onClickClose | ( | void * | data | ) | [static] |
Reimplemented from LLFloater.
Definition at line 158 of file llfloaterhtml.cpp.
Referenced by LLFloaterHtml().
void LLFloaterHtml::onClickBack | ( | void * | data | ) | [static] |
Definition at line 166 of file llfloaterhtml.cpp.
Referenced by LLFloaterHtml().
void LLFloaterHtml::onClickHome | ( | void * | data | ) | [static] |
Definition at line 180 of file llfloaterhtml.cpp.
References llendl, and llwarns.
Referenced by LLFloaterHtml().
void LLFloaterHtml::onClickForward | ( | void * | data | ) | [static] |
Definition at line 203 of file llfloaterhtml.cpp.
Referenced by LLFloaterHtml().
void LLFloaterHtml::onCommitUrlEdit | ( | LLUICtrl * | ctrl, | |
void * | user_data | |||
) | [static] |
Definition at line 217 of file llfloaterhtml.cpp.
References LLLineEditor::getText().
Referenced by LLFloaterHtml().
void LLFloaterHtml::onClickGo | ( | void * | data | ) | [static] |
Definition at line 232 of file llfloaterhtml.cpp.
Referenced by LLFloaterHtml().
LLWebBrowserCtrl* LLFloaterHtml::mWebBrowser [private] |
LLFloaterHtml * LLFloaterHtml::sInstance = 0 [static, private] |
LLButton* LLFloaterHtml::mCloseButton [private] |
Definition at line 71 of file llfloaterhtml.h.