LLUICtrlFactory Class Reference

#include <lluictrlfactory.h>

Inheritance diagram for LLUICtrlFactory:

Inheritance graph
[legend]
Collaboration diagram for LLUICtrlFactory:

Collaboration graph
[legend]
List of all members.

Public Types

typedef LLView *(*) creator_function_t (LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory)

Public Member Functions

 LLUICtrlFactory ()
virtual ~LLUICtrlFactory ()
void setupPaths ()
void buildFloater (LLFloater *floaterp, const LLString &filename, const LLCallbackMap::map_t *factory_map=NULL, BOOL open=TRUE)
BOOL buildPanel (LLPanel *panelp, const LLString &filename, const LLCallbackMap::map_t *factory_map=NULL)
LLMenuGLbuildMenu (const LLString &filename, LLView *parentp)
LLPieMenubuildPieMenu (const LLString &filename, LLView *parentp)
S32 saveToXML (LLView *viewp, const LLString &filename)
void removePanel (LLPanel *panelp)
void removeFloater (LLFloater *floaterp)
void rebuild ()
LLPanelcreateFactoryPanel (LLString name)
virtual LLViewcreateCtrlWidget (LLPanel *parent, LLXMLNodePtr node)
virtual void createWidget (LLPanel *parent, LLXMLNodePtr node)
void registerCreator (LLString ctrlname, creator_function_t function)

Static Public Member Functions

static EWidgetType getWidgetType (const LLString &ctrl_type)
static LLString getWidgetType (EWidgetType ctrl_type)
static BOOL getAttributeColor (LLXMLNodePtr node, const LLString &name, LLColor4 &color)
static LLButtongetButtonByName (LLPanel *panelp, const LLString &name)
static LLCheckBoxCtrlgetCheckBoxByName (LLPanel *panelp, const LLString &name)
static LLComboBoxgetComboBoxByName (LLPanel *panelp, const LLString &name)
static LLIconCtrlgetIconByName (LLPanel *panelp, const LLString &name)
static LLLineEditorgetLineEditorByName (LLPanel *panelp, const LLString &name)
static LLNameListCtrlgetNameListByName (LLPanel *panelp, const LLString &name)
static LLRadioGroupgetRadioGroupByName (LLPanel *panelp, const LLString &name)
static LLScrollListCtrlgetScrollListByName (LLPanel *panelp, const LLString &name)
static LLSliderCtrlgetSliderByName (LLPanel *panelp, const LLString &name)
static LLSlidergetSliderBarByName (LLPanel *panelp, const LLString &name)
static LLSpinCtrlgetSpinnerByName (LLPanel *panelp, const LLString &name)
static LLTextBoxgetTextBoxByName (LLPanel *panelp, const LLString &name)
static LLTextEditorgetTextEditorByName (LLPanel *panelp, const LLString &name)
static LLTabContainerCommongetTabContainerByName (LLPanel *panelp, const LLString &name)
static LLScrollableContainerViewgetScrollableContainerByName (LLPanel *panelp, const LLString &name)
static LLTextureCtrlgetTexturePickerByName (LLPanel *panelp, const LLString &name)
static LLPanelgetPanelByName (LLPanel *panelp, const LLString &name)
static LLColorSwatchCtrlgetColorSwatchByName (LLPanel *panelp, const LLString &name)
static LLWebBrowserCtrl * getWebBrowserCtrlByName (LLPanel *panelp, const LLString &name)
static LLMenuItemCallGLgetMenuItemCallByName (LLPanel *panelp, const LLString &name)
static LLScrollingPanelListgetScrollingPanelList (LLPanel *panelp, const LLString &name)
static LLCtrlListInterfacegetListInterfaceByName (LLPanel *panelp, const LLString &name)
static LLCtrlSelectionInterfacegetSelectionInterfaceByName (LLPanel *panelp, const LLString &name)
static LLCtrlScrollInterfacegetScrollInterfaceByName (LLPanel *panelp, const LLString &name)
static bool getLayeredXMLNode (const LLString &filename, LLXMLNodePtr &root)

Protected Types

typedef std::map< LLViewHandle,
LLString
built_panel_t
typedef std::map< LLViewHandle,
LLString
built_floater_t
typedef std::map< LLString,
creator_function_t
creator_list_t

Protected Attributes

built_panel_t mBuiltPanels
built_floater_t mBuiltFloaters
std::deque< const LLCallbackMap::map_t * > mFactoryStack
creator_list_t mCreatorFunctions

Static Protected Attributes

static const LLString sUICtrlNames []
static std::vector< LLStringmXUIPaths

Detailed Description

Definition at line 77 of file lluictrlfactory.h.


Member Typedef Documentation

