summaryrefslogtreecommitdiff
path: root/indra/newview/llconversationview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llconversationview.cpp')
-rwxr-xr-xindra/newview/llconversationview.cpp24
1 files changed, 8 insertions, 16 deletions
diff --git a/indra/newview/llconversationview.cpp b/indra/newview/llconversationview.cpp
index d1a8478697..9c1c9aa225 100755
--- a/indra/newview/llconversationview.cpp
+++ b/indra/newview/llconversationview.cpp
@@ -93,8 +93,8 @@ static LLDefaultChildRegistry::Register<LLConversationViewParticipant> r("conver
LLConversationViewParticipant::Params::Params() :
container(),
-view_profile_button("view_profile_button"),
-info_button("info_button")
+info_button("info_button"),
+output_monitor("output_monitor")
{}
LLConversationViewParticipant::LLConversationViewParticipant( const LLConversationViewParticipant::Params& p ):
@@ -104,23 +104,20 @@ LLConversationViewParticipant::LLConversationViewParticipant( const LLConversati
}
void LLConversationViewParticipant::initFromParams(const LLConversationViewParticipant::Params& params)
-{
- LLButton::Params view_profile_button_params(params.view_profile_button());
- LLButton * button = LLUICtrlFactory::create<LLButton>(view_profile_button_params);
- addChild(button);
-
+{
LLButton::Params info_button_params(params.info_button());
- button = LLUICtrlFactory::create<LLButton>(info_button_params);
+ LLButton * button = LLUICtrlFactory::create<LLButton>(info_button_params);
addChild(button);
+
+ LLOutputMonitorCtrl::Params output_monitor_params(params.output_monitor());
+ LLOutputMonitorCtrl * outputMonitor = LLUICtrlFactory::create<LLOutputMonitorCtrl>(output_monitor_params);
+ addChild(outputMonitor);
}
BOOL LLConversationViewParticipant::postBuild()
{
mInfoBtn = getChild<LLButton>("info_btn");
- mProfileBtn = getChild<LLButton>("profile_btn");
-
mInfoBtn->setClickedCallback(boost::bind(&LLConversationViewParticipant::onInfoBtnClick, this));
- mProfileBtn->setClickedCallback(boost::bind(&LLConversationViewParticipant::onProfileBtnClick, this));
LLFolderViewItem::postBuild();
@@ -133,11 +130,6 @@ void LLConversationViewParticipant::onInfoBtnClick()
}
-void LLConversationViewParticipant::onProfileBtnClick()
-{
-
-}
-
LLButton* LLConversationViewParticipant::createProfileButton()
{