#include <llfloatergroups.h>
Inheritance diagram for LLFloaterGroupPicker:
Public Member Functions | |
~LLFloaterGroupPicker () | |
void | setSelectCallback (void(*callback)(LLUUID, void *), void *userdata) |
void | setPowersMask (U64 powers_mask) |
BOOL | postBuild () |
Protected Types | |
typedef std::map< const LLUUID, LLFloaterGroupPicker * > | instance_map_t |
Protected Member Functions | |
LLFloaterGroupPicker (const LLSD &seed) | |
void | ok () |
Static Protected Member Functions | |
static LLFloaterGroupPicker * | findInstance (const LLSD &seed) |
static LLFloaterGroupPicker * | createInstance (const LLSD &seed) |
static void | onBtnOK (void *userdata) |
static void | onBtnCancel (void *userdata) |
Protected Attributes | |
LLUUID | mID |
U64 | mPowersMask |
void(* | mSelectCallback )(LLUUID id, void *userdata) |
void * | mCallbackUserdata |
Static Protected Attributes | |
static instance_map_t | sInstances |
Friends | |
class | LLUIInstanceMgr< LLFloaterGroupPicker > |
Definition at line 56 of file llfloatergroups.h.
typedef std::map<const LLUUID, LLFloaterGroupPicker*> LLFloaterGroupPicker::instance_map_t [protected] |
Definition at line 80 of file llfloatergroups.h.
LLFloaterGroupPicker::~LLFloaterGroupPicker | ( | ) |
LLFloaterGroupPicker::LLFloaterGroupPicker | ( | const LLSD & | seed | ) | [protected] |
Definition at line 88 of file llfloatergroups.cpp.
References LLSD::asUUID(), mID, and sInstances.
Referenced by createInstance().
LLFloaterGroupPicker * LLFloaterGroupPicker::createInstance | ( | const LLSD & | seed | ) | [static, protected] |
Definition at line 81 of file llfloatergroups.cpp.
References LLUICtrlFactory::buildFloater(), gUICtrlFactory, and LLFloaterGroupPicker().
LLFloaterGroupPicker * LLFloaterGroupPicker::findInstance | ( | const LLSD & | seed | ) | [static, protected] |
---------------------------------------------------------------------------- Class LLFloaterGroupPicker ----------------------------------------------------------------------------
Definition at line 70 of file llfloatergroups.cpp.
References LLSD::asUUID(), NULL, and sInstances.
void LLFloaterGroupPicker::ok | ( | ) | [protected] |
Definition at line 147 of file llfloatergroups.cpp.
References LLPanel::childGetListInterface(), LLFloater::close(), LLCtrlSelectionInterface::getCurrentID(), mCallbackUserdata, and mSelectCallback.
BOOL LLFloaterGroupPicker::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 116 of file llfloatergroups.cpp.
References LLPanel::childEnable(), LLPanel::childSetAction(), LLPanel::childSetDoubleClickCallback(), LLPanel::childSetUserData(), gAgent, LLAgent::getGroupID(), LLUICtrlFactory::getScrollListByName(), init_group_list(), mPowersMask, onBtnCancel(), onBtnOK(), LLPanel::setDefaultBtn(), and TRUE.
Referenced by setPowersMask().
Definition at line 102 of file llfloatergroups.cpp.
References mCallbackUserdata, and mSelectCallback.
Referenced by LLPanelEstateInfo::addAllowedGroup(), LLPanelPermissions::onClickGroup(), and LLPanelLandGeneral::onClickSetGroup().
friend class LLUIInstanceMgr< LLFloaterGroupPicker > [friend] |
Definition at line 58 of file llfloatergroups.h.
void* LLFloaterGroupPicker::mCallbackUserdata [protected] |
LLUUID LLFloaterGroupPicker::mID [protected] |
Definition at line 75 of file llfloatergroups.h.
Referenced by LLFloaterGroupPicker(), and ~LLFloaterGroupPicker().
U64 LLFloaterGroupPicker::mPowersMask [protected] |
void(* LLFloaterGroupPicker::mSelectCallback)(LLUUID id, void *userdata) [protected] |
Referenced by ok(), and setSelectCallback().
std::map< const LLUUID, LLFloaterGroupPicker * > LLFloaterGroupPicker::sInstances [static, protected] |
Definition at line 81 of file llfloatergroups.h.
Referenced by findInstance(), LLFloaterGroupPicker(), and ~LLFloaterGroupPicker().