typedef std::map<LLViewHandle, LLString> LLUICtrlFactory::built_floater_t [protected]

Definition at line 153 of file lluictrlfactory.h.

typedef std::map<LLViewHandle, LLString> LLUICtrlFactory::built_panel_t [protected]

Definition at line 151 of file lluictrlfactory.h.

typedef LLView*(*) LLUICtrlFactory::creator_function_t(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory)

Definition at line 143 of file lluictrlfactory.h.

typedef std::map<LLString, creator_function_t> LLUICtrlFactory::creator_list_t [protected]

Definition at line 160 of file lluictrlfactory.h.


Constructor & Destructor Documentation

LLUICtrlFactory::LLUICtrlFactory (  ) 

Definition at line 193 of file lluictrlfactory.cpp.

References LL_BUTTON_TAG, LL_CHECK_BOX_CTRL_TAG, LL_COMBO_BOX_TAG, LL_ICON_CTRL_TAG, LL_LAYOUT_STACK_TAG, LL_LINE_EDITOR_TAG, LL_MENU_BAR_GL_TAG, LL_MENU_GL_TAG, LL_PAD_TAG, LL_PANEL_TAG, LL_RADIO_GROUP_TAG, LL_SCROLL_LIST_CTRL_TAG, LL_SCROLLABLE_CONTAINER_VIEW_TAG, LL_SCROLLING_PANEL_LIST_TAG, LL_SEARCH_EDITOR_TAG, LL_SLIDER_CTRL_TAG, LL_SLIDER_TAG, LL_SPIN_CTRL_TAG, LL_TAB_CONTAINER_COMMON_TAG, LL_TEXT_BOX_TAG, LL_UI_CTRL_LOCATE_TAG, LL_VIEW_BORDER_TAG, LL_VOLUME_SLIDER_CTRL_TAG, LLUICtrlCreator< T >::registerCreator(), and setupPaths().

LLUICtrlFactory::~LLUICtrlFactory (  )  [virtual]

Definition at line 272 of file lluictrlfactory.cpp.


Member Function Documentation

void LLUICtrlFactory::buildFloater ( LLFloater floaterp,
const LLString filename,
const LLCallbackMap::map_t factory_map = NULL,
BOOL  open = TRUE 
)

Definition at line 316 of file lluictrlfactory.cpp.

References LLPanel::getHandle(), getLayeredXMLNode(), LLFloater::initFloaterXML(), llendl, llwarns, mBuiltFloaters, mFactoryStack, LLView::mToolTipMsg, NULL, 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(), LLFloaterAudioVolume::LLFloaterAudioVolume(), LLFloaterAvatarInfo::LLFloaterAvatarInfo(), LLFloaterAvatarList::LLFloaterAvatarList(), LLFloaterAvatarPicker::LLFloaterAvatarPicker(), LLFloaterBump::LLFloaterBump(), LLFloaterBuy::LLFloaterBuy(), LLFloaterBuyContents::LLFloaterBuyContents(), LLFloaterChat::LLFloaterChat(), LLFloaterChatterBox::LLFloaterChatterBox(), LLFloaterClassifiedInfo::LLFloaterClassifiedInfo(), LLFloaterClothing::LLFloaterClothing(), LLFloaterCustomize::LLFloaterCustomize(), LLFloaterDeviceSettings::LLFloaterDeviceSettings(), LLFloaterDirectory::LLFloaterDirectory(), LLFloaterEventInfo::LLFloaterEventInfo(), LLFloaterEventLog::LLFloaterEventLog(), LLFloaterGodTools::LLFloaterGodTools(), LLFloaterHtml::LLFloaterHtml(), LLFloaterIM::LLFloaterIM(), LLFloaterInspect::LLFloaterInspect(), LLFloaterLagMeter::LLFloaterLagMeter(), LLFloaterLand::LLFloaterLand(), LLFloaterLandmark::LLFloaterLandmark(), LLFloaterMove::LLFloaterMove(), LLFloaterMute::LLFloaterMute(), LLFloaterMyFriends::LLFloaterMyFriends(), LLFloaterNetwork2080::LLFloaterNetwork2080(), LLFloaterNewIM::LLFloaterNewIM(), LLFloaterOpenObject::LLFloaterOpenObject(), LLFloaterParcelInfo::LLFloaterParcelInfo(), LLFloaterPay::LLFloaterPay(), LLFloaterPreference::LLFloaterPreference(), LLFloaterProperties::LLFloaterProperties(), LLFloaterReleaseMsg::LLFloaterReleaseMsg(), LLFloaterReporter::LLFloaterReporter(), LLFloaterScriptQueue::LLFloaterScriptQueue(), LLFloaterScriptSearch::LLFloaterScriptSearch(), LLFloaterSimple::LLFloaterSimple(), LLFloaterTelehub::LLFloaterTelehub(), LLFloaterTexturePicker::LLFloaterTexturePicker(), LLFloaterTools::LLFloaterTools(), LLFloaterTrustNetRate::LLFloaterTrustNetRate(), LLFloaterURLDisplay::LLFloaterURLDisplay(), LLFloaterVoiceWizard::LLFloaterVoiceWizard(), 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(), LLFloaterSettingsDebug::show(), LLPreviewGesture::show(), LLFloaterTOS::show(), LLFloaterTopObjects::show(), LLFloaterSnapshot::show(), LLFloaterSaveAvatar::show(), LLFloaterLandHoldings::show(), LLFloaterGesture::show(), LLFloaterBuildOptions::show(), LLFloaterAvatarTextures::show(), LLFloaterJoystick::show(), LLFloaterPostcard::showFromSnapshot(), LLFloaterSellLandUI::soleInstance(), LLFloaterBuyLandUI::soleInstance(), and LLFloaterBuyCurrencyUI::soleInstance().

