Added 'NearbyMedia' floater (accessable via new button in Media Remote popup)
-Floater utilizes a slightly modified LLPanelNearbyMedia, which has fading and the 'minimal' mode disabled when its parent is a floater. -Due to how LL designed LLPanelNearbyMedia, only one instance should ever be allowed at a time. Added LLNameBox. To avoid having dupilcate code, logic in LLTextBox::fromXML had to be moved to LLTextBox::initFromXML. -Perfomed some additional cleanup. 'name' attribute now parsed in LLUICtrl::initFromXML, or as-needed for elements not based off of LLUICtrl. LLSlider now respects current DrawContext Fixed the AO toolbar widget reserving too much width. Made the "wlfAdvSettingsPopup" setting persist, and un-inverted its logic. Altered ui initilization order. Toolbar/overlay panels now constructed further into login process.
This commit is contained in:
@@ -976,8 +976,6 @@ LLView* LLLayoutStack::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactor
|
||||
layout_stackp->setName(name);
|
||||
layout_stackp->initFromXML(node, parent);
|
||||
|
||||
llinfos << "Created layout stack '"<<name<<"' clip="<<clip<<" border_size="<<border_size<<" rect="<<layout_stackp->getRect()<<llendl;
|
||||
|
||||
LLXMLNodePtr child;
|
||||
for (child = node->getFirstChild(); child.notNull(); child = child->getNextSibling())
|
||||
{
|
||||
@@ -1020,7 +1018,6 @@ LLView* LLLayoutPanel::fromXML(LLXMLNodePtr node, LLView* parent, LLUICtrlFactor
|
||||
panelp->initPanelXML(node, parent, factory);
|
||||
panelp->mCommitCallbackRegistrar.popScope();
|
||||
panelp->mEnableCallbackRegistrar.popScope();
|
||||
llinfos << "Created standard layout panel '"<<name<<"'"<<" rect="<<panelp->getRect()<<llendl;
|
||||
|
||||
}
|
||||
else
|
||||
@@ -1033,11 +1030,6 @@ LLView* LLLayoutPanel::fromXML(LLXMLNodePtr node, LLView* parent, LLUICtrlFactor
|
||||
panelp->initPanelXML(node, parent, factory);
|
||||
panelp->mCommitCallbackRegistrar.popScope();
|
||||
panelp->mEnableCallbackRegistrar.popScope();
|
||||
llinfos << "Created factory layout panel '"<<name<<"'"<<" rect="<<panelp->getRect()<<llendl;
|
||||
}
|
||||
else
|
||||
{
|
||||
llinfos << "Factory layout panel already inited '"<<name<<"'"<<" rect="<<panelp->getRect()<<llendl;
|
||||
}
|
||||
}
|
||||
panelp->setOrigin(0, 0);
|
||||
|
||||
Reference in New Issue
Block a user