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 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)
void removePanel (LLPanel *panelp)
void removeFloater (LLFloater *floaterp)
class LLMenuGLbuildMenu (const LLString &filename, LLView *parentp)
class LLPieMenubuildPieMenu (const LLString &filename, LLView *parentp)
S32 saveToXML (LLView *viewp, const LLString &filename)
void rebuild ()
LLPanelcreateFactoryPanel (LLString name)
virtual LLViewcreateCtrlWidget (LLPanel *parent, LLXMLNodePtr node)
virtual LLViewcreateWidget (LLPanel *parent, LLXMLNodePtr node)

Static Public Member Functions

static BOOL getAttributeColor (LLXMLNodePtr node, const LLString &name, LLColor4 &color)
static bool getLayeredXMLNode (const LLString &filename, LLXMLNodePtr &root)

Private Types

typedef std::map< LLHandle
< LLPanel >, LLString
built_panel_t
typedef std::map< LLHandle
< LLFloater >, LLString
built_floater_t

Private Attributes

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

Static Private Attributes

static std::vector< LLStringmXUIPaths


Detailed Description

Definition at line 44 of file lluictrlfactory.h.


Member Typedef Documentation

Definition at line 82 of file lluictrlfactory.h.

Definition at line 85 of file lluictrlfactory.h.


Constructor & Destructor Documentation

LLUICtrlFactory::LLUICtrlFactory (  ) 

Definition at line 106 of file lluictrlfactory.cpp.

References setupPaths().

Here is the call graph for this function:

LLUICtrlFactory::~LLUICtrlFactory (  )  [virtual]

Definition at line 112 of file lluictrlfactory.cpp.

References mDummyPanel, and NULL.


Member Function Documentation

void LLUICtrlFactory::setupPaths (  ) 

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLUICtrlFactory::removePanel ( LLPanel panelp  )  [inline]

Definition at line 58 of file lluictrlfactory.h.

References LLPanel::getHandle(), and mBuiltPanels.

Here is the call graph for this function:

void LLUICtrlFactory::removeFloater ( LLFloater floaterp  )  [inline]

Definition at line 59 of file lluictrlfactory.h.

References LLFloater::getHandle(), and mBuiltFloaters.

Here is the call graph for this function:

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

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 245 of file lluictrlfactory.cpp.

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

Referenced by handle_save_to_xml().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLUICtrlFactory::rebuild (  ) 

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

LLPanel * LLUICtrlFactory::createFactoryPanel ( LLString  name  ) 

Definition at line 480 of file lluictrlfactory.cpp.

References mFactoryStack, and NULL.

Referenced by LLPanel::fromXML().

Here is the caller graph for this function:

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

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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


Member Data Documentation

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().

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().

Definition at line 92 of file lluictrlfactory.h.

Referenced by createCtrlWidget(), and ~LLUICtrlFactory().


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:19:44 2008 for SecondLife by  doxygen 1.5.5