LLMenuGL * LLUICtrlFactory::buildMenu ( const LLString filename,
LLView parentp 
)

Definition at line 423 of file lluictrlfactory.cpp.

References LLMenuBarGL::fromXML(), LLMenuGL::fromXML(), getLayeredXMLNode(), llendl, llwarns, LLView::mToolTipMsg, NULL, and LLUI::sShowXUINames.

Referenced by init_menus(), LLFolderView::LLFolderView(), and LLViewerTextEditor::LLViewerTextEditor().

BOOL LLUICtrlFactory::buildPanel ( LLPanel panelp,
const LLString filename,
const LLCallbackMap::map_t factory_map = NULL 
)

Definition at line 379 of file lluictrlfactory.cpp.

References FALSE, LLPanel::getHandle(), getLayeredXMLNode(), LLPanel::initPanelXML(), llendl, llwarns, mBuiltPanels, mFactoryStack, LLView::mToolTipMsg, NULL, and LLUI::sShowXUINames.

Referenced by LLFloaterEventInfo::createEventDetail(), LLFloaterDirectory::createEventDetail(), LLFloaterParcelInfo::createPanelPlace(), LLPreviewLandmark::createPlaceDetail(), LLFloaterURLDisplay::createPlaceDetail(), LLFloaterDirectory::createPlaceDetail(), LLFloaterDirectory::createPlaceDetailSmall(), LLPanel::initPanelXML(), LLChatBar::LLChatBar(), LLFloaterRegionInfo::LLFloaterRegionInfo(), LLMediaRemoteCtrl::LLMediaRemoteCtrl(), LLOverlayBar::LLOverlayBar(), LLPanelAudioPrefs::LLPanelAudioPrefs(), LLPanelAvatar::LLPanelAvatar(), LLPanelClassified::LLPanelClassified(), LLPanelDatabase::LLPanelDatabase(), LLPanelDisplay::LLPanelDisplay(), LLPanelDisplay2::LLPanelDisplay2(), LLPanelDisplay3::LLPanelDisplay3(), 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(), LLToolBar::LLToolBar(), LLVoiceRemoteCtrl::LLVoiceRemoteCtrl(), rebuild(), and LLPanelGroup::setGroupID().

LLPieMenu * LLUICtrlFactory::buildPieMenu ( const LLString filename,
LLView parentp 
)

Definition at line 463 of file lluictrlfactory.cpp.

References LLView::addChild(), getLayeredXMLNode(), LLPieMenu::initXML(), LL_PIE_MENU_TAG, llendl, llwarns, LLView::mToolTipMsg, NULL, and LLUI::sShowXUINames.

Referenced by init_menus().

LLView * LLUICtrlFactory::createCtrlWidget ( LLPanel parent,
LLXMLNodePtr  node 
) [virtual]

Definition at line 586 of file lluictrlfactory.cpp.

References llendl, llwarns, mCreatorFunctions, NULL, and LLStringBase< char >::toLower().

Referenced by createWidget(), LLTabContainerCommon::fromXML(), and LLScrollableContainerView::fromXML().

LLPanel * LLUICtrlFactory::createFactoryPanel ( LLString  name  ) 

Definition at line 619 of file lluictrlfactory.cpp.

References mFactoryStack, and NULL.

Referenced by LLPanel::fromXML().

void LLUICtrlFactory::createWidget ( LLPanel parent,
LLXMLNodePtr  node 
) [virtual]

Definition at line 603 of file lluictrlfactory.cpp.

References LLView::addChild(), createCtrlWidget(), LLPanel::getLastTabGroup(), and S32.

Referenced by LLPanel::initChildrenXML().

