Public Member Functions | |
LLMakeOutfitDialog (void(*commit_cb)(LLMakeOutfitDialog *, void *), void *userdata) | |
BOOL | getRenameClothing () |
virtual void | draw () |
const LLString & | getFolderName () |
void | setWearableToInclude (S32 wearable, S32 enabled, S32 selected) |
void | getIncludedItems (LLDynamicArray< S32 > &wearables_to_include, LLDynamicArray< S32 > &attachments_to_include) |
Static Public Member Functions | |
static void | onSave (void *userdata) |
static void | onCancel (void *userdata) |
Private Attributes | |
LLString | mFolderName |
void(* | mCommitCallback )(LLMakeOutfitDialog *, void *) |
void * | mCallbackUserData |
std::vector< std::pair < std::string, S32 > > | mCheckBoxList |
Definition at line 198 of file llfloatercustomize.cpp.
LLMakeOutfitDialog::LLMakeOutfitDialog | ( | void(*)(LLMakeOutfitDialog *, void *) | commit_cb, | |
void * | userdata | |||
) | [inline] |
Definition at line 207 of file llfloatercustomize.cpp.
References LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLPanel::childSetEnabled(), LLPanel::childSetVisible(), edit_wearable_for_teens(), FALSE, gAgent, LLAgent::getAvatarObject(), LLSingleton< LLUICtrlFactory >::getInstance(), LLJoint::getName(), LLViewerJointAttachment::getNumObjects(), i, LLAgent::isTeen(), LLVOAvatar::mAttachmentPoints, mCheckBoxList, object_attached(), onCancel(), onSave(), S32, LLWearable::typeToTypeLabel(), and WT_COUNT.
BOOL LLMakeOutfitDialog::getRenameClothing | ( | ) | [inline] |
Definition at line 250 of file llfloatercustomize.cpp.
References LLSD::asBoolean(), and LLPanel::childGetValue().
Referenced by LLFloaterCustomize::onMakeOutfitCommit().
virtual void LLMakeOutfitDialog::draw | ( | void | ) | [inline, virtual] |
Reimplemented from LLModalDialog.
Definition at line 255 of file llfloatercustomize.cpp.
References LLSD::asBoolean(), LLPanel::childGetValue(), LLPanel::childSetEnabled(), LLModalDialog::draw(), FALSE, i, mCheckBoxList, S32, and TRUE.
const LLString& LLMakeOutfitDialog::getFolderName | ( | ) | [inline] |
Definition at line 272 of file llfloatercustomize.cpp.
References mFolderName.
Referenced by LLFloaterCustomize::onMakeOutfitCommit().
Definition at line 274 of file llfloatercustomize.cpp.
References LLPanel::childSetEnabled(), LLPanel::childSetValue(), LLWearable::typeToTypeLabel(), and WT_COUNT.
Referenced by LLFloaterCustomize::onBtnMakeOutfit().
void LLMakeOutfitDialog::getIncludedItems | ( | LLDynamicArray< S32 > & | wearables_to_include, | |
LLDynamicArray< S32 > & | attachments_to_include | |||
) | [inline] |
Definition at line 284 of file llfloatercustomize.cpp.
References LLSD::asBoolean(), LLPanel::childGetValue(), i, mCheckBoxList, LLDynamicArray< Type, BlockSize >::put(), S32, and WT_COUNT.
Referenced by LLFloaterCustomize::onMakeOutfitCommit().
static void LLMakeOutfitDialog::onSave | ( | void * | userdata | ) | [inline, static] |
Definition at line 308 of file llfloatercustomize.cpp.
References LLStringBase< char >::trim().
Referenced by LLMakeOutfitDialog().
static void LLMakeOutfitDialog::onCancel | ( | void * | userdata | ) | [inline, static] |
Definition at line 323 of file llfloatercustomize.cpp.
Referenced by LLMakeOutfitDialog().
LLString LLMakeOutfitDialog::mFolderName [private] |
void(* LLMakeOutfitDialog::mCommitCallback)(LLMakeOutfitDialog *, void *) [private] |
Reimplemented from LLUICtrl.
void* LLMakeOutfitDialog::mCallbackUserData [private] |
std::vector<std::pair<std::string,S32> > LLMakeOutfitDialog::mCheckBoxList [private] |
Definition at line 204 of file llfloatercustomize.cpp.
Referenced by draw(), getIncludedItems(), and LLMakeOutfitDialog().