#include <llpanelavatar.h>
Inheritance diagram for LLPanelAvatarSecondLife:
Public Member Functions | |
LLPanelAvatarSecondLife (const std::string &name, const LLRect &rect, LLPanelAvatar *panel_avatar) | |
BOOL | postBuild (void) |
void | refresh () |
void | clearControls () |
void | enableControls (BOOL own_avatar) |
void | updateOnlineText (BOOL online, BOOL have_calling_card) |
void | updatePartnerName () |
void | setPartnerID (LLUUID id) |
Static Public Member Functions | |
static void | onClickImage (void *userdata) |
static void | onClickFriends (void *userdata) |
static void | onDoubleClickGroup (void *userdata) |
static void | onClickPublishHelp (void *userdata) |
static void | onClickPartnerHelp (void *userdata) |
static void | onClickPartnerHelpLoadURL (S32 option, void *userdata) |
Private Attributes | |
LLUUID | mPartnerID |
Definition at line 107 of file llpanelavatar.h.
LLPanelAvatarSecondLife::LLPanelAvatarSecondLife | ( | const std::string & | name, | |
const LLRect & | rect, | |||
LLPanelAvatar * | panel_avatar | |||
) |
Definition at line 268 of file llpanelavatar.cpp.
void LLPanelAvatarSecondLife::clearControls | ( | ) |
Definition at line 301 of file llpanelavatar.cpp.
References LLPanel::childSetTextArg(), LLPanel::childSetValue(), LLScrollListCtrl::deleteAllItems(), LLUICtrlFactory::getScrollListByName(), LLUICtrlFactory::getTexturePickerByName(), mPartnerID, LLStringBase< char >::null, LLUUID::null, and LLTextureCtrl::setImageAssetID().
Referenced by LLPanelAvatar::setAvatarID().
Definition at line 334 of file llpanelavatar.cpp.
References LLPanel::childSetEnabled(), LLPanel::childSetVisible(), LLUICtrlFactory::getTextEditorByName(), LLTextEditor::setReadOnlyBgColor(), and LLColor4::transparent.
Referenced by postBuild(), and LLPanelAvatar::setAvatarID().
Definition at line 355 of file llpanelavatar.cpp.
Definition at line 384 of file llpanelavatar.cpp.
References LLViewerWindow::alertXml(), gViewerWindow, NULL, and onClickPartnerHelpLoadURL().
Referenced by postBuild().
Definition at line 390 of file llpanelavatar.cpp.
References LLWeb::loadURL().
Referenced by onClickPartnerHelp().
Definition at line 378 of file llpanelavatar.cpp.
References LLViewerWindow::alertXml(), and gViewerWindow.
Referenced by postBuild().
Definition at line 359 of file llpanelavatar.cpp.
References LLScrollListCtrl::getFirstSelected(), LLUICtrlFactory::getScrollListByName(), LLScrollListItem::getUUID(), llendl, llinfos, LLUUID::notNull(), and LLFloaterGroupInfo::showFromUUID().
Referenced by postBuild().
Reimplemented from LLPanel.
Definition at line 418 of file llpanelavatar.cpp.
References LLPanel::childSetAction(), LLPanel::childSetDoubleClickCallback(), LLPanel::childSetEnabled(), LLPanel::childSetVisible(), enableControls(), FALSE, gAgent, LLPanelAvatar::getAvatarID(), LLAgent::getID(), LLPanelAvatarTab::getPanelAvatar(), LLPanelAvatar::onClickAddFriend(), LLPanelAvatar::onClickIM(), LLPanelAvatar::onClickMute(), LLPanelAvatar::onClickOfferTeleport(), onClickPartnerHelp(), LLPanelAvatar::onClickPay(), onClickPublishHelp(), LLPanelAvatar::onClickTrack(), onDoubleClickGroup(), LLPanelAvatar::sAllowFirstLife, and TRUE.
void LLPanelAvatarSecondLife::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 276 of file llpanelavatar.cpp.
References updatePartnerName().
void LLPanelAvatarSecondLife::updatePartnerName | ( | ) |
Definition at line 281 of file llpanelavatar.cpp.
References LLPanel::childSetTextArg(), first, gCacheName, LLCacheName::getName(), mPartnerID, and LLUUID::notNull().
Referenced by refresh().
LLUUID LLPanelAvatarSecondLife::mPartnerID [private] |
Definition at line 132 of file llpanelavatar.h.
Referenced by clearControls(), setPartnerID(), and updatePartnerName().