BOOL LLUICtrlFactory::getAttributeColor ( LLXMLNodePtr  node,
const LLString name,
LLColor4 color 
) [static]

Definition at line 641 of file lluictrlfactory.cpp.

References FALSE, LLColor4::parseColor(), LLUI::sColorsGroup, and LLColor4::setVec().

Referenced by LLTextBox::fromXML(), LLScrollableContainerView::fromXML(), LLMenuBarGL::fromXML(), LLMenuGL::fromXML(), LLIconCtrl::fromXML(), LLCheckBoxCtrl::fromXML(), LLLineEditor::setColorParameters(), LLPanel::setPanelParameters(), LLScrollListCtrl::setScrollListParameters(), and LLTextEditor::setTextEditorParameters().

LLButton * LLUICtrlFactory::getButtonByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 669 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_BUTTON.

Referenced by LLPreviewAnim::auditionAnim(), LLFloaterReporter::closePickTool(), LLFloaterVoiceWizard::draw(), LLToolBar::handleDragAndDrop(), LLFloaterEventLog::LLFloaterEventLog(), LLFloaterLagMeter::LLFloaterLagMeter(), LLFloaterMove::LLFloaterMove(), LLFloaterPay::LLFloaterPay(), LLFloaterReporter::LLFloaterReporter(), LLPreviewSound::LLPreviewSound(), LLScrollingPanelParam::LLScrollingPanelParam(), LLVoiceRemoteCtrl::LLVoiceRemoteCtrl(), LLFloaterReporter::onClickObjPicker(), LLPreviewAnim::playAnim(), LLPreviewGesture::postBuild(), LLPanelPlace::postBuild(), LLPanelPick::postBuild(), LLPanelEvent::postBuild(), LLPanelClassified::postBuild(), LLFloaterTools::postBuild(), LLFloaterSaveAvatar::postBuild(), LLFloaterPreference::postBuild(), LLPanelLandBan::postBuild(), LLPanelLandAccess::postBuild(), LLPanelLandOptions::postBuild(), LLPanelLandObjects::postBuild(), LLPanelLandGeneral::postBuild(), LLFloaterImport::postBuild(), LLFloaterColorPicker::postBuild(), LLFloaterAnimPreview::postBuild(), LLPanelActiveSpeakers::postBuild(), LLPanelPermissions::refresh(), LLViewChildren::setAction(), LLPanel::setDefaultBtn(), LLPanelEditWearable::setSubpart(), and LLScriptEdCore::updateDynamicHelp().

LLCheckBoxCtrl * LLUICtrlFactory::getCheckBoxByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 674 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_CHECKBOX.

Referenced by LLFloaterChat::addChatHistory(), LLPanelFaceSetTEFunctor::apply(), LLLiveLSLEditor::draw(), LLFloaterScriptSearch::handleBtnReplace(), LLFloaterScriptSearch::handleBtnReplaceAll(), LLFloaterScriptSearch::handleBtnSearch(), LLFloaterChat::onClickToggleShowMute(), LLFloaterProperties::onCommitPermissions(), LLLiveLSLEditor::onRunningCheckboxClicked(), LLPreviewGesture::postBuild(), LLPanelPick::postBuild(), LLPanelObject::postBuild(), LLPanelFace::postBuild(), LLPanelDisplay3::postBuild(), LLPanelDisplay::postBuild(), LLPanelClassified::postBuild(), LLPanelAvatarAdvanced::postBuild(), LLFloaterTools::postBuild(), LLPanelLandBan::postBuild(), LLPanelLandAccess::postBuild(), LLPanelLandMedia::postBuild(), LLPanelLandOptions::postBuild(), LLPanelLandGeneral::postBuild(), LLFloaterColorPicker::postBuild(), LLLiveLSLEditor::processScriptRunningReply(), LLFloaterAvatarList::refreshAvatarList(), LLFloaterProperties::refreshFromItem(), LLLiveLSLEditor::saveIfNeeded(), LLPanelFace::sendFullbright(), LLPanelPermissions::setAllSaleInfo(), LLFloaterAvatarList::updateAvatarList(), LLFloaterEventLog::updateList(), LLFloaterEventLog::updateWindow(), and LLLiveLSLEditor::uploadAssetLegacy().

LLColorSwatchCtrl * LLUICtrlFactory::getColorSwatchByName ( LLPanel panelp,
const LLString name 
) [static]

Reimplemented in LLViewerUICtrlFactory.

Definition at line 754 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_COLOR_SWATCH.

Referenced by LLPanelVolume::clearCtrls(), LLPanelVolume::getState(), LLPanelFace::getState(), LLPanelVolume::onCommitLight(), LLPanelVolume::onLightCancelColor(), LLPanelVolume::onLightSelectColor(), LLPanelVolume::postBuild(), LLPanelFace::postBuild(), and LLFloaterSettingsDebug::updateControl().

