#include <lluictrlfactory.h>
Definition at line 44 of file lluictrlfactory.h.
typedef std::map<LLHandle<LLPanel>, LLString> LLUICtrlFactory::built_panel_t [private] |
Definition at line 82 of file lluictrlfactory.h.
typedef std::map<LLHandle<LLFloater>, LLString> LLUICtrlFactory::built_floater_t [private] |
Definition at line 85 of file lluictrlfactory.h.
LLUICtrlFactory::LLUICtrlFactory | ( | ) |
Definition at line 106 of file lluictrlfactory.cpp.
References setupPaths().
LLUICtrlFactory::~LLUICtrlFactory | ( | ) | [virtual] |
void LLUICtrlFactory::setupPaths | ( | ) |
Definition at line 118 of file lluictrlfactory.cpp.
References gDirUtilp, LLDir::getAppRODataDir(), LLDir::getDirDelimiter(), LLDir::getExpandedFilename(), LLControlGroup::getString(), LL_PATH_SKINS, llendl, llwarns, mXUIPaths, LLPointer< Type >::notNull(), NULL, LLXMLNode::parseFile(), and LLUI::sConfigGroup.
Referenced by LLAppViewer::init(), and LLUICtrlFactory().
void LLUICtrlFactory::buildFloater | ( | LLFloater * | floaterp, | |
const LLString & | filename, | |||
const LLCallbackMap::map_t * | factory_map = NULL , |
|||
BOOL | open = TRUE | |||
) |
Definition at line 204 of file lluictrlfactory.cpp.
References LLFloater::getHandle(), getLayeredXMLNode(), indra::ipc::xml_rpc::handle(), LLFloater::initFloaterXML(), llendl, llwarns, mBuiltFloaters, mFactoryStack, NULL, LLView::setToolTip(), and LLUI::sShowXUINames.
Referenced by LLFloaterScriptDebug::addOutputWindow(), LLFloaterGroupPicker::createInstance(), LLFloaterColorPicker::createUI(), LLFloater::fromXML(), handle_load_from_xml(), handle_upload(), LLFileUploadAnim::handleEvent(), LLFileUploadSound::handleEvent(), LLFileUploadImage::handleEvent(), LLPreviewTexture::init(), LLInventoryView::init(), LLFloaterIMPanel::init(), LLFloaterAbout::LLFloaterAbout(), LLFloaterActiveSpeakers::LLFloaterActiveSpeakers(), LLFloaterAuction::LLFloaterAuction(), LLFloaterAvatarInfo::LLFloaterAvatarInfo(), LLFloaterAvatarPicker::LLFloaterAvatarPicker(), LLFloaterBump::LLFloaterBump(), LLFloaterBuy::LLFloaterBuy(), LLFloaterBuyContents::LLFloaterBuyContents(), LLFloaterCamera::LLFloaterCamera(), LLFloaterChat::LLFloaterChat(), LLFloaterChatterBox::LLFloaterChatterBox(), LLFloaterClassifiedInfo::LLFloaterClassifiedInfo(), LLFloaterClothing::LLFloaterClothing(), LLFloaterCustomize::LLFloaterCustomize(), LLFloaterDayCycle::LLFloaterDayCycle(), LLFloaterDirectory::LLFloaterDirectory(), LLFloaterEnvSettings::LLFloaterEnvSettings(), LLFloaterEventInfo::LLFloaterEventInfo(), LLFloaterGodTools::LLFloaterGodTools(), LLFloaterHardwareSettings::LLFloaterHardwareSettings(), LLFloaterHtml::LLFloaterHtml(), LLFloaterHtmlHelp::LLFloaterHtmlHelp(), LLFloaterHUD::LLFloaterHUD(), LLFloaterIM::LLFloaterIM(), LLFloaterInspect::LLFloaterInspect(), LLFloaterJoystick::LLFloaterJoystick(), LLFloaterLagMeter::LLFloaterLagMeter(), LLFloaterLand::LLFloaterLand(), LLFloaterLandmark::LLFloaterLandmark(), LLFloaterMediaBrowser::LLFloaterMediaBrowser(), LLFloaterMove::LLFloaterMove(), LLFloaterMute::LLFloaterMute(), LLFloaterMuteObjectUI::LLFloaterMuteObjectUI(), LLFloaterMyFriends::LLFloaterMyFriends(), LLFloaterNewIM::LLFloaterNewIM(), LLFloaterOpenObject::LLFloaterOpenObject(), LLFloaterParcelInfo::LLFloaterParcelInfo(), LLFloaterPay::LLFloaterPay(), LLFloaterPostProcess::LLFloaterPostProcess(), LLFloaterPreference::LLFloaterPreference(), LLFloaterProperties::LLFloaterProperties(), LLFloaterRegionInfo::LLFloaterRegionInfo(), LLFloaterReleaseMsg::LLFloaterReleaseMsg(), LLFloaterReporter::LLFloaterReporter(), LLFloaterScriptQueue::LLFloaterScriptQueue(), LLFloaterScriptSearch::LLFloaterScriptSearch(), LLFloaterSimple::LLFloaterSimple(), LLFloaterTelehub::LLFloaterTelehub(), LLFloaterTexturePicker::LLFloaterTexturePicker(), LLFloaterTools::LLFloaterTools(), LLFloaterURLDisplay::LLFloaterURLDisplay(), LLFloaterURLEntry::LLFloaterURLEntry(), LLFloaterVoiceDeviceSettings::LLFloaterVoiceDeviceSettings(), LLFloaterWater::LLFloaterWater(), LLFloaterWindLight::LLFloaterWindLight(), LLFloaterWorldMap::LLFloaterWorldMap(), LLInventoryViewFinder::LLInventoryViewFinder(), LLLiveLSLEditor::LLLiveLSLEditor(), LLMakeOutfitDialog::LLMakeOutfitDialog(), LLPreviewAnim::LLPreviewAnim(), LLPreviewLandmark::LLPreviewLandmark(), LLPreviewLSL::LLPreviewLSL(), LLPreviewNotecard::LLPreviewNotecard(), LLPreviewSound::LLPreviewSound(), LLVoiceHotkeySelectDialog::LLVoiceHotkeySelectDialog(), LLWearableSaveAsDialog::LLWearableSaveAsDialog(), LLScriptEdCore::onBtnDynamicHelp(), rebuild(), LLPreviewGesture::show(), LLFloaterTOS::show(), LLFloaterTopObjects::show(), LLFloaterSnapshot::show(), LLFloaterSettingsDebug::show(), LLFloaterLandHoldings::show(), LLFloaterGesture::show(), LLFloaterBuildOptions::show(), LLFloaterAvatarTextures::show(), LLFloaterPostcard::showFromSnapshot(), LLFloaterSellLandUI::soleInstance(), LLFloaterBuyLandUI::soleInstance(), and LLFloaterBuyCurrencyUI::soleInstance().
BOOL LLUICtrlFactory::buildPanel | ( | LLPanel * | panelp, | |
const LLString & | filename, | |||
const LLCallbackMap::map_t * | factory_map = NULL | |||
) |
Definition at line 267 of file lluictrlfactory.cpp.
References FALSE, LLPanel::getHandle(), getLayeredXMLNode(), indra::ipc::xml_rpc::handle(), LLPanel::initPanelXML(), llendl, llwarns, mBuiltPanels, mFactoryStack, NULL, LLView::setToolTip(), and LLUI::sShowXUINames.
Referenced by LLMediaRemoteCtrl::build(), LLFloaterEventInfo::createEventDetail(), LLFloaterDirectory::createEventDetail(), LLFloaterParcelInfo::createPanelPlace(), LLPreviewLandmark::createPlaceDetail(), LLFloaterURLDisplay::createPlaceDetail(), LLFloaterDirectory::createPlaceDetail(), LLFloaterDirectory::createPlaceDetailSmall(), LLPanel::initPanelXML(), LLBottomPanel::LLBottomPanel(), LLOverlayBar::LLOverlayBar(), LLPanelAudioPrefs::LLPanelAudioPrefs(), LLPanelAvatar::LLPanelAvatar(), LLPanelClassified::LLPanelClassified(), LLPanelDisplay::LLPanelDisplay(), LLPanelGeneral::LLPanelGeneral(), LLPanelGroup::LLPanelGroup(), LLPanelGroupInvite::LLPanelGroupInvite(), LLPanelInput::LLPanelInput(), LLPanelLCD::LLPanelLCD(), LLPanelLogin::LLPanelLogin(), LLPanelMsgs::LLPanelMsgs(), LLPanelNetwork::LLPanelNetwork(), LLPanelPick::LLPanelPick(), LLPanelWeb::LLPanelWeb(), LLPrefsChatImpl::LLPrefsChatImpl(), LLPrefsIMImpl::LLPrefsIMImpl(), LLPrefsVoice::LLPrefsVoice(), LLScrollingPanelParam::LLScrollingPanelParam(), LLStatusBar::LLStatusBar(), LLVoiceRemoteCtrl::LLVoiceRemoteCtrl(), LLVoiceRemoteCtrl::onClickPopupBtn(), LLFloaterRegionInfo::postBuild(), rebuild(), and LLPanelGroup::setGroupID().
void LLUICtrlFactory::removePanel | ( | LLPanel * | panelp | ) | [inline] |
Definition at line 58 of file lluictrlfactory.h.
References LLPanel::getHandle(), and mBuiltPanels.
void LLUICtrlFactory::removeFloater | ( | LLFloater * | floaterp | ) | [inline] |
Definition at line 59 of file lluictrlfactory.h.
References LLFloater::getHandle(), and mBuiltFloaters.
Definition at line 311 of file lluictrlfactory.cpp.
References LLMenuBarGL::fromXML(), LLMenuGL::fromXML(), getLayeredXMLNode(), llendl, llwarns, NULL, LLView::setToolTip(), and LLUI::sShowXUINames.
Referenced by init_menus(), and LLFolderView::LLFolderView().
Definition at line 349 of file lluictrlfactory.cpp.
References LLView::addChild(), getLayeredXMLNode(), LLPieMenu::initXML(), LL_PIE_MENU_TAG, llendl, llwarns, NULL, LLView::setToolTip(), and LLUI::sShowXUINames.
Referenced by init_menus().
Definition at line 245 of file lluictrlfactory.cpp.
References LLView::getXML(), llendl, llofstream, llwarns, and XML_HEADER.
Referenced by handle_save_to_xml().
void LLUICtrlFactory::rebuild | ( | ) |
Definition at line 383 of file lluictrlfactory.cpp.
References buildFloater(), buildPanel(), LLView::deleteAllChildren(), FALSE, LLPanel::getFactoryMap(), LLView::getName(), LLView::getVisible(), gFloaterView, llendl, llinfos, mBuiltFloaters, mBuiltPanels, LLView::removeChild(), LLFloater::setFocus(), LLPanel::setFocus(), LLFloater::setVisible(), and LLView::setVisible().
Referenced by reload_ui().
BOOL LLUICtrlFactory::getAttributeColor | ( | LLXMLNodePtr | node, | |
const LLString & | name, | |||
LLColor4 & | color | |||
) | [static] |
Definition at line 502 of file lluictrlfactory.cpp.
References FALSE, LLColor4::parseColor(), LLUI::sColorsGroup, and LLColor4::setVec().
Referenced by LLWebBrowserCtrl::fromXML(), LLTextBox::fromXML(), LLScrollableContainerView::fromXML(), LLMenuBarGL::fromXML(), LLMenuGL::fromXML(), LLIconCtrl::fromXML(), LLCheckBoxCtrl::fromXML(), LLLineEditor::setColorParameters(), LLPanel::setPanelParameters(), LLScrollListCtrl::setScrollListParameters(), and LLTextEditor::setTextEditorParameters().
Definition at line 480 of file lluictrlfactory.cpp.
References mFactoryStack, and NULL.
Referenced by LLPanel::fromXML().
LLView * LLUICtrlFactory::createCtrlWidget | ( | LLPanel * | parent, | |
LLXMLNodePtr | node | |||
) | [virtual] |
Definition at line 436 of file lluictrlfactory.cpp.
References LLWidgetClassRegistry::getCreatorFunc(), LLSingleton< LLWidgetClassRegistry >::getInstance(), llendl, llwarns, mDummyPanel, NULL, and LLStringBase< char >::toLower().
Referenced by LLView::createWidget(), createWidget(), LLTabContainer::fromXML(), and LLScrollableContainerView::fromXML().
LLView * LLUICtrlFactory::createWidget | ( | LLPanel * | parent, | |
LLXMLNodePtr | node | |||
) | [virtual] |
Definition at line 462 of file lluictrlfactory.cpp.
References LLView::addChild(), createCtrlWidget(), LLPanel::getLastTabGroup(), and S32.
Referenced by LLLayoutStack::fromXML(), and LLPanel::initChildrenXML().
bool LLUICtrlFactory::getLayeredXMLNode | ( | const LLString & | filename, | |
LLXMLNodePtr & | root | |||
) | [static] |
Definition at line 166 of file lluictrlfactory.cpp.
References FALSE, llendl, llwarns, mXUIPaths, NULL, LLXMLNode::parseFile(), TRUE, and LLXMLNode::updateNode().
Referenced by buildFloater(), buildMenu(), buildPanel(), buildPieMenu(), LLAlertDialog::parseAlerts(), LLMIMETypes::parseMIMETypes(), LLNotifyBox::parseNotify(), LLGroupMgr::parseRoleActions(), LLTrans::parseStrings(), and LLAgent::parseTeleportMessages().
built_panel_t LLUICtrlFactory::mBuiltPanels [private] |
Definition at line 83 of file lluictrlfactory.h.
Referenced by buildPanel(), rebuild(), and removePanel().
Definition at line 86 of file lluictrlfactory.h.
Referenced by buildFloater(), rebuild(), and removeFloater().
std::deque<const LLCallbackMap::map_t*> LLUICtrlFactory::mFactoryStack [private] |
Definition at line 88 of file lluictrlfactory.h.
Referenced by buildFloater(), buildPanel(), and createFactoryPanel().
std::vector< LLString > LLUICtrlFactory::mXUIPaths [static, private] |
Definition at line 90 of file lluictrlfactory.h.
Referenced by getLayeredXMLNode(), and setupPaths().
LLPanel* LLUICtrlFactory::mDummyPanel [private] |
Definition at line 92 of file lluictrlfactory.h.
Referenced by createCtrlWidget(), and ~LLUICtrlFactory().