LLFloaterAvatarInfo Class Reference

#include <llfloateravatarinfo.h>

Inheritance diagram for LLFloaterAvatarInfo:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterAvatarInfo:

Collaboration graph
[legend]
List of all members.

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 voidcreatePanelAvatar (void *data)
static LLFloaterAvatarInfoshow (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 LLFloaterAvatarInfogetInstance (const LLUUID &id)
static void showProfileCallback (S32 option, void *userdata)

Private Attributes

LLUUID mAvatarID
LLPanelAvatarmPanelAvatarp
EOnlineStatus mSuggestedOnlineStatus

Detailed Description

Definition at line 61 of file llfloateravatarinfo.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

BOOL LLFloaterAvatarInfo::canClose (  )  [virtual]

Reimplemented from LLFloater.

Definition at line 243 of file llfloateravatarinfo.cpp.

References LLPanelAvatar::canClose(), and mPanelAvatarp.

void * LLFloaterAvatarInfo::createPanelAvatar ( void data  )  [static]

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().

void LLFloaterAvatarInfo::showFromDirectory ( const LLUUID avatar_id  )  [static]

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().

void LLFloaterAvatarInfo::showFromFriend ( const LLUUID agent_id,
BOOL  online 
) [static]

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().

void LLFloaterAvatarInfo::showProfileCallback ( S32  option,
void userdata 
) [static]

Definition at line 227 of file llfloateravatarinfo.cpp.

References gAgentID, and showFromObject().


Member Data Documentation

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().

EOnlineStatus LLFloaterAvatarInfo::mSuggestedOnlineStatus [private]

Definition at line 96 of file llfloateravatarinfo.h.

Referenced by loadAsset(), and showFromFriend().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:17 2010 for Second Life Viewer by  doxygen 1.4.7