LLComboBox * LLUICtrlFactory::getComboBoxByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 679 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_COMBO_BOX.

Referenced by LLScriptEdCore::addHelpItemToHistory(), LLPanelLogin::addServer(), LLPanelFaceSetTEFunctor::apply(), LLFloaterSnapshot::Impl::comboSetCustom(), LLFloaterReporter::gatherReport(), LLPanelLogin::getLocation(), LLPanelLogin::getServer(), LLPanelFace::getState(), LLPanelLogin::LLPanelLogin(), LLFloaterWorldMap::onAvatarComboCommit(), LLScriptEdCore::onBtnDynamicHelp(), LLPanelLogin::onClickConnect(), LLFloaterChat::onClickMute(), LLFloaterSnapshot::Impl::onCommitResolution(), LLFloaterSettingsDebug::postBuild(), LLPreviewGesture::postBuild(), LLPanelObject::postBuild(), LLPanelGeneral::postBuild(), LLPanelFace::postBuild(), LLPanelDisplay::postBuild(), LLPanelClassified::postBuild(), LLFloaterWorldMap::postBuild(), LLFloaterTools::postBuild(), LLPanelLandOptions::postBuild(), LLFloaterChat::postBuild(), LLChatBar::postBuild(), LLPanelPermissions::refresh(), LLPanelGeneral::refresh(), LLPanelDeviceSettings::refresh(), LLPanelLogin::refreshLocation(), LLFloaterBuyLandUI::refreshUI(), LLFloaterBuyLandUI::runWebSitePrep(), LLPanelFace::sendBump(), LLPanelFace::sendShiny(), LLPanelFace::sendTexGen(), LLScriptEdCore::setHelpPage(), LLFloaterSnapshot::Impl::setResolution(), LLFloaterBuyLandUI::startBuyPreConfirm(), LLFloaterWorldMap::trackLandmark(), and LLFloaterSnapshot::Impl::updateControls().

LLIconCtrl * LLUICtrlFactory::getIconByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 684 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_ICON.

Referenced by LLVoiceRemoteCtrl::draw(), and LLViewChildren::setBadge().

bool LLUICtrlFactory::getLayeredXMLNode ( const LLString filename,
LLXMLNodePtr root 
) [static]

Definition at line 280 of file lluictrlfactory.cpp.

References FALSE, llendl, llwarns, mXUIPaths, NULL, LLXMLNode::parseFile(), TRUE, and LLXMLNode::updateNode().

Referenced by buildFloater(), buildMenu(), buildPanel(), buildPieMenu(), LLAlertDialog::parseAlerts(), LLNotifyBox::parseNotify(), LLGroupMgr::parseRoleActions(), and LLAgent::parseTeleportMessages().

LLLineEditor * LLUICtrlFactory::getLineEditorByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 689 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_LINE_EDITOR.

Referenced by LLPanel::childSetKeystrokeCallback(), LLPanel::childSetPrevalidate(), LLFloaterPay::finishPayUI(), LLPanelLogin::giveFocus(), LLPanelLogin::LLPanelLogin(), LLPanelPermissions::onCommitDesc(), LLFloaterProperties::onCommitDescription(), LLPanelPermissions::onCommitName(), LLFloaterProperties::onCommitName(), LLPreviewGesture::postBuild(), LLPanelPick::postBuild(), LLFloaterPriceForListing::postBuild(), LLPanelClassified::postBuild(), LLPanelAvatarAdvanced::postBuild(), LLFloaterIMPanel::postBuild(), LLFloaterSaveAvatar::postBuild(), LLFloaterNameDesc::postBuild(), LLPanelLandMedia::postBuild(), LLPanelLandObjects::postBuild(), LLPanelLandGeneral::postBuild(), LLFloaterImport::postBuild(), LLChatBar::postBuild(), LLCurrencyUIManager::Impl::prepare(), LLPanelPermissions::refresh(), LLPreviewGesture::saveIfNeeded(), LLPanelPermissions::setAllSaleInfo(), LLWearableSaveAsDialog::startModal(), LLFloaterProperties::updateSaleInfo(), LLCurrencyUIManager::Impl::updateUI(), and LLPreviewLSL::uploadAssetLegacy().

LLCtrlListInterface * LLUICtrlFactory::getListInterfaceByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 775 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), LLView::isCtrl(), NULL, and WIDGET_TYPE_DONTCARE.

LLMenuItemCallGL * LLUICtrlFactory::getMenuItemCallByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 764 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_MENU_ITEM_CALL.

Referenced by LLScriptEdCore::initMenu().

