//static LLNotifyBox* LLNotifyBox::showXml( const std::string& xml_desc, const LLStringUtil::format_map_t& args, notify_callback_t callback, void *user_data) { LLPointer<LLNotifyBoxTemplate> xml_template = getTemplate(xml_desc); LLNotifyBox* notify = findExistingNotify(xml_template, args); if (notify) { delete notify->mBehavior; notify->mBehavior = new LLNotifyBehavior(callback, user_data); } else { notify = new LLNotifyBox(xml_template, args, callback, user_data); gNotifyBoxView->addChildAtEnd(notify); notify->moveToBack(); } return notify; }
// static void LLNotifyBox::onClickNext(void* data) { LLNotifyBox* self = static_cast<LLNotifyBox*>(data); self->moveToBack(true); }