LLMakeOutfitDialog Class Reference

Inheritance diagram for LLMakeOutfitDialog:

Inheritance graph
[legend]
Collaboration diagram for LLMakeOutfitDialog:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLMakeOutfitDialog (void(*commit_cb)(LLMakeOutfitDialog *, void *), void *userdata)
BOOL getRenameClothing ()
virtual void draw ()
const LLStringgetFolderName ()
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 *)
voidmCallbackUserData
std::vector< std::pair< std::string,
S32 > > 
mCheckBoxList

Detailed Description

Definition at line 198 of file llfloatercustomize.cpp.


Constructor & Destructor Documentation

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(), gUICtrlFactory, i, LLAgent::isTeen(), LLVOAvatar::mAttachmentPoints, mCheckBoxList, object_attached(), onCancel(), onSave(), S32, LLWearable::typeToTypeLabel(), and WT_COUNT.


Member Function Documentation

virtual void LLMakeOutfitDialog::draw ( void   )  [inline, virtual]

Reimplemented from LLModalDialog.

Definition at line 254 of file llfloatercustomize.cpp.

References LLPanel::childGetValue(), LLPanel::childSetEnabled(), LLModalDialog::draw(), FALSE, first, i, mCheckBoxList, S32, and TRUE.

const LLString& LLMakeOutfitDialog::getFolderName (  )  [inline]

Definition at line 271 of file llfloatercustomize.cpp.

References mFolderName.

Referenced by LLFloaterCustomize::onMakeOutfitCommit().

void LLMakeOutfitDialog::getIncludedItems ( LLDynamicArray< S32 > &  wearables_to_include,
LLDynamicArray< S32 > &  attachments_to_include 
) [inline]

Definition at line 283 of file llfloatercustomize.cpp.

References LLSD::asBoolean(), LLPanel::childGetValue(), first, i, mCheckBoxList, LLDynamicArray< Type, BlockSize >::put(), S32, and WT_COUNT.

Referenced by LLFloaterCustomize::onMakeOutfitCommit().

BOOL LLMakeOutfitDialog::getRenameClothing (  )  [inline]

Definition at line 249 of file llfloatercustomize.cpp.

References LLSD::asBoolean(), and LLPanel::childGetValue().

Referenced by LLFloaterCustomize::onMakeOutfitCommit().

static void LLMakeOutfitDialog::onCancel ( void userdata  )  [inline, static]

Definition at line 322 of file llfloatercustomize.cpp.

Referenced by LLMakeOutfitDialog().

static void LLMakeOutfitDialog::onSave ( void userdata  )  [inline, static]

Definition at line 307 of file llfloatercustomize.cpp.

References LLStringBase< char >::trim().

Referenced by LLMakeOutfitDialog().

void LLMakeOutfitDialog::setWearableToInclude ( S32  wearable,
S32  enabled,
S32  selected 
) [inline]

Definition at line 273 of file llfloatercustomize.cpp.

References LLPanel::childSetEnabled(), LLPanel::childSetValue(), LLWearable::typeToTypeLabel(), and WT_COUNT.

Referenced by LLFloaterCustomize::onBtnMakeOutfit().


Member Data Documentation

void* LLMakeOutfitDialog::mCallbackUserData [private]

Reimplemented from LLUICtrl.

Definition at line 203 of file llfloatercustomize.cpp.

std::vector<std::pair<std::string,S32> > LLMakeOutfitDialog::mCheckBoxList [private]

Definition at line 204 of file llfloatercustomize.cpp.

Referenced by draw(), getIncludedItems(), and LLMakeOutfitDialog().

void(* LLMakeOutfitDialog::mCommitCallback)(LLMakeOutfitDialog *, void *) [private]

Reimplemented from LLUICtrl.

LLString LLMakeOutfitDialog::mFolderName [private]

Definition at line 201 of file llfloatercustomize.cpp.

Referenced by getFolderName().


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