LLNameListCtrl * LLUICtrlFactory::getNameListByName ( LLPanel panelp,
const LLString name 
) [static]

Reimplemented in LLViewerUICtrlFactory.

Definition at line 694 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_NAME_LIST.

Referenced by LLPanelLandBan::postBuild(), LLPanelLandAccess::postBuild(), and LLPanelLandObjects::postBuild().

LLPanel * LLUICtrlFactory::getPanelByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 749 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_PANEL.

Referenced by LLFloaterRegionInfo::getPanelCovenant(), LLFloaterRegionInfo::getPanelEstate(), LLFloaterWorldMap::postBuild(), LLFloaterChat::postBuild(), LLFloaterActiveSpeakers::postBuild(), LLFloaterRegionInfo::processEstateOwnerRequest(), LLFloaterRegionInfo::processRegionInfo(), and LLPanelRegionTerrainInfo::sendUpdate().

LLRadioGroup * LLUICtrlFactory::getRadioGroupByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 699 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_RADIO_GROUP.

Referenced by LLFloaterTOS::onNavigateComplete(), LLPreviewGesture::postBuild(), LLPanelDisplay3::postBuild(), LLPanelDisplay2::postBuild(), LLFloaterTOS::postBuild(), LLPanelLandMedia::postBuild(), LLPanelPermissions::refresh(), LLFloaterProperties::refreshFromItem(), LLPanelPermissions::setAllSaleInfo(), LLFloaterTOS::setSiteIsAlive(), LLFloaterSnapshot::Impl::updateControls(), and LLFloaterProperties::updateSaleInfo().

LLScrollableContainerView * LLUICtrlFactory::getScrollableContainerByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 739 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_SCROLL_CONTAINER.

Referenced by LLFloaterCustomize::initScrollingPanelList(), and LLFloaterNetwork2080::LLFloaterNetwork2080().

LLScrollingPanelList * LLUICtrlFactory::getScrollingPanelList ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 769 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_SCROLLING_PANEL_LIST.

LLCtrlScrollInterface * LLUICtrlFactory::getScrollInterfaceByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 795 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), LLView::isCtrl(), NULL, and WIDGET_TYPE_DONTCARE.

LLScrollListCtrl * LLUICtrlFactory::getScrollListByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 704 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_SCROLL_LIST.

Referenced by LLFloaterTelehub::addBeacons(), LLFloaterLandHoldings::buttonCore(), LLPanelAvatarSecondLife::clearControls(), LLFloaterNotRunQueue::handleInventory(), LLFloaterRunQueue::handleInventory(), LLFloaterResetQueue::handleInventory(), LLFloaterAvatarList::LLFloaterAvatarList(), LLFloaterEventLog::LLFloaterEventLog(), LLFloaterMute::LLFloaterMute(), LLFloaterTelehub::LLFloaterTelehub(), LLFloaterScriptQueue::nextObject(), LLFloaterTelehub::onClickRemoveSpawnPoint(), LLPanelAvatarSecondLife::onDoubleClickGroup(), LLPreviewGesture::postBuild(), LLPanelMsgs::postBuild(), LLFloaterTopObjects::postBuild(), LLFloaterInspect::postBuild(), LLFloaterImport::postBuild(), LLPanelGroups::postBuild(), LLFloaterGroupPicker::postBuild(), LLPanelFriends::postBuild(), LLFloaterAvatarPicker::postBuild(), LLPanelActiveSpeakers::postBuild(), LLPanelAvatar::processAvatarGroupsReply(), LLFloaterTelehub::refresh(), LLPanelGroups::reset(), LLFloaterBuy::reset(), LLPanelAvatar::resetGroupList(), LLFloaterCompileQueue::scriptArrived(), LLFloaterBuyContents::show(), LLFloaterBump::show(), LLFloaterTopObjects::showBeacon(), LLFloaterScriptQueue::start(), LLFloaterTelehub::unpackTelehubInfo(), and LLFloaterTopObjects::updateSelectionInfo().

LLCtrlSelectionInterface * LLUICtrlFactory::getSelectionInterfaceByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 785 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), LLView::isCtrl(), NULL, and WIDGET_TYPE_DONTCARE.

Referenced by LLPrefsVoiceLogic::init().

LLSlider * LLUICtrlFactory::getSliderBarByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 714 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_SLIDER_BAR.

Referenced by LLPanelDisplay3::postBuild(), LLPanelDeviceSettings::postBuild(), and LLPanelDeviceSettings::refresh().

LLSliderCtrl * LLUICtrlFactory::getSliderByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 709 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_SLIDER.

Referenced by LLScrollingPanelParam::onHintHeldDown(), LLScrollingPanelParam::onHintMaxMouseUp(), and LLScrollingPanelParam::onHintMinMouseUp().

