LLPanelAvatarPicks Class Reference

#include <llpanelavatar.h>

Inheritance diagram for LLPanelAvatarPicks:

Inheritance graph
[legend]
Collaboration diagram for LLPanelAvatarPicks:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelAvatarPicks (const std::string &name, const LLRect &rect, LLPanelAvatar *panel_avatar)
BOOL postBuild (void)
void refresh ()
void deletePickPanels ()
void processAvatarPicksReply (LLMessageSystem *msg, void **)
void processAvatarClassifiedReply (LLMessageSystem *msg, void **)

Static Private Member Functions

static void onClickNew (void *data)
static void onClickDelete (void *data)
static void callbackDelete (S32 option, void *data)

Detailed Description

Definition at line 244 of file llpanelavatar.h.


Constructor & Destructor Documentation

LLPanelAvatarPicks::LLPanelAvatarPicks ( const std::string &  name,
const LLRect rect,
LLPanelAvatar panel_avatar 
)

Definition at line 1057 of file llpanelavatar.cpp.


Member Function Documentation

void LLPanelAvatarPicks::callbackDelete ( S32  option,
void data 
) [static, private]

Definition at line 1182 of file llpanelavatar.cpp.

References LLMessageSystem::addUUID(), gAgent, LLTabContainerCommon::getCurrentPanel(), LLAgent::getID(), LLPanelPick::getPickCreatorID(), LLPanelPick::getPickID(), LLAgent::getSessionID(), LLUICtrlFactory::getTabContainerByName(), gMessageSystem, LLAgent::isGodlike(), LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), NULL, LLTabContainerCommon::removeTabPanel(), and LLAgent::sendReliableMessage().

Referenced by onClickDelete().

void LLPanelAvatarPicks::deletePickPanels (  ) 

Definition at line 1081 of file llpanelavatar.cpp.

References LLPanel::childSetVisible(), LLTabContainerCommon::deleteAllTabs(), and LLUICtrlFactory::getTabContainerByName().

Referenced by processAvatarPicksReply(), and LLPanelAvatar::setAvatarID().

void LLPanelAvatarPicks::onClickDelete ( void data  )  [static, private]

Definition at line 1164 of file llpanelavatar.cpp.

References LLViewerWindow::alertXml(), callbackDelete(), LLTabContainerCommon::getCurrentPanel(), LLPanelPick::getPickName(), LLUICtrlFactory::getTabContainerByName(), gViewerWindow, and NULL.

Referenced by postBuild().

void LLPanelAvatarPicks::onClickNew ( void data  )  [static, private]

Definition at line 1148 of file llpanelavatar.cpp.

References LLTabContainerCommon::addTabPanel(), FALSE, LLPanelPick::getPickName(), LLUICtrlFactory::getTabContainerByName(), LLPanelPick::initNewPick(), and LLTabContainerCommon::selectLastTab().

Referenced by postBuild().

BOOL LLPanelAvatarPicks::postBuild ( void   )  [virtual]

Reimplemented from LLPanel.

Definition at line 504 of file llpanelavatar.cpp.

References LLPanel::childSetAction(), NULL, onClickDelete(), onClickNew(), and TRUE.

void LLPanelAvatarPicks::processAvatarClassifiedReply ( LLMessageSystem msg,
void **   
)

void LLPanelAvatarPicks::processAvatarPicksReply ( LLMessageSystem msg,
void **   
)

Definition at line 1094 of file llpanelavatar.cpp.

References LLTabContainerCommon::addTabPanel(), LLPanel::childSetVisible(), DB_PICK_NAME_SIZE, deletePickPanels(), FALSE, LLPanelAvatar::getAvatarID(), LLMessageSystem::getNumberOfBlocks(), LLPanelAvatarTab::getPanelAvatar(), LLMessageSystem::getString(), LLUICtrlFactory::getTabContainerByName(), LLMessageSystem::getUUID(), LLPanelPick::markForServerRequest(), NULL, S32, LLTabContainerCommon::selectFirstTab(), and LLPanelPick::setPickID().

void LLPanelAvatarPicks::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 1065 of file llpanelavatar.cpp.

References LLPanel::childSetEnabled(), gAgent, LLPanelAvatar::getAvatarID(), LLAgent::getID(), LLPanelAvatarTab::getPanelAvatar(), LLUICtrlFactory::getTabContainerByName(), LLTabContainerCommon::getTabCount(), MAX_AVATAR_PICKS, S32, and LLPanelAvatarTab::sendAvatarProfileRequestIfNeeded().


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