#include <llfloateravatarinfo.h>
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 void | showFromProfile (const LLUUID &avatar_id, LLRect rect) |
| 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 104 of file llfloateravatarinfo.cpp.
References LLMap< INDEX_TYPE, MAPPED_TYPE >::addData(), LLUICtrlFactory::buildFloater(), createPanelAvatar(), LLSingleton< LLUICtrlFactory >::getInstance(), mPanelAvatarp, LLPanelAvatar::selectTab(), LLFloater::setAutoFocus(), and TRUE.
Referenced by show(), and showFromProfile().
| LLFloaterAvatarInfo::~LLFloaterAvatarInfo | ( | ) |
Definition at line 129 of file llfloateravatarinfo.cpp.
References mAvatarID, and LLMap< INDEX_TYPE, MAPPED_TYPE >::removeData().
| void * LLFloaterAvatarInfo::createPanelAvatar | ( | void * | data | ) | [static] |
Definition at line 89 of file llfloateravatarinfo.cpp.
References TRUE.
Referenced by LLFloaterAvatarInfo().
| BOOL LLFloaterAvatarInfo::postBuild | ( | void | ) | [virtual] |
| void LLFloaterAvatarInfo::draw | ( | void | ) | [virtual] |
Reimplemented from LLPreview.
Definition at line 246 of file llfloateravatarinfo.cpp.
References LLFloater::draw().
| BOOL LLFloaterAvatarInfo::canClose | ( | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 253 of file llfloateravatarinfo.cpp.
References LLPanelAvatar::canClose(), and mPanelAvatarp.
| void LLFloaterAvatarInfo::loadAsset | ( | ) | [virtual] |
Reimplemented from LLPreview.
Definition at line 263 of file llfloateravatarinfo.cpp.
References LLPreview::mAssetStatus, mAvatarID, mPanelAvatarp, mSuggestedOnlineStatus, LLPreview::PREVIEW_ASSET_LOADING, and LLPanelAvatar::setAvatarID().
| LLPreview::EAssetStatus LLFloaterAvatarInfo::getAssetStatus | ( | ) | [virtual] |
Reimplemented from LLPreview.
Definition at line 271 of file llfloateravatarinfo.cpp.
References LLPanelAvatar::haveData(), LLPreview::mAssetStatus, mPanelAvatarp, and LLPreview::PREVIEW_ASSET_LOADED.
| LLFloaterAvatarInfo * LLFloaterAvatarInfo::show | ( | const LLUUID & | avatar_id | ) | [static] |
Definition at line 148 of file llfloateravatarinfo.cpp.
References LLFloater::center(), LLMap< INDEX_TYPE, MAPPED_TYPE >::checkData(), FAI_RECT, LLMap< INDEX_TYPE, MAPPED_TYPE >::getData(), LLUUID::isNull(), LLFloaterAvatarInfo(), NULL, and LLPreview::open().
Referenced by LLAgentHandler::handle(), LLShowAgentProfile::handleEvent(), showFromDirectory(), showFromFriend(), and showFromObject().
| void LLFloaterAvatarInfo::showFromObject | ( | const LLUUID & | avatar_id, | |
| std::string | tab_name = std::string() | |||
| ) | [static] |
Definition at line 174 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().
| void LLFloaterAvatarInfo::showFromDirectory | ( | const LLUUID & | avatar_id | ) | [static] |
Definition at line 187 of file llfloateravatarinfo.cpp.
References mPanelAvatarp, ONLINE_STATUS_NO, LLPanelAvatar::setAvatarID(), and show().
Referenced by LLPanelGroupMembersSubTab::handleMemberDoubleClick(), LLFloaterInspect::onClickCreatorProfile(), LLFloaterInspect::onClickOwnerProfile(), LLPanelClassified::onClickProfile(), LLFloaterIMPanel::onClickProfile(), LLPanelActiveSpeakers::onClickProfile(), LLPanelLandObjects::onDoubleClickOwner(), and LLPanelGroupGeneral::openProfile().
Definition at line 198 of file llfloateravatarinfo.cpp.
References mSuggestedOnlineStatus, ONLINE_STATUS_NO, ONLINE_STATUS_YES, and show().
Referenced by LLPanelFriends::onClickProfile(), and LLCallingCardBridge::openItem().
Definition at line 209 of file llfloateravatarinfo.cpp.
References LLMap< INDEX_TYPE, MAPPED_TYPE >::checkData(), FAI_RECT, LLMap< INDEX_TYPE, MAPPED_TYPE >::getData(), LLView::getRect(), LLUUID::isNull(), LLFloaterAvatarInfo(), LLRectBase< Type >::mLeft, mPanelAvatarp, LLRectBase< Type >::mTop, ONLINE_STATUS_NO, LLPreview::open(), LLPanelAvatar::setAvatarID(), and LLView::translate().
Referenced by LLPanelAvatarSecondLife::onClickPartnerInfo().
| LLFloaterAvatarInfo * LLFloaterAvatarInfo::getInstance | ( | const LLUUID & | id | ) | [static] |
Definition at line 258 of file llfloateravatarinfo.cpp.
References gAgentID, and LLMap< INDEX_TYPE, MAPPED_TYPE >::getIfThere().
Referenced by LLPanelAvatar::onClickCancel(), LLPanelAvatar::onClickOK(), and update_group_floaters().
| void LLFloaterAvatarInfo::showProfileCallback | ( | S32 | option, | |
| void * | userdata | |||
| ) | [static] |
Definition at line 236 of file llfloateravatarinfo.cpp.
References gAgentID, and showFromObject().
| void LLFloaterAvatarInfo::resetGroupList | ( | ) |
Definition at line 136 of file llfloateravatarinfo.cpp.
References gAgentID, mAvatarID, mPanelAvatarp, and LLPanelAvatar::resetGroupList().
Referenced by update_group_floaters().
LLUUID LLFloaterAvatarInfo::mAvatarID [private] |
Definition at line 96 of file llfloateravatarinfo.h.
Referenced by loadAsset(), resetGroupList(), and ~LLFloaterAvatarInfo().
LLPanelAvatar* LLFloaterAvatarInfo::mPanelAvatarp [private] |
Definition at line 97 of file llfloateravatarinfo.h.
Referenced by canClose(), getAssetStatus(), LLFloaterAvatarInfo(), loadAsset(), resetGroupList(), showFromDirectory(), showFromObject(), and showFromProfile().
Definition at line 98 of file llfloateravatarinfo.h.
Referenced by loadAsset(), and showFromFriend().
1.5.5