LLSpinCtrl * LLUICtrlFactory::getSpinnerByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 719 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_SPINNER.

Referenced by LLPanelFaceSetTEFunctor::apply(), LLInventoryViewFinder::LLInventoryViewFinder(), LLPanelObject::postBuild(), LLPanelFace::postBuild(), LLPanelLandAccess::postBuild(), LLPanelFace::sendAlpha(), and LLFloaterSettingsDebug::updateControl().

LLTabContainerCommon * LLUICtrlFactory::getTabContainerByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 734 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_TAB_CONTAINER.

Referenced by LLPanelAvatarClassified::apply(), LLPanelAvatarPicks::callbackDelete(), LLPanelAvatarClassified::callbackDelete(), LLPanelAvatarClassified::callbackNew(), LLPanelAvatarClassified::canClose(), LLPanel::childGetVisibleTab(), LLPanel::childSetTabChangeCallback(), LLPanel::childShowTab(), LLPanelAvatarClassified::deleteClassifiedPanels(), LLPanelAvatarPicks::deletePickPanels(), LLFloaterVoiceWizard::draw(), LLFloaterDirectory::focusCurrentPanel(), LLFloaterRegionInfo::getPanelCovenant(), LLFloaterRegionInfo::getPanelEstate(), LLInventoryView::init(), LLFloaterLand::LLFloaterLand(), LLFloaterVoiceWizard::onClickBack(), LLPanelAvatarPicks::onClickDelete(), LLPanelAvatarClassified::onClickDelete(), LLPanelAvatarPicks::onClickNew(), LLFloaterVoiceWizard::onClickNext(), LLPanelAvatar::onClickOK(), LLPanelAvatar::postBuild(), LLFloaterWorldMap::postBuild(), LLFloaterTools::postBuild(), LLFloaterPreference::postBuild(), LLFloaterCustomize::postBuild(), LLFloaterMyFriends::postBuild(), LLMultiFloater::postBuild(), LLPanelAvatarClassified::processAvatarClassifiedReply(), LLPanelAvatarPicks::processAvatarPicksReply(), LLFloaterRegionInfo::processEstateOwnerRequest(), LLFloaterRegionInfo::processRegionInfo(), LLPanelAvatarPicks::refresh(), LLPanelAvatarClassified::refresh(), LLPanelRegionTerrainInfo::sendUpdate(), and LLPanelAvatarClassified::titleIsValid().

LLTextBox * LLUICtrlFactory::getTextBoxByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 724 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_TEXT_BOX.

Referenced by LLFloaterEventLog::LLFloaterEventLog(), LLFloaterLagMeter::LLFloaterLagMeter(), LLFloaterLandmark::LLFloaterLandmark(), LLFloaterTexturePicker::LLFloaterTexturePicker(), LLPanelLogin::LLPanelLogin(), LLStatusBar::LLStatusBar(), LLPreviewGesture::postBuild(), LLPanelPlace::postBuild(), LLPanelPick::postBuild(), LLPanelPermissions::postBuild(), LLPanelObject::postBuild(), LLPanelFace::postBuild(), LLPanelEvent::postBuild(), LLPanelClassified::postBuild(), LLFloaterIMPanel::postBuild(), LLFloaterTools::postBuild(), LLPanelLandOptions::postBuild(), LLPanelLandObjects::postBuild(), LLPanelLandGeneral::postBuild(), LLFloaterImport::postBuild(), LLPanelActiveSpeakers::postBuild(), LLPanelFriends::refreshRightsChangeList(), LLFloaterBuyLandUI::refreshUI(), LLViewChildren::setText(), LLViewChildren::setWrappedText(), and LLFloaterBuyCurrencyUI::updateUI().

LLTextEditor * LLUICtrlFactory::getTextEditorByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 729 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_TEXT_EDITOR.

Referenced by LLFloaterReporter::addDescription(), LLPrefsIMImpl::apply(), LLPanelAvatarSecondLife::enableControls(), LLFloaterNetwork2080::LLFloaterNetwork2080(), LLFloaterPostcard::onMsgFormFocusRecieved(), LLPreviewNotecard::postBuild(), LLPanelPlace::postBuild(), LLPanelPick::postBuild(), LLPanelEvent::postBuild(), LLPanelClassified::postBuild(), LLPanelAvatarNotes::postBuild(), LLFloaterTOS::postBuild(), LLFloaterPostcard::postBuild(), and LLPanelLandGeneral::postBuild().

LLTextureCtrl * LLUICtrlFactory::getTexturePickerByName ( LLPanel panelp,
const LLString name 
) [static]

Reimplemented in LLViewerUICtrlFactory.

Definition at line 744 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_TEXTURE_PICKER.

