LLFloaterAvatarPicker Class Reference

#include <llfloateravatarpicker.h>

Inheritance diagram for LLFloaterAvatarPicker:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterAvatarPicker:

Collaboration graph
[legend]

List of all members.

Public Types

typedef void(* callback_t )(const std::vector< std::string > &, const std::vector< LLUUID > &, void *)

Public Member Functions

virtual BOOL postBuild ()

Static Public Member Functions

static LLFloaterAvatarPickershow (callback_t callback, void *userdata, BOOL allow_multiple=FALSE, BOOL closeOnSelect=FALSE)
static void processAvatarPickerReply (LLMessageSystem *msg, void **)
static void editKeystroke (LLLineEditor *caller, void *user_data)

Protected Member Functions

void doSelectionChange (const std::deque< LLFolderViewItem * > &items, BOOL user_action, void *data)
void find ()
void setAllowMultiple (BOOL allow_multiple)
virtual BOOL handleKeyHere (KEY key, MASK mask)
 LLFloaterAvatarPicker ()
virtual ~LLFloaterAvatarPicker ()

Static Protected Member Functions

static void * createInventoryPanel (void *userdata)
static void onBtnFind (void *userdata)
static void onBtnAdd (void *userdata)
static void onBtnClose (void *userdata)
static void onList (LLUICtrl *ctrl, void *userdata)
static void onSelectionChange (const std::deque< LLFolderViewItem * > &items, BOOL user_action, void *data)

Protected Attributes

LLScrollListCtrlmListNames
LLInventoryPanelmInventoryPanel
std::vector< LLUUIDmAvatarIDs
std::vector< std::string > mAvatarNames
BOOL mAllowMultiple
LLUUID mQueryID
BOOL mResultsReturned
BOOL mCloseOnSelect
void(* mCallback )(const std::vector< std::string > &name, const std::vector< LLUUID > &id, void *userdata)
void * mCallbackUserdata

Static Protected Attributes

static LLFloaterAvatarPickersInstance = NULL


Detailed Description

Definition at line 48 of file llfloateravatarpicker.h.


Member Typedef Documentation

typedef void(* LLFloaterAvatarPicker::callback_t)(const std::vector< std::string > &, const std::vector< LLUUID > &, void *)


Constructor & Destructor Documentation

LLFloaterAvatarPicker::LLFloaterAvatarPicker (  )  [protected]

Definition at line 85 of file llfloateravatarpicker.cpp.

References LLUICtrlFactory::buildFloater(), LLSingleton< LLUICtrlFactory >::getInstance(), and NULL.

Referenced by show().

Here is the call graph for this function:

Here is the caller graph for this function:

LLFloaterAvatarPicker::~LLFloaterAvatarPicker (  )  [protected, virtual]

Definition at line 134 of file llfloateravatarpicker.cpp.

References gFocusMgr, NULL, LLFocusMgr::releaseFocusIfNeeded(), and sInstance.

Here is the call graph for this function:


Member Function Documentation

LLFloaterAvatarPicker * LLFloaterAvatarPicker::show ( callback_t  callback,
void *  userdata,
BOOL  allow_multiple = FALSE,
BOOL  closeOnSelect = FALSE 
) [static]

BOOL LLFloaterAvatarPicker::postBuild ( void   )  [virtual]

void LLFloaterAvatarPicker::processAvatarPickerReply ( LLMessageSystem msg,
void **   
) [static]

void LLFloaterAvatarPicker::editKeystroke ( LLLineEditor caller,
void *  user_data 
) [static]

Definition at line 377 of file llfloateravatarpicker.cpp.

References FALSE, LLLineEditor::getText(), and TRUE.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

static void* LLFloaterAvatarPicker::createInventoryPanel ( void *  userdata  )  [static, protected]

void LLFloaterAvatarPicker::onBtnFind ( void *  userdata  )  [static, protected]

Definition at line 141 of file llfloateravatarpicker.cpp.

Referenced by handleKeyHere(), and postBuild().

Here is the caller graph for this function:

void LLFloaterAvatarPicker::onBtnAdd ( void *  userdata  )  [static, protected]

Definition at line 147 of file llfloateravatarpicker.cpp.

References FALSE, LLUUID::null, and TRUE.

Referenced by handleKeyHere(), and postBuild().

Here is the caller graph for this function:

void LLFloaterAvatarPicker::onBtnClose ( void *  userdata  )  [static, protected]

Definition at line 170 of file llfloateravatarpicker.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLFloaterAvatarPicker::onList ( LLUICtrl ctrl,
void *  userdata 
) [static, protected]

Definition at line 176 of file llfloateravatarpicker.cpp.

References LLSD::asString(), LLScrollListItem::getColumn(), LLScrollListItem::getUUID(), LLScrollListCell::getValue(), and TRUE.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterAvatarPicker::doSelectionChange ( const std::deque< LLFolderViewItem * > &  items,
BOOL  user_action,
void *  data 
) [protected]

void LLFloaterAvatarPicker::onSelectionChange ( const std::deque< LLFolderViewItem * > &  items,
BOOL  user_action,
void *  data 
) [static, protected]

Definition at line 207 of file llfloateravatarpicker.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLFloaterAvatarPicker::find (  )  [protected]

void LLFloaterAvatarPicker::setAllowMultiple ( BOOL  allow_multiple  )  [protected]

Definition at line 289 of file llfloateravatarpicker.cpp.

References mAllowMultiple, mInventoryPanel, mListNames, LLScrollListCtrl::setAllowMultipleSelection(), and LLInventoryPanel::setAllowMultiSelect().

Referenced by postBuild(), and show().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLFloaterAvatarPicker::handleKeyHere ( KEY  key,
MASK  mask 
) [protected, virtual]

Reimplemented from LLPanel.

Definition at line 391 of file llfloateravatarpicker.cpp.

References LLPanel::childHasFocus(), LLFloater::close(), LLPanel::handleKeyHere(), KEY_ESCAPE, KEY_RETURN, MASK_NONE, onBtnAdd(), onBtnFind(), and TRUE.

Here is the call graph for this function:


Member Data Documentation

Definition at line 81 of file llfloateravatarpicker.h.

Referenced by postBuild(), and setAllowMultiple().

std::vector<LLUUID> LLFloaterAvatarPicker::mAvatarIDs [protected]

Definition at line 83 of file llfloateravatarpicker.h.

Referenced by doSelectionChange().

std::vector<std::string> LLFloaterAvatarPicker::mAvatarNames [protected]

Definition at line 84 of file llfloateravatarpicker.h.

Referenced by doSelectionChange().

Definition at line 85 of file llfloateravatarpicker.h.

Referenced by setAllowMultiple().

Definition at line 86 of file llfloateravatarpicker.h.

Referenced by find().

Definition at line 87 of file llfloateravatarpicker.h.

Referenced by find().

Definition at line 88 of file llfloateravatarpicker.h.

Referenced by show().

void(* LLFloaterAvatarPicker::mCallback)(const std::vector< std::string > &name, const std::vector< LLUUID > &id, void *userdata) [protected]

Referenced by show().

Definition at line 91 of file llfloateravatarpicker.h.

Referenced by show().

Definition at line 94 of file llfloateravatarpicker.h.

Referenced by processAvatarPickerReply(), show(), and ~LLFloaterAvatarPicker().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:44:58 2008 for SecondLife by  doxygen 1.5.5