#include <llpanelavatar.h>
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) |
static void | onClickPartnerInfo (void *userdata) |
Private Attributes | |
LLUUID | mPartnerID |
Definition at line 106 of file llpanelavatar.h.
LLPanelAvatarSecondLife::LLPanelAvatarSecondLife | ( | const std::string & | name, | |
const LLRect & | rect, | |||
LLPanelAvatar * | panel_avatar | |||
) |
Definition at line 251 of file llpanelavatar.cpp.
BOOL LLPanelAvatarSecondLife::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 403 of file llpanelavatar.cpp.
References LLPanel::childSetAction(), LLPanel::childSetDoubleClickCallback(), LLPanel::childSetEnabled(), LLPanel::childSetVisible(), enableControls(), FALSE, gAgent, LLPanelAvatar::getAvatarID(), LLAgent::getID(), LLPanelAvatarTab::getPanelAvatar(), mPartnerID, LLUUID::notNull(), LLPanelAvatar::onClickAddFriend(), LLPanelAvatar::onClickIM(), LLPanelAvatar::onClickMute(), LLPanelAvatar::onClickOfferTeleport(), onClickPartnerHelp(), onClickPartnerInfo(), LLPanelAvatar::onClickPay(), onClickPublishHelp(), LLPanelAvatar::onClickTrack(), onDoubleClickGroup(), LLPanelAvatar::sAllowFirstLife, and TRUE.
void LLPanelAvatarSecondLife::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 259 of file llpanelavatar.cpp.
References updatePartnerName().
void LLPanelAvatarSecondLife::onClickImage | ( | void * | userdata | ) | [static] |
Definition at line 329 of file llpanelavatar.cpp.
static void LLPanelAvatarSecondLife::onClickFriends | ( | void * | userdata | ) | [static] |
void LLPanelAvatarSecondLife::onDoubleClickGroup | ( | void * | userdata | ) | [static] |
Definition at line 333 of file llpanelavatar.cpp.
References LLScrollListCtrl::getFirstSelected(), LLScrollListItem::getUUID(), llendl, llinfos, LLUUID::notNull(), and LLFloaterGroupInfo::showFromUUID().
Referenced by postBuild().
void LLPanelAvatarSecondLife::onClickPublishHelp | ( | void * | userdata | ) | [static] |
Definition at line 353 of file llpanelavatar.cpp.
References LLViewerWindow::alertXml(), and gViewerWindow.
Referenced by postBuild().
void LLPanelAvatarSecondLife::onClickPartnerHelp | ( | void * | userdata | ) | [static] |
Definition at line 359 of file llpanelavatar.cpp.
References LLViewerWindow::alertXml(), gViewerWindow, NULL, and onClickPartnerHelpLoadURL().
Referenced by postBuild().
void LLPanelAvatarSecondLife::onClickPartnerHelpLoadURL | ( | S32 | option, | |
void * | userdata | |||
) | [static] |
Definition at line 365 of file llpanelavatar.cpp.
References LLWeb::loadURL().
Referenced by onClickPartnerHelp().
void LLPanelAvatarSecondLife::onClickPartnerInfo | ( | void * | userdata | ) | [static] |
Definition at line 372 of file llpanelavatar.cpp.
References LLFloaterAvatarInfo::showFromProfile().
Referenced by postBuild().
void LLPanelAvatarSecondLife::clearControls | ( | ) |
Definition at line 284 of file llpanelavatar.cpp.
References LLPanel::childSetTextArg(), LLPanel::childSetValue(), LLScrollListCtrl::deleteAllItems(), mPartnerID, LLStringBase< char >::null, LLUUID::null, and LLTextureCtrl::setImageAssetID().
Referenced by LLPanelAvatar::setAvatarID().
void LLPanelAvatarSecondLife::enableControls | ( | BOOL | own_avatar | ) |
Definition at line 317 of file llpanelavatar.cpp.
References LLPanel::childSetEnabled(), and LLPanel::childSetVisible().
Referenced by postBuild(), and LLPanelAvatar::setAvatarID().
void LLPanelAvatarSecondLife::updatePartnerName | ( | ) |
Definition at line 264 of file llpanelavatar.cpp.
References LLPanel::childSetEnabled(), LLPanel::childSetTextArg(), gCacheName, LLCacheName::getName(), mPartnerID, LLUUID::notNull(), and TRUE.
Referenced by refresh().
void LLPanelAvatarSecondLife::setPartnerID | ( | LLUUID | id | ) | [inline] |
LLUUID LLPanelAvatarSecondLife::mPartnerID [private] |
Definition at line 132 of file llpanelavatar.h.
Referenced by clearControls(), postBuild(), setPartnerID(), and updatePartnerName().