Referenced by LLPanelAvatarSecondLife::clearControls(), LLPanelFace::getState(), LLFloaterEventLog::LLFloaterEventLog(), LLPanelObject::onCancelSculpt(), LLPanelObject::onDropSculpt(), LLPanelObject::onSelectSculpt(), LLPanelObject::postBuild(), LLPanelFace::postBuild(), LLPanelLandMedia::postBuild(), LLPanelLandOptions::postBuild(), LLPanelAvatar::processAvatarPropertiesReply(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelFace::sendTexture(), and LLFloaterReporter::takeScreenshot().

LLWebBrowserCtrl * LLUICtrlFactory::getWebBrowserCtrlByName ( LLPanel panelp,
const LLString name 
) [static]

Definition at line 759 of file lluictrlfactory.cpp.

References LLPanel::getCtrlByNameAndType(), and WIDGET_TYPE_WEBBROWSER.

Referenced by LLPanelLogin::LLPanelLogin(), LLScriptEdCore::onBtnDynamicHelp(), LLScriptEdCore::onClickBack(), LLScriptEdCore::onClickForward(), LLScriptEdCore::onHelpComboCommit(), LLFloaterTOS::postBuild(), LLScriptEdCore::setHelpPage(), LLPanelLogin::setSiteIsAlive(), LLFloaterTOS::setSiteIsAlive(), LLScriptEdCore::updateDynamicHelp(), and LLFloaterTOS::~LLFloaterTOS().

LLString LLUICtrlFactory::getWidgetType ( EWidgetType  ctrl_type  )  [static]

Definition at line 581 of file lluictrlfactory.cpp.

References sUICtrlNames.

EWidgetType LLUICtrlFactory::getWidgetType ( const LLString ctrl_type  )  [static]

Definition at line 568 of file lluictrlfactory.cpp.

References sUICtrlNames, and WIDGET_TYPE_COUNT.

Referenced by LLPanel::checkRequirements().

void LLUICtrlFactory::rebuild (  ) 

Definition at line 514 of file lluictrlfactory.cpp.

References buildFloater(), buildPanel(), FALSE, LLFloater::getFloaterByHandle(), LLPanel::getPanelByHandle(), gFloaterView, llendl, llinfos, mBuiltFloaters, mBuiltPanels, and LLView::removeChild().

Referenced by reload_ui().

void LLUICtrlFactory::registerCreator ( LLString  ctrlname,
creator_function_t  function 
)

Definition at line 805 of file lluictrlfactory.cpp.

References mCreatorFunctions, and LLStringBase< char >::toLower().

Referenced by LLUICtrlCreator< T >::registerCreator().

void LLUICtrlFactory::removeFloater ( LLFloater floaterp  ) 

Definition at line 506 of file lluictrlfactory.cpp.

References LLPanel::getHandle(), and mBuiltFloaters.

void LLUICtrlFactory::removePanel ( LLPanel panelp  ) 

Definition at line 498 of file lluictrlfactory.cpp.

References LLPanel::getHandle(), and mBuiltPanels.

S32 LLUICtrlFactory::saveToXML ( LLView viewp,
const LLString filename 
)

Definition at line 357 of file lluictrlfactory.cpp.

References LLView::getXML(), llendl, llofstream, llwarns, and XML_HEADER.

Referenced by handle_save_to_xml().

void LLUICtrlFactory::setupPaths (  ) 

Definition at line 224 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 LLUICtrlFactory(), and main().


Member Data Documentation

built_floater_t LLUICtrlFactory::mBuiltFloaters [protected]

Definition at line 154 of file lluictrlfactory.h.

Referenced by buildFloater(), rebuild(), and removeFloater().

built_panel_t LLUICtrlFactory::mBuiltPanels [protected]

Definition at line 152 of file lluictrlfactory.h.

Referenced by buildPanel(), rebuild(), and removePanel().

creator_list_t LLUICtrlFactory::mCreatorFunctions [protected]

Definition at line 161 of file lluictrlfactory.h.

Referenced by createCtrlWidget(), and registerCreator().

std::deque<const LLCallbackMap::map_t*> LLUICtrlFactory::mFactoryStack [protected]

Definition at line 156 of file lluictrlfactory.h.

Referenced by buildFloater(), buildPanel(), and createFactoryPanel().

std::vector< LLString > LLUICtrlFactory::mXUIPaths [static, protected]

Definition at line 162 of file lluictrlfactory.h.

Referenced by getLayeredXMLNode(), and setupPaths().

const LLString LLUICtrlFactory::sUICtrlNames [static, protected]

Definition at line 158 of file lluictrlfactory.h.

Referenced by getWidgetType().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:55 2010 for Second Life Viewer by  doxygen 1.4.7