#include <llfloateravatarinfo.h>
Inheritance diagram for LLFloaterAvatarInfo:
Public Member Functions | |
virtual BOOL | postBuild () |
LLFloaterAvatarInfo (const std::string &name, const LLRect &rect, const LLUUID &avatar_id) | |
~LLFloaterAvatarInfo () | |
void | draw () |
BOOL | canClose () |
void | loadAsset () |
EAssetStatus | getAssetStatus () |
void | resetGroupList () |
Static Public Member Functions | |
static void * | createPanelAvatar (void *data) |
static LLFloaterAvatarInfo * | show (const LLUUID &avatar_id) |
static void | showFromObject (const LLUUID &avatar_id, std::string tab_name=std::string()) |
static void | showFromDirectory (const LLUUID &avatar_id) |
static void | showFromFriend (const LLUUID &agent_id, BOOL online) |
static LLFloaterAvatarInfo * | getInstance (const LLUUID &id) |
static void | showProfileCallback (S32 option, void *userdata) |
Private Attributes | |
LLUUID | mAvatarID |
LLPanelAvatar * | mPanelAvatarp |
EOnlineStatus | mSuggestedOnlineStatus |
Definition at line 61 of file llfloateravatarinfo.h.
LLFloaterAvatarInfo::LLFloaterAvatarInfo | ( | const std::string & | name, | |
const LLRect & | rect, | |||
const LLUUID & | avatar_id | |||
) |
Definition at line 123 of file llfloateravatarinfo.cpp.
References LLUICtrlFactory::buildFloater(), createPanelAvatar(), gAvatarInfoInstances, gUICtrlFactory, LLFloater::mAutoFocus, mPanelAvatarp, LLPanelAvatar::selectTab(), and TRUE.
Referenced by show().
LLFloaterAvatarInfo::~LLFloaterAvatarInfo | ( | ) |
Definition at line 148 of file llfloateravatarinfo.cpp.
References gAvatarInfoInstances, and mAvatarID.
BOOL LLFloaterAvatarInfo::canClose | ( | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 243 of file llfloateravatarinfo.cpp.
References LLPanelAvatar::canClose(), and mPanelAvatarp.
Definition at line 108 of file llfloateravatarinfo.cpp.
References TRUE.
Referenced by LLFloaterAvatarInfo().
void LLFloaterAvatarInfo::draw | ( | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 237 of file llfloateravatarinfo.cpp.
References LLFloater::draw().
LLPreview::EAssetStatus LLFloaterAvatarInfo::getAssetStatus | ( | ) | [virtual] |
Reimplemented from LLPreview.
Definition at line 261 of file llfloateravatarinfo.cpp.
References LLPanelAvatar::haveData(), LLPreview::mAssetStatus, mPanelAvatarp, and LLPreview::PREVIEW_ASSET_LOADED.
LLFloaterAvatarInfo * LLFloaterAvatarInfo::getInstance | ( | const LLUUID & | id | ) | [static] |
Definition at line 248 of file llfloateravatarinfo.cpp.
References gAgentID, and gAvatarInfoInstances.
Referenced by LLPanelAvatar::onClickCancel(), LLPanelAvatar::onClickOK(), and update_group_floaters().
void LLFloaterAvatarInfo::loadAsset | ( | ) | [virtual] |
Reimplemented from LLPreview.
Definition at line 253 of file llfloateravatarinfo.cpp.
References LLPreview::mAssetStatus, mAvatarID, mPanelAvatarp, mSuggestedOnlineStatus, LLPreview::PREVIEW_ASSET_LOADING, and LLPanelAvatar::setAvatarID().
BOOL LLFloaterAvatarInfo::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 118 of file llfloateravatarinfo.cpp.
References TRUE.
void LLFloaterAvatarInfo::resetGroupList | ( | ) |
Definition at line 155 of file llfloateravatarinfo.cpp.
References gAgentID, mAvatarID, mPanelAvatarp, and LLPanelAvatar::resetGroupList().
Referenced by update_group_floaters().
LLFloaterAvatarInfo * LLFloaterAvatarInfo::show | ( | const LLUUID & | avatar_id | ) | [static] |
Definition at line 167 of file llfloateravatarinfo.cpp.
References LLFloater::center(), FAI_RECT, gAvatarInfoInstances, LLUUID::isNull(), LLFloaterAvatarInfo(), NULL, and LLPreview::open().
Referenced by LLAgentHandler::handle(), LLShowAgentProfile::handleEvent(), showFromDirectory(), showFromFriend(), and showFromObject().
Definition at line 206 of file llfloateravatarinfo.cpp.
References mPanelAvatarp, ONLINE_STATUS_NO, LLPanelAvatar::setAvatarID(), and show().
Referenced by cmd_profile(), LLPanelGroupMembersSubTab::handleMemberDoubleClick(), LLFloaterInspect::onClickCreatorProfile(), LLFloaterInspect::onClickOwnerProfile(), LLPanelClassified::onClickProfile(), LLFloaterIMPanel::onClickProfile(), LLPanelActiveSpeakers::onClickProfile(), LLPanelLandObjects::onDoubleClickOwner(), and LLPanelGroupGeneral::openProfile().
Definition at line 217 of file llfloateravatarinfo.cpp.
References mSuggestedOnlineStatus, ONLINE_STATUS_NO, ONLINE_STATUS_YES, and show().
Referenced by LLPanelFriends::onClickProfile(), and LLCallingCardBridge::openItem().
void LLFloaterAvatarInfo::showFromObject | ( | const LLUUID & | avatar_id, | |
std::string | tab_name = std::string() | |||
) | [static] |
Definition at line 193 of file llfloateravatarinfo.cpp.
References mPanelAvatarp, ONLINE_STATUS_NO, LLPanelAvatar::selectTabByName(), LLPanelAvatar::setAvatarID(), and show().
Referenced by LLPanelDirClassified::onClickCreateNewClassified(), LLPanelPermissions::onClickCreator(), LLFloaterProperties::onClickCreator(), LLPanelPermissions::onClickOwner(), LLFloaterProperties::onClickOwner(), LLPanelLandGeneral::onClickProfile(), and showProfileCallback().
LLUUID LLFloaterAvatarInfo::mAvatarID [private] |
Definition at line 94 of file llfloateravatarinfo.h.
Referenced by loadAsset(), resetGroupList(), and ~LLFloaterAvatarInfo().
LLPanelAvatar* LLFloaterAvatarInfo::mPanelAvatarp [private] |
Definition at line 95 of file llfloateravatarinfo.h.
Referenced by canClose(), getAssetStatus(), LLFloaterAvatarInfo(), loadAsset(), resetGroupList(), showFromDirectory(), and showFromObject().
Definition at line 96 of file llfloateravatarinfo.h.
Referenced by loadAsset(), and showFromFriend().