More WIP moap changes. Browser elements now function, added many required settings and notifications, and fixed some crashes and other bugs.
This commit is contained in:
@@ -78,13 +78,12 @@ void LLPanel::init()
|
||||
|
||||
setTabStop(FALSE);
|
||||
mVisibleSignal = NULL;
|
||||
|
||||
mCommitCallbackRegistrar = false;
|
||||
mEnableCallbackRegistrar = false;
|
||||
}
|
||||
|
||||
LLPanel::LLPanel()
|
||||
: mRectControl()
|
||||
: mRectControl(),
|
||||
mCommitCallbackRegistrar(false),
|
||||
mEnableCallbackRegistrar(false)
|
||||
{
|
||||
init();
|
||||
setName(std::string("panel"));
|
||||
@@ -92,7 +91,9 @@ LLPanel::LLPanel()
|
||||
|
||||
LLPanel::LLPanel(const std::string& name)
|
||||
: LLUICtrl(name),
|
||||
mRectControl()
|
||||
mRectControl(),
|
||||
mCommitCallbackRegistrar(false),
|
||||
mEnableCallbackRegistrar(false)
|
||||
{
|
||||
init();
|
||||
}
|
||||
@@ -100,7 +101,9 @@ LLPanel::LLPanel(const std::string& name)
|
||||
|
||||
LLPanel::LLPanel(const std::string& name, const LLRect& rect, BOOL bordered)
|
||||
: LLUICtrl(name,rect),
|
||||
mRectControl()
|
||||
mRectControl(),
|
||||
mCommitCallbackRegistrar(false),
|
||||
mEnableCallbackRegistrar(false)
|
||||
{
|
||||
init();
|
||||
if (bordered)
|
||||
@@ -112,7 +115,9 @@ LLPanel::LLPanel(const std::string& name, const LLRect& rect, BOOL bordered)
|
||||
|
||||
LLPanel::LLPanel(const std::string& name, const std::string& rect_control, BOOL bordered)
|
||||
: LLUICtrl(name, LLUI::sConfigGroup->getRect(rect_control)),
|
||||
mRectControl( rect_control )
|
||||
mRectControl( rect_control ),
|
||||
mCommitCallbackRegistrar(false),
|
||||
mEnableCallbackRegistrar(false)
|
||||
{
|
||||
init();
|
||||
if (bordered)
|
||||
|
||||
@@ -492,9 +492,9 @@ void LLUICtrl::initFromXML(LLXMLNodePtr node, LLView* parent)
|
||||
if (func)
|
||||
{
|
||||
if(child_node->getAttributeString("parameter",attrib_str))
|
||||
setCommitCallback(boost::bind((*func), this, LLSD(attrib_str)));
|
||||
setValidateCallback(boost::bind((*func), this, LLSD(attrib_str)));
|
||||
else
|
||||
setCommitCallback(commit_signal_t::slot_type(*func));
|
||||
setValidateCallback(enable_signal_t::slot_type(*func));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user